summary refs log tree commit diff
path: root/pkgs/applications/video/mythtv
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2005-01-22 00:19:27 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2005-01-22 00:19:27 +0000
commitba6f269bf550a35811be8e74a9eb253ee0d79105 (patch)
treec80ec51e997db147ed706acd3738af144f08717e /pkgs/applications/video/mythtv
parentf1ae49c01b7ee68a987b42a6198c05595a2aeda1 (diff)
downloadnixlib-ba6f269bf550a35811be8e74a9eb253ee0d79105.tar
nixlib-ba6f269bf550a35811be8e74a9eb253ee0d79105.tar.gz
nixlib-ba6f269bf550a35811be8e74a9eb253ee0d79105.tar.bz2
nixlib-ba6f269bf550a35811be8e74a9eb253ee0d79105.tar.lz
nixlib-ba6f269bf550a35811be8e74a9eb253ee0d79105.tar.xz
nixlib-ba6f269bf550a35811be8e74a9eb253ee0d79105.tar.zst
nixlib-ba6f269bf550a35811be8e74a9eb253ee0d79105.zip
* Qt: add optional support for MySQL.
* MythTV: the setup program works :-).
* Added XmlTV.  This requires a huge number of Perl modules, so...
* Added a generic builder for Perl modules.  I'm lazy so the modules
  are defined directly in all-packages-generic.nix.  The generic
  builder also patches Perl scripts to include a hard-coded Perl
  module search path (i.e., similar to an RPATH in ELF executables).

svn path=/nixpkgs/trunk/; revision=2083
Diffstat (limited to 'pkgs/applications/video/mythtv')
-rw-r--r--pkgs/applications/video/mythtv/builder.sh11
-rw-r--r--pkgs/applications/video/mythtv/default.nix2
2 files changed, 11 insertions, 2 deletions
diff --git a/pkgs/applications/video/mythtv/builder.sh b/pkgs/applications/video/mythtv/builder.sh
index 1208fd63598c..e30fa126f3c7 100644
--- a/pkgs/applications/video/mythtv/builder.sh
+++ b/pkgs/applications/video/mythtv/builder.sh
@@ -10,6 +10,13 @@ myBuilder() {
 }
 
 
-genericBuild
+postInstall=postInstall
+postInstall() {
+    sqlDir="$out/share/mythtv/sql"
+    ensureDir $sqlDir
+    cp -p ./database/mc.sql $sqlDir/
+    cp -p ./setup/setup $out/bin/mythsetup
+}
 
-exit 1
\ No newline at end of file
+
+genericBuild
diff --git a/pkgs/applications/video/mythtv/default.nix b/pkgs/applications/video/mythtv/default.nix
index db08db78268a..d494df00b384 100644
--- a/pkgs/applications/video/mythtv/default.nix
+++ b/pkgs/applications/video/mythtv/default.nix
@@ -1,5 +1,7 @@
 {stdenv, fetchurl, which, qt3, x11, libXinerama, libXv, libXxf86vm, lame}:
 
+assert qt3.mysqlSupport;
+
 stdenv.mkDerivation {
   name = "mythtv-0.16";