From ba6f269bf550a35811be8e74a9eb253ee0d79105 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sat, 22 Jan 2005 00:19:27 +0000 Subject: * 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 --- pkgs/applications/video/mythtv/builder.sh | 11 +++++++++-- pkgs/applications/video/mythtv/default.nix | 2 ++ 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'pkgs/applications/video/mythtv') diff --git a/pkgs/applications/video/mythtv/builder.sh b/pkgs/applications/video/mythtv/builder.sh index 1208fd63598c5..e30fa126f3c7a 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 db08db78268a2..d494df00b384f 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"; -- cgit 1.4.1