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