summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Hartmann <sultan@gentoo.org>2021-06-15 22:49:52 +0200
committerStephan Hartmann <sultan@gentoo.org>2021-06-15 22:49:52 +0200
commitdd1ebfaa203e5cd30dabf26d4da8b096980d8aff (patch)
tree2532f7d71674aeb6eb6e900e5596b49b2b7bd930 /www-client/opera-developer
parentwww-client/microsoft-edge-beta: remove old (diff)
downloadgentoo-dd1ebfaa203e5cd30dabf26d4da8b096980d8aff.tar.gz
gentoo-dd1ebfaa203e5cd30dabf26d4da8b096980d8aff.tar.bz2
gentoo-dd1ebfaa203e5cd30dabf26d4da8b096980d8aff.zip
www-client/opera-developer: bump to 78.0.4086.0
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'www-client/opera-developer')
-rw-r--r--www-client/opera-developer/Manifest1
-rw-r--r--www-client/opera-developer/opera-developer-78.0.4086.0.ebuild133
2 files changed, 134 insertions, 0 deletions
diff --git a/www-client/opera-developer/Manifest b/www-client/opera-developer/Manifest
index 94b0a30f1585..6a410095e86b 100644
--- a/www-client/opera-developer/Manifest
+++ b/www-client/opera-developer/Manifest
@@ -1,4 +1,5 @@
DIST opera-developer_78.0.4066.0_amd64.deb 75217428 BLAKE2B 163fee1b625a976d6987fddff74e5cd033818a7893c25db128d352a74c65c5104e764a3929dfec4663534283b145dd10e7cdc5f390367d2c74e9e7c0ff27c3ed SHA512 319ba2ecad0b184ada4fe7ee6d43ee1f5ff98089d09542f9356621c41a59a19d3a2fc3de63965e70cdac6646c4717269284a89d321503ea6194b520788f6e9cc
DIST opera-developer_78.0.4072.0_amd64.deb 75160588 BLAKE2B 3aea37a1ffa718e406907f76b2273239d53c1ae7108cc752ddb4858f220eaec7a4c8530aea210bed75f4f3cd69d47e4653447cd9cbbb33a6e7284810b427a19d SHA512 e6ac67ee7526cf7451e585a0e22cc0dc297b8cabbf12be5f8440462014067bd5940fb5cc657f6dae89ab3a36ca5894ceaca38af0d565d45862b4b7134baa7765
DIST opera-developer_78.0.4079.0_amd64.deb 75593860 BLAKE2B 2e3ac010e6963411c662e9766a4d44490404521c2e211d959d96c78335628ad832e709e3358ec9374c0c9cd6e6bc11822644d0f374ba160df66b015c41c1d690 SHA512 5e9044c1755895a5c5a8acb8ced92eee2d6047714f7faa4b163cd23b9fba4414586f058d1e165945ee150106c30ec0a6662c4124e2f76dd910f2f67576894166
+DIST opera-developer_78.0.4086.0_amd64.deb 75539676 BLAKE2B 2686d000c351fced3fda6ca2024bc64e8087113646b683933d32bba60b36c6bfdcf2485161bb15f8221c7f25f9e7379060bb570f9e3917fd8c9347af8ea3b64d SHA512 8a16e68e31f10a7579722caa11228aa740b247a8f5db74057a97d16a9c2b10bbd0b1b0a6b3efcb06bf56da6117eb799f41b277ab2fc705c87c51634c00ab46a3
DIST opera-ffmpeg-codecs-92.0.4484.7.tar.xz 1384356 BLAKE2B 6032d1f1641e5c5e83ea2315e3774b97a1aa2c5740095d5716b3d6b31ac31d4315a32195273ac5a944578b8c28128802d21e226393f60bdcf6c3a6e73e9b91de SHA512 b152d0a19151b51a1eb9c28946ca7cbb9e6b389fd440554853de0e7c8cf149e805214b051aca9c579988ec1000368208a42afe88cdd47b6290c5da3d5122d1f0
diff --git a/www-client/opera-developer/opera-developer-78.0.4086.0.ebuild b/www-client/opera-developer/opera-developer-78.0.4086.0.ebuild
new file mode 100644
index 000000000000..9d5d1cbbfdab
--- /dev/null
+++ b/www-client/opera-developer/opera-developer-78.0.4086.0.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2021 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-2018"
+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
+ MY_PN=${PN}-stable
+ SRC_URI_BASE=( "${SRC_URI_BASE[@]/%//desktop}" )
+else
+ MY_PN=${PN}
+fi
+
+KEYWORDS="-* ~amd64"
+
+FFMPEG_VERSION="92.0.4484.7"
+
+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"
+RESTRICT="bindist mirror strip"
+
+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
+ gnome-base/gsettings-desktop-schemas
+ 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/libxshmfence
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/pango
+"
+
+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
+
+ # pax mark opera, bug #562038
+ pax-mark m "${OPERA_HOME}/opera"
+ # enable suid sandbox if requested
+ use suid && fperms 4711 "${OPERA_HOME}/opera_sandbox"
+}