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() {
|
2008-04-23 09:34:20 +02:00
|
|
|
qmake mythtv.pro
|
|
|
|
make
|
2005-01-20 22:11:49 +01:00
|
|
|
}
|
|
|
|
|
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
|