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