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?
|
|
|
|
|
2007-10-30 02:51:15 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "9.24-20071015.5";
|
|
|
|
name = "opera-${version}";
|
2006-02-10 13:15:04 +01:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2007-10-30 02:51:15 +01:00
|
|
|
url = ftp://ftp.task.gda.pl/pub/opera/linux/924/final/en/i386/shared/opera-9.24-20071015.5-shared-qt.i386-en.tar.bz2;
|
|
|
|
sha256 = "1frhnrp63k4lz29a8z9c99h383xrsrby432xp20hxrylh0zypzb5";
|
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
|
|
|
}
|