3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #149762 from thiagokokada/auto-update/opera

opera: 76.0.4017.94 -> 82.0.4227.23
This commit is contained in:
Thiago Kenji Okada 2021-12-15 11:45:36 -03:00 committed by GitHub
commit 55318e89fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,7 @@
, glib , glib
, gnome2 , gnome2
, gtk3 , gtk3
, gtk4
, lib , lib
, libX11 , libX11
, libxcb , libxcb
@ -50,11 +51,11 @@ let
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "opera"; pname = "opera";
version = "76.0.4017.94"; version = "82.0.4227.23";
src = fetchurl { src = fetchurl {
url = "${mirror}/${version}/linux/${pname}-stable_${version}_amd64.deb"; url = "${mirror}/${version}/linux/${pname}-stable_${version}_amd64.deb";
sha256 = "sha256-vjSfzkl1jIQ9P1ARDa0eOuD8CmKHIEZ+IwMB2wIVjE8="; sha256 = "sha256-jA8fglRLH0aqhjsD65bsieplCLCJXgdBViPGrAu9sSQ=";
}; };
unpackCmd = "${dpkg}/bin/dpkg-deb -x $curSrc ."; unpackCmd = "${dpkg}/bin/dpkg-deb -x $curSrc .";
@ -111,12 +112,16 @@ in stdenv.mkDerivation rec {
# brings up the crash report, which also crashes. `strace -f` hints at a # brings up the crash report, which also crashes. `strace -f` hints at a
# missing libudev.so.0. # missing libudev.so.0.
(lib.getLib systemd) (lib.getLib systemd)
# Error at startup:
# "Illegal instruction (core dumped)"
gtk3
gtk4
]; ];
installPhase = '' installPhase = ''
mkdir -p $out mkdir -p $out
cp -r . $out/ cp -r . $out/
mv $out/lib/*/opera/*.so $out/lib/
''; '';
meta = with lib; { meta = with lib; {