From 7acd7773b44209f2e231abaa93dd3b667603ed40 Mon Sep 17 00:00:00 2001 From: Martin Bravenboer Date: Sat, 22 Oct 2005 23:36:07 +0000 Subject: * Upgraded MythTV to 0.18.1 svn path=/nixpkgs/trunk/; revision=4118 --- pkgs/applications/video/mythtv/builder.sh | 3 --- pkgs/applications/video/mythtv/default.nix | 7 ++++--- pkgs/applications/video/mythtv/settings.patch | 23 ++++++++++------------- 3 files changed, 14 insertions(+), 19 deletions(-) (limited to 'pkgs/applications/video/mythtv') diff --git a/pkgs/applications/video/mythtv/builder.sh b/pkgs/applications/video/mythtv/builder.sh index d3888175bd91..fc92cab91ab1 100644 --- a/pkgs/applications/video/mythtv/builder.sh +++ b/pkgs/applications/video/mythtv/builder.sh @@ -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 diff --git a/pkgs/applications/video/mythtv/default.nix b/pkgs/applications/video/mythtv/default.nix index 21efadbb3880..e6780722566c 100644 --- a/pkgs/applications/video/mythtv/default.nix +++ b/pkgs/applications/video/mythtv/default.nix @@ -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; diff --git a/pkgs/applications/video/mythtv/settings.patch b/pkgs/applications/video/mythtv/settings.patch index f56d7c35d117..bd3824eba904 100644 --- a/pkgs/applications/video/mythtv/settings.patch +++ b/pkgs/applications/video/mythtv/settings.patch @@ -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 + } -- cgit 1.4.1