opera: 45.0.2552.898 -> 46.0.2597.39

- updated to 46.0.2597.39
- gtk2 dependency changed to gtk3
- 32-bit package is no longer supported

authored by 239 and committed by GitHub 64c3247f 37d9a9b9

+12 -11
+12 -11
pkgs/applications/networking/browsers/opera/default.nix
··· 12 , gdk_pixbuf 13 , glib 14 , gnome2 15 - , gtk2 16 , libX11 17 , libxcb 18 , libXScrnSaver ··· 37 let 38 39 mirror = https://get.geo.opera.com/pub/opera/desktop; 40 - version = "45.0.2552.898"; 41 42 rpath = stdenv.lib.makeLibraryPath [ 43 ··· 55 gdk_pixbuf.out 56 glib.out 57 gnome2.GConf.out 58 - gtk2.out 59 libX11.out 60 libXScrnSaver.out 61 libXcomposite.out ··· 88 name = "opera-${version}"; 89 90 src = 91 - if stdenv.system == "i686-linux" then 92 - fetchurl { 93 - url = "${mirror}/${version}/linux/opera-stable_${version}_i386.deb"; 94 - sha256 = "1a7y13mgc8g7swdg0x2l9h6cmqw74h2wxizi3vmlgz2fj5zlkn0g"; 95 - } 96 - else if stdenv.system == "x86_64-linux" then 97 fetchurl { 98 url = "${mirror}/${version}/linux/opera-stable_${version}_amd64.deb"; 99 - sha256 = "0rmagj0s1j3a6rpyrs29xnbngsq700rgaqkph108fbnj80hif1ia"; 100 } 101 - else throw "Opera is not supported on ${stdenv.system} (only i686-linux and x86_64 linux are supported)"; 102 103 unpackCmd = "${dpkg}/bin/dpkg-deb -x $curSrc ."; 104
··· 12 , gdk_pixbuf 13 , glib 14 , gnome2 15 + , gtk3 16 , libX11 17 , libxcb 18 , libXScrnSaver ··· 37 let 38 39 mirror = https://get.geo.opera.com/pub/opera/desktop; 40 + version = "46.0.2597.39"; 41 42 rpath = stdenv.lib.makeLibraryPath [ 43 ··· 55 gdk_pixbuf.out 56 glib.out 57 gnome2.GConf.out 58 + gtk3.out 59 libX11.out 60 libXScrnSaver.out 61 libXcomposite.out ··· 88 name = "opera-${version}"; 89 90 src = 91 + #if stdenv.system == "i686-linux" then 92 + # fetchurl { 93 + # url = "${mirror}/${version}/linux/opera-stable_${version}_i386.deb"; 94 + # sha256 = "..."; 95 + # } 96 + #else 97 + if stdenv.system == "x86_64-linux" then 98 fetchurl { 99 url = "${mirror}/${version}/linux/opera-stable_${version}_amd64.deb"; 100 + sha256 = "1ladvqilm5rr222wjybvribnyii2l0p8jbsd10xr06wps63g1kia"; 101 } 102 + else throw "Opera is not supported on ${stdenv.system} (only x86_64 linux is supported)"; 103 104 unpackCmd = "${dpkg}/bin/dpkg-deb -x $curSrc ."; 105