2006-09-29 10:06:56 +01:00
|
|
|
{ stdenv, fetchurl, qt, zlib, libX11, libXext, libSM, libICE, libstdcpp5
|
|
|
|
, motif ? null, libXt ? null}:
|
2006-02-10 12:15:04 +00:00
|
|
|
|
|
|
|
assert stdenv.system == "i686-linux";
|
2006-09-29 10:06:56 +01:00
|
|
|
assert motif != null -> libXt != null;
|
2006-02-10 12:15:04 +00:00
|
|
|
|
2006-02-28 12:03:35 +00:00
|
|
|
# !!! Add Xinerama and Xrandr dependencies? Or should those be in Qt?
|
|
|
|
|
2006-09-29 10:06:56 +01:00
|
|
|
# Hm, does Opera 9.x still use Motif for anything?
|
|
|
|
|
2006-02-10 12:15:04 +00:00
|
|
|
stdenv.mkDerivation {
|
2006-09-29 10:06:56 +01:00
|
|
|
name = "opera-9.02-20060919.5";
|
2006-02-10 12:15:04 +00:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2007-08-24 13:32:36 +01:00
|
|
|
url = ftp://ftp.tiscali.nl/pub/mirrors/opera/linux/902/final/en/i386/shared/opera-9.02-20060919.5-shared-qt.i386-en.tar.bz2;
|
2006-09-29 10:06:56 +01:00
|
|
|
md5 = "327d0bf1f3c4eedd47b444b36c9091f6";
|
2006-02-10 12:15:04 +00:00
|
|
|
};
|
|
|
|
|
2006-09-29 10:06:56 +01:00
|
|
|
libPath =
|
|
|
|
[qt motif zlib libX11 libXext libSM libICE libstdcpp5]
|
|
|
|
++ (if motif != null then [motif libXt ] else []);
|
2006-02-10 12:15:04 +00:00
|
|
|
}
|