9affba6463
Qt-related reason it currently needs libXmu in $LD_LIBRARY_PATH. svn path=/nixpkgs/trunk/; revision=12191
26 lines
419 B
Bash
26 lines
419 B
Bash
source $stdenv/setup
|
|
|
|
|
|
# Hack - MythTV's configure searches LD_LIBRARY_PATH for its
|
|
# dependencies.
|
|
for i in $pkgs; do
|
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH${LD_LIBRARY_PATH:+:}$i/lib
|
|
done
|
|
echo $LD_LIBRARY_PATH
|
|
|
|
|
|
buildPhase() {
|
|
qmake mythtv.pro
|
|
make
|
|
}
|
|
|
|
|
|
postInstall=postInstall
|
|
postInstall() {
|
|
sqlDir="$out/share/mythtv/sql"
|
|
ensureDir $sqlDir
|
|
cp -p ./database/mc.sql $sqlDir/
|
|
}
|
|
|
|
|
|
genericBuild
|