* Upgraded MythTV to 0.18.1

svn path=/nixpkgs/trunk/; revision=4118
This commit is contained in:
Martin Bravenboer 2005-10-22 23:36:07 +00:00
parent 0d7780bd71
commit 7acd7773b4
4 changed files with 15 additions and 20 deletions

View File

@ -7,14 +7,11 @@ myBuilder() {
make || fail
}
postInstall=postInstall
postInstall() {
sqlDir="$out/share/mythtv/sql"
ensureDir $sqlDir
cp -p ./database/mc.sql $sqlDir/
cp -p ./setup/setup $out/bin/mythsetup
}
genericBuild

View File

@ -3,15 +3,16 @@
assert qt3.mysqlSupport;
stdenv.mkDerivation {
name = "mythtv-0.17";
name = "mythtv-0.18.1";
builder = ./builder.sh;
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/mythtv-0.17.tar.bz2;
md5 = "c996dc690d36e946396fc5cd4b715e3b";
url = http://www.mythtv.org/mc/mythtv-0.18.1.tar.bz2;
md5 = "e6cabf88feeaf6ae8f830d3fdf7b113d";
};
patches = [./settings.patch];
configureFlags = "--disable-joystick-menu";
buildInputs = [which qt3 x11 libXinerama libXv libXxf86vm lame];
inherit qt3;

View File

@ -1,13 +1,10 @@
diff -rc mythtv-0.17-orig/settings.pro mythtv-0.17/settings.pro
*** mythtv-0.17-orig/settings.pro 2005-02-11 05:02:39.000000000 +0100
--- mythtv-0.17/settings.pro 2005-02-16 13:38:46.351279092 +0100
***************
*** 1,6 ****
--- 1,7 ----
#CONFIG += debug
CONFIG += release
+ PREFIX = $$(out)
isEmpty( PREFIX ) {
PREFIX = /usr/local
}
diff -urN mythtv-0.18.1-orig/settings.pro mythtv-0.18.1/settings.pro
--- mythtv-0.18.1-orig/settings.pro 2005-10-22 15:32:48.000000000 +0200
+++ mythtv-0.18.1/settings.pro 2005-10-22 15:35:01.000000000 +0200
@@ -1,5 +1,6 @@
CONFIG += $$CCONFIG
+PREFIX = $$(out)
isEmpty( PREFIX ) {
PREFIX = /usr/local
}

View File

@ -107,7 +107,7 @@ let {
xauth
qt3
xmltv
# mythtv
mythtv
tetex
ghostscript