summary refs log tree commit diff
path: root/pkgs/applications/networking/browsers/opera/default.nix
blob: 39339dfd8f3cc5c6b9785fbb2c0c507fe689baad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ 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 = ftp://ftp.tiscali.nl/pub/mirrors/opera/linux/902/final/en/i386/shared/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 []);
}