diff options
author | Stephan Hartmann <sultan@gentoo.org> | 2021-05-05 22:59:31 +0200 |
---|---|---|
committer | Stephan Hartmann <sultan@gentoo.org> | 2021-05-05 22:59:31 +0200 |
commit | 7ce293197019b60f61d355c32f97a6cf942e520f (patch) | |
tree | 7c5e2499eb572543d4d2475f774a96e95eae5270 /www-client | |
parent | www-client/microsoft-edge-dev: remove old (diff) | |
download | gentoo-7ce293197019b60f61d355c32f97a6cf942e520f.tar.gz gentoo-7ce293197019b60f61d355c32f97a6cf942e520f.tar.bz2 gentoo-7ce293197019b60f61d355c32f97a6cf942e520f.zip |
www-client/opera-developer: bump to 77.0.4046.0
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/opera-developer/Manifest | 2 | ||||
-rw-r--r-- | www-client/opera-developer/opera-developer-77.0.4046.0.ebuild | 132 |
2 files changed, 134 insertions, 0 deletions
diff --git a/www-client/opera-developer/Manifest b/www-client/opera-developer/Manifest index 722bf2a23b63..6da6a7252f86 100644 --- a/www-client/opera-developer/Manifest +++ b/www-client/opera-developer/Manifest @@ -1,4 +1,6 @@ DIST opera-developer_77.0.4023.0_amd64.deb 75698732 BLAKE2B 1661d7684ad9257c1d3e9228b78d4d45f2e4c1e88d13e170819faa8c47a32a764ec94397c07cd6317f47a2feea5a92b18f367d9f495ab2fabe8b7e3319233f06 SHA512 2d26ad97ced8635850c71e9bd4240f00128c4f3e1bbb38fa6258ecf2a514f0f8cfa49b58a88f13434e7bb828aced75bd87d322b313a381b9cd37f0824466d668 DIST opera-developer_77.0.4028.0_amd64.deb 75684516 BLAKE2B e1228e322e7be085bd25fb43b64cfd3f0d49a03c042c6e5f54f57796062c3eccc5f61a9e417efb9afd4425f7384f5c7cbd8fd8bde67d79af2b85285801f6cc11 SHA512 886c10a325c89f851fe666cbd4d3b317147e43439a9b6bdff8da2a15214ac96cf74c511ae91b94580a2d60933c410309d3de2dd18814ad8667ef7d6a5a1fe0e5 DIST opera-developer_77.0.4032.0_amd64.deb 75682812 BLAKE2B 777d935e76df59efb1be6997f222ab5ad64b64ec6cc8cbfc797f763f190feb0b539569a0a7025df8eca0ed4c4d4f05b226a461e4efb7c16ece3cd5e0c9952c70 SHA512 bddad890f4c2190922d0bb4734cab21696f402fcdf9da60dc4bd20f1fd15e4b0a34888fb33d6e1918502ad38ec305fd5a08301242c8806e24bbc0ae6db4aea20 +DIST opera-developer_77.0.4046.0_amd64.deb 74348004 BLAKE2B 62640a0086622995505acf5e5c9d27127b1553424faf58668d1a672bd5389f89215ae9a1881529bd73f0f42968ef95bf1c3e01fcab452f1be59c1b1fb676887c SHA512 a3703961b85eb30cf6d0bbcc02783b7e33d02607bfc4429c93f8f6837a3c1706d117c6e7aa0c793539c73da2410ff81dfcf10f781f74034d629f855f14b88175 DIST opera-ffmpeg-codecs-91.0.4449.6.tar.xz 1383580 BLAKE2B 95cea2f648aded8193f0806f2fe82dca7cf23ea69051fb961224a6430f312230cb138e1e2ec0e3ad82d7540523ca943a7195ed1d5669382174619b1bf90ec459 SHA512 01bc10777387d9223b9f8781052fef10377af5fe79b260698458aa7c7400b191f112ac6f6e3dada4cb0a3c052e1c456e6831e5857500c8567dd7a0d8b8d322a2 +DIST opera-ffmpeg-codecs-91.0.4472.19.tar.xz 1383552 BLAKE2B f278bcef8ec013e24bb5293f50cb82be8b9381d181d6e837e8ed0f5b5f7fbdbde4d6e16e30787def46c333f2d6fb7573c7fbdf09697400d9429b3bc154a8da92 SHA512 58c419e469f257e5d3a7ec2fb18885a61aa8f4d6a56f8f6922fb4d4cecbfd9267d7cd72a451d1b23ee88bad0bebd83affa0850a1bbf7b2b26dac398752c7e905 diff --git a/www-client/opera-developer/opera-developer-77.0.4046.0.ebuild b/www-client/opera-developer/opera-developer-77.0.4046.0.ebuild new file mode 100644 index 000000000000..ac62c3431ac4 --- /dev/null +++ b/www-client/opera-developer/opera-developer-77.0.4046.0.ebuild @@ -0,0 +1,132 @@ +# 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="91.0.4472.19" + +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/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" +} |