2005-12-05 15:11:09 +01:00
|
|
|
source $stdenv/setup
|
2005-01-20 22:11:49 +01:00
|
|
|
|
2005-01-20 23:07:08 +01:00
|
|
|
|
2006-09-14 03:07:53 +02:00
|
|
|
# Hack - MythTV's configure searches LD_LIBRARY_PATH for its
|
|
|
|
# dependencies.
|
|
|
|
for i in $buildInputs; do
|
|
|
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH${LD_LIBRARY_PATH:+:}$i/lib
|
|
|
|
done
|
|
|
|
echo $LD_LIBRARY_PATH
|
|
|
|
|
|
|
|
|
2005-01-20 22:11:49 +01:00
|
|
|
buildPhase=myBuilder
|
|
|
|
myBuilder() {
|
|
|
|
qmake mythtv.pro || fail
|
|
|
|
make || fail
|
|
|
|
}
|
|
|
|
|
2006-09-14 03:07:53 +02:00
|
|
|
|
2005-01-22 01:19:27 +01:00
|
|
|
postInstall=postInstall
|
|
|
|
postInstall() {
|
|
|
|
sqlDir="$out/share/mythtv/sql"
|
|
|
|
ensureDir $sqlDir
|
|
|
|
cp -p ./database/mc.sql $sqlDir/
|
|
|
|
}
|
2005-01-20 23:07:08 +01:00
|
|
|
|
2006-09-14 03:07:53 +02:00
|
|
|
|
2005-01-22 01:19:27 +01:00
|
|
|
genericBuild
|