forked from mirrors/nixpkgs
1442e8ec22
svn path=/nixpkgs/trunk/; revision=6711
24 lines
682 B
Nix
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 []);
|
|
}
|