mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 13:23:17 +00:00
opera: 100.0.4815.47 -> 105.0.4970.21
This commit is contained in:
parent
db77de4933
commit
04df4aa191
@ -41,7 +41,7 @@
|
||||
, at-spi2-core
|
||||
, autoPatchelfHook
|
||||
, wrapGAppsHook
|
||||
, qt5
|
||||
, qt6
|
||||
, proprietaryCodecs ? false
|
||||
, vivaldi-ffmpeg-codecs
|
||||
}:
|
||||
@ -51,11 +51,11 @@ let
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "opera";
|
||||
version = "100.0.4815.47";
|
||||
version = "105.0.4970.21";
|
||||
|
||||
src = fetchurl {
|
||||
url = "${mirror}/${version}/linux/${pname}-stable_${version}_amd64.deb";
|
||||
hash = "sha256-746imLXqxzf9zK2QEVRuWkLA6m+HHXBYZFUwTD0HEVc=";
|
||||
hash = "sha256-fgbR7qAWKaZgxMeMo1/le8g1/zSoTl+5iIJeKl1Rc3Y=";
|
||||
};
|
||||
|
||||
unpackPhase = "dpkg-deb -x $src .";
|
||||
@ -64,7 +64,7 @@ stdenv.mkDerivation rec {
|
||||
dpkg
|
||||
autoPatchelfHook
|
||||
wrapGAppsHook
|
||||
qt5.wrapQtAppsHook
|
||||
qt6.wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
@ -103,6 +103,7 @@ stdenv.mkDerivation rec {
|
||||
nss
|
||||
pango
|
||||
stdenv.cc.cc.lib
|
||||
qt6.qtbase
|
||||
];
|
||||
|
||||
runtimeDependencies = [
|
||||
@ -128,6 +129,9 @@ stdenv.mkDerivation rec {
|
||||
mkdir -p $out/bin
|
||||
cp -r usr $out
|
||||
cp -r usr/share $out/share
|
||||
|
||||
# we already using QT6, autopatchelf wants to patch this as well
|
||||
rm $out/usr/lib/x86_64-linux-gnu/opera/libqt5_shim.so
|
||||
ln -s $out/usr/bin/opera $out/bin/opera
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user