summaryrefslogtreecommitdiff
path: root/www-client/opera-developer
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-12-18 11:06:49 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-12-18 11:06:49 +0000
commitab3da91fb6c91a9df52fff8f991570f456fd3c7a (patch)
treee8f3bfa2c6c3d20ec3b9c352c839e23949068b6b /www-client/opera-developer
parent6abbf81ef2f298e3221ff5e67a1f3c5f23958212 (diff)
gentoo resync : 18.12.2020
Diffstat (limited to 'www-client/opera-developer')
-rw-r--r--www-client/opera-developer/Manifest13
-rw-r--r--www-client/opera-developer/metadata.xml9
-rw-r--r--www-client/opera-developer/opera-developer-73.0.3820.0.ebuild105
-rw-r--r--www-client/opera-developer/opera-developer-73.0.3827.0.ebuild105
-rw-r--r--www-client/opera-developer/opera-developer-73.0.3834.0.ebuild105
-rw-r--r--www-client/opera-developer/opera-developer-73.0.3841.0.ebuild105
-rw-r--r--www-client/opera-developer/opera-developer-74.0.3904.0-r1.ebuild138
7 files changed, 150 insertions, 430 deletions
diff --git a/www-client/opera-developer/Manifest b/www-client/opera-developer/Manifest
index a1e6076dba5e..c5d9924de390 100644
--- a/www-client/opera-developer/Manifest
+++ b/www-client/opera-developer/Manifest
@@ -1,9 +1,4 @@
-DIST opera-developer_73.0.3820.0_amd64.deb 72042252 BLAKE2B bc2dd709212c6a26208fac5d1eab246b33ac669a5f593c630ec4c379fc7330bc51485e59b3f981ac314dbf5a1cc4e033b732ea3318103118d76b021b8e6dc62a SHA512 d51eed335794dd5aa64e0300f873a8f202c1733512e192697104089a6bc57ef51ee321843044553f26444e1f649026728d66f847936d983f92c6014f68c2ec8e
-DIST opera-developer_73.0.3827.0_amd64.deb 72518736 BLAKE2B 14213c23f1e170694e9b5ccbf04755c0244988918b9c18fd733b64c656827e0d477e916ad02af61c20252ec53d5be06881bed1b8159bfbde20e4339b4ff64dfa SHA512 9b26341ac053674a8461826c221e44c2ee4833613ade0aeb1ee12ecc112418a720c9db14f7165812150576266937ec5c021ed561ad0706672a77df099418a8be
-DIST opera-developer_73.0.3834.0_amd64.deb 72418344 BLAKE2B e5d03ec7d669af896979f46c8255b06e8832de8ea45eb1c97c5f8e6e960a6b172be33259dcf6bd065666ca427dea3b917e12515055a3bea6602128c42b7faff1 SHA512 755610a2f2ccb56c1a7eaa5f2aa491a6dedd1febccb0f46c7cfaa6d60990ba5846b6b145a26be8588594b6f13a9fe0f926372722515fb549696af24ab990816f
-DIST opera-developer_73.0.3841.0_amd64.deb 73175952 BLAKE2B d890cf40a775e2d63f2ffbf0cbef898fc5e70f5b9798866052f19e909327ae53f654113089e4353fc06ca9e3af4c2942b4788cc757f9dadecbb873368851a0f2 SHA512 a6fe15690d36350406fc46f03f1a8b60063684a2221621f406220627f2f537cb9a7c208688d054daae2f00768dd605dd07ac9192e8a2875f26a86930f59dbe20
-EBUILD opera-developer-73.0.3820.0.ebuild 2126 BLAKE2B d45518a4a0304f6cb0b4816fcb3f97399bacace2c3ae2cbbb946738eb687bb2157b1fd1a005bd3e66c71fed8ef6a1c026bf0f4f0fe156494619ef71f8f3a34c4 SHA512 e12158a4efb7e939723082d46ed4e0a305cfde724b5e6c78ec533b64a427b6c342f014413e237c957558eaf1ba5fe8fddb76d15e49cbfa809a5f743d16f6d72f
-EBUILD opera-developer-73.0.3827.0.ebuild 2126 BLAKE2B d45518a4a0304f6cb0b4816fcb3f97399bacace2c3ae2cbbb946738eb687bb2157b1fd1a005bd3e66c71fed8ef6a1c026bf0f4f0fe156494619ef71f8f3a34c4 SHA512 e12158a4efb7e939723082d46ed4e0a305cfde724b5e6c78ec533b64a427b6c342f014413e237c957558eaf1ba5fe8fddb76d15e49cbfa809a5f743d16f6d72f
-EBUILD opera-developer-73.0.3834.0.ebuild 2126 BLAKE2B d45518a4a0304f6cb0b4816fcb3f97399bacace2c3ae2cbbb946738eb687bb2157b1fd1a005bd3e66c71fed8ef6a1c026bf0f4f0fe156494619ef71f8f3a34c4 SHA512 e12158a4efb7e939723082d46ed4e0a305cfde724b5e6c78ec533b64a427b6c342f014413e237c957558eaf1ba5fe8fddb76d15e49cbfa809a5f743d16f6d72f
-EBUILD opera-developer-73.0.3841.0.ebuild 2126 BLAKE2B d45518a4a0304f6cb0b4816fcb3f97399bacace2c3ae2cbbb946738eb687bb2157b1fd1a005bd3e66c71fed8ef6a1c026bf0f4f0fe156494619ef71f8f3a34c4 SHA512 e12158a4efb7e939723082d46ed4e0a305cfde724b5e6c78ec533b64a427b6c342f014413e237c957558eaf1ba5fe8fddb76d15e49cbfa809a5f743d16f6d72f
-MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
+DIST opera-developer_74.0.3904.0_amd64.deb 72559240 BLAKE2B 566cecf54030e461a4af514e92945897444f67afbd87e9388a0a4cb9a2844b86555e254abb10ac6370ddebda095a7ded396a6312098d337838ef50f2ca2c705a SHA512 fb094d5002c413fc448716ab4aacb5d4a1389890f62c700f29bf75de1cf97e15750d3b8dfc670387fd759c4985d7c2128c1e0df9e32109cb2e9b71223cc7ee26
+DIST opera-ffmpeg-codecs-88.0.4324.27.tar.xz 1362668 BLAKE2B 0815049dbf95996a04a072ad1b82664ef594e0ea99aaea5ea9d54448457bb5aa5c6d9cb95d6c84a14ca64a29e0a2e9c6f5315a1988eb577ad02cc7422fe0f886 SHA512 cd1857d302c413a52433839103a3a268a12ab255ad8d6e651e872f7f28b61e1426e3c2854fc9a6acf4430be9fa8fea939de288c800cc3c60696394f77d86146d
+EBUILD opera-developer-74.0.3904.0-r1.ebuild 3268 BLAKE2B e429bd5c2fb1fa1ef643f8fb62e24616e5ed7ceabad6d9093b78886732cb46c132986a62a56dfc9487a7ccb5fb5063f59744cd415af65d263c3cca3054835f5b SHA512 499af7cf3782e8e71d5693c69031358b2284b6230defebe914474bbd8414b24510d332a585936fc172cdb62a39fceb79b778f343cab55a0a1b89182be163a932
+MISC metadata.xml 477 BLAKE2B 11beed348273a9ff128136eddd7499da5e0f8353d22659893aa613d24e2a79ee37cfbfc62aa6e0dcd77cff8f5df6015ff0374e01768f34fb0f68492675ba2f8b SHA512 7530db21f8c1b251d8c255a8cf7771f13323defccd76698e577591b676978d25cc3208709571a6e754b3be3b76c2e6e562ae1ebca42f8c5961b25f5771327afe
diff --git a/www-client/opera-developer/metadata.xml b/www-client/opera-developer/metadata.xml
index 6f49eba8f496..9862847b22e0 100644
--- a/www-client/opera-developer/metadata.xml
+++ b/www-client/opera-developer/metadata.xml
@@ -1,5 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<!-- maintainer-needed -->
+ <maintainer type="project">
+ <email>chromium@gentoo.org</email>
+ <name>Chromium in Gentoo Project</name>
+ </maintainer>
+ <use>
+ <flag name="proprietary-codecs">Enable codecs for patent-encumbered audio and video formats.</flag>
+ <flag name="widevine">Unsupported closed-source DRM capability (required by Netflix VOD)</flag>
+ </use>
</pkgmetadata>
diff --git a/www-client/opera-developer/opera-developer-73.0.3820.0.ebuild b/www-client/opera-developer/opera-developer-73.0.3820.0.ebuild
deleted file mode 100644
index c6ec6cb96a08..000000000000
--- a/www-client/opera-developer/opera-developer-73.0.3820.0.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-CHROMIUM_LANGS="
- be bg bn ca cs da de el en-GB es es-419 fi fil fr fr-CA hi hr hu id it
- ja ko lt lv ms nb nl pl pt-BR pt-PT ro ru sk sr sv sw ta te th tr uk vi
- zh-CN zh-TW
-"
-inherit chromium-2 multilib unpacker xdg
-
-DESCRIPTION="A fast and secure web browser"
-HOMEPAGE="https://www.opera.com/"
-LICENSE="OPERA-2014"
-SLOT="0"
-SRC_URI_BASE="
- https://download1.operacdn.com/pub/
- https://download2.operacdn.com/pub/
- https://download3.operacdn.com/pub/
- https://download4.operacdn.com/pub/
-"
-SRC_URI="amd64? ("
-for uri in ${SRC_URI_BASE}; do
-SRC_URI+="
- "${uri}${PN}/${PV}/linux/${PN}_${PV}_amd64.deb"
-"
-done
-SRC_URI+=")"
-KEYWORDS="~amd64"
-
-RDEPEND="
- dev-libs/expat
- dev-libs/glib:2
- dev-libs/nspr
- dev-libs/nss
- dev-libs/wayland
- gnome-base/gconf:2
- media-libs/alsa-lib
- media-libs/fontconfig
- media-libs/freetype
- net-misc/curl
- net-print/cups
- sys-apps/dbus
- x11-libs/cairo
- x11-libs/gdk-pixbuf
- x11-libs/gtk+:3
- x11-libs/libX11
- x11-libs/libXScrnSaver
- x11-libs/libXcomposite
- x11-libs/libXcursor
- x11-libs/libXdamage
- x11-libs/libXext
- x11-libs/libXfixes
- x11-libs/libXi
- x11-libs/libXrandr
- x11-libs/libXrender
- x11-libs/libXtst
- x11-libs/libnotify
- x11-libs/libxkbcommon
- x11-libs/pango[X]
-"
-
-QA_PREBUILT="*"
-S=${WORKDIR}
-
-src_unpack() {
- unpack_deb ${A}
-}
-
-pkg_setup() {
- OPERA_HOME="usr/$(get_libdir)/${PN}"
-}
-
-src_prepare() {
- default
-
- case ${ARCH} in
- amd64)
- mv usr/lib/x86_64-linux-gnu usr/$(get_libdir) || die
- rm -r usr/lib || die
- ;;
- x86)
- mv usr/lib/i386-linux-gnu/${PN} usr/$(get_libdir)/ || die
- ;;
- esac
-
- mv usr/share/doc/${PN} usr/share/doc/${PF} || die
- gunzip usr/share/doc/${PF}/changelog.gz || die
-
- rm usr/bin/${PN} || die
-
- pushd "${OPERA_HOME}/localization" > /dev/null || die
- chromium_remove_language_paks
- popd > /dev/null || die
-
- sed -i \
- -e 's|^TargetEnvironment|X-&|g' \
- usr/share/applications/${PN}.desktop || die
-}
-
-src_install() {
- mv * "${D}" || die
- dosym ../$(get_libdir)/${PN}/${PN} /usr/bin/${PN}
- fperms 4711 /usr/$(get_libdir)/${PN}/opera_sandbox
-}
diff --git a/www-client/opera-developer/opera-developer-73.0.3827.0.ebuild b/www-client/opera-developer/opera-developer-73.0.3827.0.ebuild
deleted file mode 100644
index c6ec6cb96a08..000000000000
--- a/www-client/opera-developer/opera-developer-73.0.3827.0.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-CHROMIUM_LANGS="
- be bg bn ca cs da de el en-GB es es-419 fi fil fr fr-CA hi hr hu id it
- ja ko lt lv ms nb nl pl pt-BR pt-PT ro ru sk sr sv sw ta te th tr uk vi
- zh-CN zh-TW
-"
-inherit chromium-2 multilib unpacker xdg
-
-DESCRIPTION="A fast and secure web browser"
-HOMEPAGE="https://www.opera.com/"
-LICENSE="OPERA-2014"
-SLOT="0"
-SRC_URI_BASE="
- https://download1.operacdn.com/pub/
- https://download2.operacdn.com/pub/
- https://download3.operacdn.com/pub/
- https://download4.operacdn.com/pub/
-"
-SRC_URI="amd64? ("
-for uri in ${SRC_URI_BASE}; do
-SRC_URI+="
- "${uri}${PN}/${PV}/linux/${PN}_${PV}_amd64.deb"
-"
-done
-SRC_URI+=")"
-KEYWORDS="~amd64"
-
-RDEPEND="
- dev-libs/expat
- dev-libs/glib:2
- dev-libs/nspr
- dev-libs/nss
- dev-libs/wayland
- gnome-base/gconf:2
- media-libs/alsa-lib
- media-libs/fontconfig
- media-libs/freetype
- net-misc/curl
- net-print/cups
- sys-apps/dbus
- x11-libs/cairo
- x11-libs/gdk-pixbuf
- x11-libs/gtk+:3
- x11-libs/libX11
- x11-libs/libXScrnSaver
- x11-libs/libXcomposite
- x11-libs/libXcursor
- x11-libs/libXdamage
- x11-libs/libXext
- x11-libs/libXfixes
- x11-libs/libXi
- x11-libs/libXrandr
- x11-libs/libXrender
- x11-libs/libXtst
- x11-libs/libnotify
- x11-libs/libxkbcommon
- x11-libs/pango[X]
-"
-
-QA_PREBUILT="*"
-S=${WORKDIR}
-
-src_unpack() {
- unpack_deb ${A}
-}
-
-pkg_setup() {
- OPERA_HOME="usr/$(get_libdir)/${PN}"
-}
-
-src_prepare() {
- default
-
- case ${ARCH} in
- amd64)
- mv usr/lib/x86_64-linux-gnu usr/$(get_libdir) || die
- rm -r usr/lib || die
- ;;
- x86)
- mv usr/lib/i386-linux-gnu/${PN} usr/$(get_libdir)/ || die
- ;;
- esac
-
- mv usr/share/doc/${PN} usr/share/doc/${PF} || die
- gunzip usr/share/doc/${PF}/changelog.gz || die
-
- rm usr/bin/${PN} || die
-
- pushd "${OPERA_HOME}/localization" > /dev/null || die
- chromium_remove_language_paks
- popd > /dev/null || die
-
- sed -i \
- -e 's|^TargetEnvironment|X-&|g' \
- usr/share/applications/${PN}.desktop || die
-}
-
-src_install() {
- mv * "${D}" || die
- dosym ../$(get_libdir)/${PN}/${PN} /usr/bin/${PN}
- fperms 4711 /usr/$(get_libdir)/${PN}/opera_sandbox
-}
diff --git a/www-client/opera-developer/opera-developer-73.0.3834.0.ebuild b/www-client/opera-developer/opera-developer-73.0.3834.0.ebuild
deleted file mode 100644
index c6ec6cb96a08..000000000000
--- a/www-client/opera-developer/opera-developer-73.0.3834.0.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-CHROMIUM_LANGS="
- be bg bn ca cs da de el en-GB es es-419 fi fil fr fr-CA hi hr hu id it
- ja ko lt lv ms nb nl pl pt-BR pt-PT ro ru sk sr sv sw ta te th tr uk vi
- zh-CN zh-TW
-"
-inherit chromium-2 multilib unpacker xdg
-
-DESCRIPTION="A fast and secure web browser"
-HOMEPAGE="https://www.opera.com/"
-LICENSE="OPERA-2014"
-SLOT="0"
-SRC_URI_BASE="
- https://download1.operacdn.com/pub/
- https://download2.operacdn.com/pub/
- https://download3.operacdn.com/pub/
- https://download4.operacdn.com/pub/
-"
-SRC_URI="amd64? ("
-for uri in ${SRC_URI_BASE}; do
-SRC_URI+="
- "${uri}${PN}/${PV}/linux/${PN}_${PV}_amd64.deb"
-"
-done
-SRC_URI+=")"
-KEYWORDS="~amd64"
-
-RDEPEND="
- dev-libs/expat
- dev-libs/glib:2
- dev-libs/nspr
- dev-libs/nss
- dev-libs/wayland
- gnome-base/gconf:2
- media-libs/alsa-lib
- media-libs/fontconfig
- media-libs/freetype
- net-misc/curl
- net-print/cups
- sys-apps/dbus
- x11-libs/cairo
- x11-libs/gdk-pixbuf
- x11-libs/gtk+:3
- x11-libs/libX11
- x11-libs/libXScrnSaver
- x11-libs/libXcomposite
- x11-libs/libXcursor
- x11-libs/libXdamage
- x11-libs/libXext
- x11-libs/libXfixes
- x11-libs/libXi
- x11-libs/libXrandr
- x11-libs/libXrender
- x11-libs/libXtst
- x11-libs/libnotify
- x11-libs/libxkbcommon
- x11-libs/pango[X]
-"
-
-QA_PREBUILT="*"
-S=${WORKDIR}
-
-src_unpack() {
- unpack_deb ${A}
-}
-
-pkg_setup() {
- OPERA_HOME="usr/$(get_libdir)/${PN}"
-}
-
-src_prepare() {
- default
-
- case ${ARCH} in
- amd64)
- mv usr/lib/x86_64-linux-gnu usr/$(get_libdir) || die
- rm -r usr/lib || die
- ;;
- x86)
- mv usr/lib/i386-linux-gnu/${PN} usr/$(get_libdir)/ || die
- ;;
- esac
-
- mv usr/share/doc/${PN} usr/share/doc/${PF} || die
- gunzip usr/share/doc/${PF}/changelog.gz || die
-
- rm usr/bin/${PN} || die
-
- pushd "${OPERA_HOME}/localization" > /dev/null || die
- chromium_remove_language_paks
- popd > /dev/null || die
-
- sed -i \
- -e 's|^TargetEnvironment|X-&|g' \
- usr/share/applications/${PN}.desktop || die
-}
-
-src_install() {
- mv * "${D}" || die
- dosym ../$(get_libdir)/${PN}/${PN} /usr/bin/${PN}
- fperms 4711 /usr/$(get_libdir)/${PN}/opera_sandbox
-}
diff --git a/www-client/opera-developer/opera-developer-73.0.3841.0.ebuild b/www-client/opera-developer/opera-developer-73.0.3841.0.ebuild
deleted file mode 100644
index c6ec6cb96a08..000000000000
--- a/www-client/opera-developer/opera-developer-73.0.3841.0.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-CHROMIUM_LANGS="
- be bg bn ca cs da de el en-GB es es-419 fi fil fr fr-CA hi hr hu id it
- ja ko lt lv ms nb nl pl pt-BR pt-PT ro ru sk sr sv sw ta te th tr uk vi
- zh-CN zh-TW
-"
-inherit chromium-2 multilib unpacker xdg
-
-DESCRIPTION="A fast and secure web browser"
-HOMEPAGE="https://www.opera.com/"
-LICENSE="OPERA-2014"
-SLOT="0"
-SRC_URI_BASE="
- https://download1.operacdn.com/pub/
- https://download2.operacdn.com/pub/
- https://download3.operacdn.com/pub/
- https://download4.operacdn.com/pub/
-"
-SRC_URI="amd64? ("
-for uri in ${SRC_URI_BASE}; do
-SRC_URI+="
- "${uri}${PN}/${PV}/linux/${PN}_${PV}_amd64.deb"
-"
-done
-SRC_URI+=")"
-KEYWORDS="~amd64"
-
-RDEPEND="
- dev-libs/expat
- dev-libs/glib:2
- dev-libs/nspr
- dev-libs/nss
- dev-libs/wayland
- gnome-base/gconf:2
- media-libs/alsa-lib
- media-libs/fontconfig
- media-libs/freetype
- net-misc/curl
- net-print/cups
- sys-apps/dbus
- x11-libs/cairo
- x11-libs/gdk-pixbuf
- x11-libs/gtk+:3
- x11-libs/libX11
- x11-libs/libXScrnSaver
- x11-libs/libXcomposite
- x11-libs/libXcursor
- x11-libs/libXdamage
- x11-libs/libXext
- x11-libs/libXfixes
- x11-libs/libXi
- x11-libs/libXrandr
- x11-libs/libXrender
- x11-libs/libXtst
- x11-libs/libnotify
- x11-libs/libxkbcommon
- x11-libs/pango[X]
-"
-
-QA_PREBUILT="*"
-S=${WORKDIR}
-
-src_unpack() {
- unpack_deb ${A}
-}
-
-pkg_setup() {
- OPERA_HOME="usr/$(get_libdir)/${PN}"
-}
-
-src_prepare() {
- default
-
- case ${ARCH} in
- amd64)
- mv usr/lib/x86_64-linux-gnu usr/$(get_libdir) || die
- rm -r usr/lib || die
- ;;
- x86)
- mv usr/lib/i386-linux-gnu/${PN} usr/$(get_libdir)/ || die
- ;;
- esac
-
- mv usr/share/doc/${PN} usr/share/doc/${PF} || die
- gunzip usr/share/doc/${PF}/changelog.gz || die
-
- rm usr/bin/${PN} || die
-
- pushd "${OPERA_HOME}/localization" > /dev/null || die
- chromium_remove_language_paks
- popd > /dev/null || die
-
- sed -i \
- -e 's|^TargetEnvironment|X-&|g' \
- usr/share/applications/${PN}.desktop || die
-}
-
-src_install() {
- mv * "${D}" || die
- dosym ../$(get_libdir)/${PN}/${PN} /usr/bin/${PN}
- fperms 4711 /usr/$(get_libdir)/${PN}/opera_sandbox
-}
diff --git a/www-client/opera-developer/opera-developer-74.0.3904.0-r1.ebuild b/www-client/opera-developer/opera-developer-74.0.3904.0-r1.ebuild
new file mode 100644
index 000000000000..fcc98f28db80
--- /dev/null
+++ b/www-client/opera-developer/opera-developer-74.0.3904.0-r1.ebuild
@@ -0,0 +1,138 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+CHROMIUM_LANGS="
+ be bg bn ca cs da de el en-GB en-US es-419 es fil fi fr-CA fr hi hr hu id
+ it ja ko lt lv ms nb nl pl pt-BR pt-PT ro ru sk sr sv sw ta te th tr uk vi
+ zh-CN zh-TW
+"
+inherit chromium-2 multilib pax-utils unpacker xdg
+
+DESCRIPTION="A fast and secure web browser"
+HOMEPAGE="https://www.opera.com/"
+LICENSE="OPERA-2014"
+SLOT="0"
+
+SRC_URI_BASE=(
+ "https://download1.operacdn.com/pub/${PN}"
+ "https://download2.operacdn.com/pub/${PN}"
+ "https://download3.operacdn.com/pub/${PN}"
+ "https://download4.operacdn.com/pub/${PN}"
+)
+
+if [[ ${PN} == opera ]]; then
+ KEYWORDS="-* amd64"
+ MY_PN=${PN}-stable
+ SRC_URI_BASE=( "${SRC_URI_BASE[@]/%//desktop}" )
+else
+ KEYWORDS="-* ~amd64"
+ MY_PN=${PN}
+fi
+
+FFMPEG_VERSION="88.0.4324.27"
+
+SRC_URI="${SRC_URI_BASE[@]/%//${PV}/linux/${MY_PN}_${PV}_amd64.deb}
+ proprietary-codecs? (
+ https://dev.gentoo.org/~sultan/distfiles/www-client/opera/opera-ffmpeg-codecs-${FFMPEG_VERSION}.tar.xz
+ )"
+
+IUSE="+proprietary-codecs suid widevine"
+
+RDEPEND="
+ app-accessibility/at-spi2-atk:2
+ app-accessibility/at-spi2-core:2
+ dev-libs/atk
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/nspr
+ dev-libs/nss
+ media-libs/alsa-lib
+ media-libs/mesa[gbm]
+ net-misc/curl
+ net-print/cups
+ sys-apps/dbus
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:3
+ x11-libs/libdrm
+ x11-libs/libxcb
+ x11-libs/libxkbcommon
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/pango
+ widevine? ( www-plugins/chrome-binary-plugins )
+"
+
+QA_PREBUILT="*"
+S=${WORKDIR}
+OPERA_HOME="opt/opera${PN#opera}"
+
+pkg_pretend() {
+ # Protect against people using autounmask overzealously
+ use amd64 || die "opera only works on amd64"
+}
+
+pkg_setup() {
+ chromium_suid_sandbox_check_kernel_config
+}
+
+src_unpack() {
+ :
+}
+
+src_install() {
+ dodir /
+ cd "${ED}" || die
+ unpacker
+
+ # move to /opt, bug #573052
+ mkdir -p "${OPERA_HOME%${PN}}"
+ mv "usr/lib/x86_64-linux-gnu/${PN}" "${OPERA_HOME%${PN}}" || die
+ rm -r "usr/lib" || die
+
+ # disable auto update
+ rm "${OPERA_HOME}/${PN%-*}_autoupdate"{,.licenses,.version} || die
+
+ rm -r "usr/share/lintian" || die
+
+ # fix docs
+ mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die
+ gzip -d usr/share/doc/${PF}/changelog.gz || die
+
+ # fix desktop file
+ sed -i \
+ -e 's|^TargetEnvironment|X-&|g' \
+ usr/share/applications/${PN}.desktop || die
+
+ # remove unused language packs
+ pushd "${OPERA_HOME}/localization" > /dev/null || die
+ chromium_remove_language_paks
+ popd > /dev/null || die
+
+ # setup opera symlink
+ rm "usr/bin/${PN}" || die
+ dosym "../../${OPERA_HOME}/${PN}" "/usr/bin/${PN}"
+
+ # install proprietary codecs
+ rm "${OPERA_HOME}/resources/ffmpeg_preload_config.json" || die
+ if use proprietary-codecs; then
+ mv lib_extra "${OPERA_HOME}"
+ fi
+
+ # symlink widevine
+ rm "${OPERA_HOME}/resources/widevine_config.json" || die
+ if use widevine; then
+ echo "[\"${EPREFIX}/usr/$(get_libdir)/chromium-browser/WidevineCdm\"]" > \
+ "${OPERA_HOME}/resources/widevine_config.json" || die
+ fi
+
+ # pax mark opera, bug #562038
+ pax-mark m "${OPERA_HOME}/opera"
+ # enable suid sandbox if requested
+ use suid && fperms 4711 "${OPERA_HOME}/opera_sandbox"
+}