3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/browsers/opera/default.nix
Eelco Dolstra 1442e8ec22 * Copy a bunch of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=6711
2006-10-12 13:50:54 +00:00

24 lines
682 B
Nix

{ stdenv, fetchurl, qt, zlib, libX11, libXext, libSM, libICE, libstdcpp5
, motif ? null, libXt ? null}:
assert stdenv.system == "i686-linux";
assert motif != null -> libXt != null;
# !!! Add Xinerama and Xrandr dependencies? Or should those be in Qt?
# Hm, does Opera 9.x still use Motif for anything?
stdenv.mkDerivation {
name = "opera-9.02-20060919.5";
builder = ./builder.sh;
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/opera-9.02-20060919.5-shared-qt.i386-en.tar.bz2;
md5 = "327d0bf1f3c4eedd47b444b36c9091f6";
};
libPath =
[qt motif zlib libX11 libXext libSM libICE libstdcpp5]
++ (if motif != null then [motif libXt ] else []);
}