forked from mirrors/nixpkgs
* MythTV 0.20 (doesn't work yet).
svn path=/nixpkgs/trunk/; revision=6519
This commit is contained in:
parent
7c765159ba
commit
ea24b2f641
|
@ -1,12 +1,21 @@
|
|||
source $stdenv/setup
|
||||
|
||||
|
||||
# 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
|
||||
|
||||
|
||||
buildPhase=myBuilder
|
||||
myBuilder() {
|
||||
qmake mythtv.pro || fail
|
||||
make || fail
|
||||
}
|
||||
|
||||
|
||||
postInstall=postInstall
|
||||
postInstall() {
|
||||
sqlDir="$out/share/mythtv/sql"
|
||||
|
@ -14,4 +23,5 @@ postInstall() {
|
|||
cp -p ./database/mc.sql $sqlDir/
|
||||
}
|
||||
|
||||
|
||||
genericBuild
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
{stdenv, fetchurl, which, qt3, x11, libXinerama, libXv, libXxf86vm, lame}:
|
||||
{stdenv, fetchurl, which, qt3, x11, libXinerama, libXv, libXxf86vm, libXrandr, lame, zlib}:
|
||||
|
||||
assert qt3.mysqlSupport;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "mythtv-0.18.1";
|
||||
name = "mythtv-0.20";
|
||||
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://nix.cs.uu.nl/dist/tarballs/mythtv-0.18.1.tar.bz2;
|
||||
md5 = "e6cabf88feeaf6ae8f830d3fdf7b113d";
|
||||
url = http://ftp.osuosl.org/pub/mythtv/mythtv-0.20.tar.bz2;
|
||||
md5 = "52bec1e0fadf7d24d6dcac3f773ddf74";
|
||||
};
|
||||
|
||||
patches = [./settings.patch];
|
||||
configureFlags = "--disable-joystick-menu";
|
||||
|
||||
buildInputs = [which qt3 x11 libXinerama libXv libXxf86vm lame];
|
||||
buildInputs = [which qt3 x11 libXinerama libXv libXxf86vm libXrandr lame zlib];
|
||||
inherit qt3;
|
||||
}
|
||||
|
|
|
@ -2428,8 +2428,8 @@ rec {
|
|||
};
|
||||
|
||||
mythtv = (import ../applications/video/mythtv) {
|
||||
inherit fetchurl stdenv which qt3 x11 lame;
|
||||
inherit (xlibs) libXinerama libXv libXxf86vm;
|
||||
inherit fetchurl stdenv which qt3 x11 lame zlib;
|
||||
inherit (xlibs) libXinerama libXv libXxf86vm libXrandr;
|
||||
};
|
||||
|
||||
gqview = (import ../applications/graphics/gqview) {
|
||||
|
|
Loading…
Reference in a new issue