diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2005-01-22 00:19:27 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2005-01-22 00:19:27 +0000 |
commit | ba6f269bf550a35811be8e74a9eb253ee0d79105 (patch) | |
tree | c80ec51e997db147ed706acd3738af144f08717e /pkgs/applications/video/mythtv | |
parent | f1ae49c01b7ee68a987b42a6198c05595a2aeda1 (diff) |
* 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.sh | 11 | ||||
-rw-r--r-- | pkgs/applications/video/mythtv/default.nix | 2 |
2 files changed, 11 insertions, 2 deletions
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"; |