* 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
|
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
|
buildPhase=myBuilder
|
||||||
myBuilder() {
|
myBuilder() {
|
||||||
qmake mythtv.pro || fail
|
qmake mythtv.pro || fail
|
||||||
make || fail
|
make || fail
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
postInstall=postInstall
|
postInstall=postInstall
|
||||||
postInstall() {
|
postInstall() {
|
||||||
sqlDir="$out/share/mythtv/sql"
|
sqlDir="$out/share/mythtv/sql"
|
||||||
@ -14,4 +23,5 @@ postInstall() {
|
|||||||
cp -p ./database/mc.sql $sqlDir/
|
cp -p ./database/mc.sql $sqlDir/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
genericBuild
|
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;
|
assert qt3.mysqlSupport;
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "mythtv-0.18.1";
|
name = "mythtv-0.20";
|
||||||
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://nix.cs.uu.nl/dist/tarballs/mythtv-0.18.1.tar.bz2;
|
url = http://ftp.osuosl.org/pub/mythtv/mythtv-0.20.tar.bz2;
|
||||||
md5 = "e6cabf88feeaf6ae8f830d3fdf7b113d";
|
md5 = "52bec1e0fadf7d24d6dcac3f773ddf74";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [./settings.patch];
|
patches = [./settings.patch];
|
||||||
configureFlags = "--disable-joystick-menu";
|
configureFlags = "--disable-joystick-menu";
|
||||||
|
|
||||||
buildInputs = [which qt3 x11 libXinerama libXv libXxf86vm lame];
|
buildInputs = [which qt3 x11 libXinerama libXv libXxf86vm libXrandr lame zlib];
|
||||||
inherit qt3;
|
inherit qt3;
|
||||||
}
|
}
|
||||||
|
@ -2428,8 +2428,8 @@ rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
mythtv = (import ../applications/video/mythtv) {
|
mythtv = (import ../applications/video/mythtv) {
|
||||||
inherit fetchurl stdenv which qt3 x11 lame;
|
inherit fetchurl stdenv which qt3 x11 lame zlib;
|
||||||
inherit (xlibs) libXinerama libXv libXxf86vm;
|
inherit (xlibs) libXinerama libXv libXxf86vm libXrandr;
|
||||||
};
|
};
|
||||||
|
|
||||||
gqview = (import ../applications/graphics/gqview) {
|
gqview = (import ../applications/graphics/gqview) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user