mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 21:23:06 +00:00
ba6f269bf5
* 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
28 lines
757 B
Nix
28 lines
757 B
Nix
{ xftSupport ? true
|
|
, xrenderSupport ? true
|
|
, threadSupport ? true
|
|
, mysqlSupport ? true
|
|
, stdenv, fetchurl, x11, libXft ? null, libXrender ? null, mysql ? null
|
|
, zlib, libjpeg, libpng, which
|
|
}:
|
|
|
|
assert xftSupport -> libXft != null;
|
|
assert xrenderSupport -> xftSupport && libXft != null;
|
|
assert mysqlSupport -> mysql != null;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "qt-3.3.3";
|
|
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = http://sunsite.rediris.es/mirror/Qt/source/qt-x11-free-3.3.3.tar.bz2;
|
|
md5 = "3e0a0c8429b0a974b39b5f535ddff01c";
|
|
};
|
|
|
|
buildInputs = [x11 libXft libXrender zlib libjpeg libpng which];
|
|
|
|
inherit threadSupport xftSupport libXft xrenderSupport libXrender;
|
|
inherit mysqlSupport mysql;
|
|
inherit (libXft) freetype fontconfig;
|
|
}
|