diff options
author | Stephan Hartmann <sultan@gentoo.org> | 2021-08-17 18:39:47 +0200 |
---|---|---|
committer | Stephan Hartmann <sultan@gentoo.org> | 2021-08-17 18:40:04 +0200 |
commit | 84db16295480a2ea8e10ed45629b37bd2e7c06bd (patch) | |
tree | 1c9179c8408f250fd764332f80de277496eaaf41 /www-client | |
parent | net-wireless/kismet: stabilize 2021.06.1 (diff) | |
download | gentoo-84db16295480a2ea8e10ed45629b37bd2e7c06bd.tar.gz gentoo-84db16295480a2ea8e10ed45629b37bd2e7c06bd.tar.bz2 gentoo-84db16295480a2ea8e10ed45629b37bd2e7c06bd.zip |
www-client/opera-developer: bump to 80.0.4150.0
Package-Manager: Portage-3.0.20, Repoman-3.0.3
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-80.0.4150.0.ebuild | 137 |
2 files changed, 139 insertions, 0 deletions
diff --git a/www-client/opera-developer/Manifest b/www-client/opera-developer/Manifest index 110a407fe476..757cb6aac9d2 100644 --- a/www-client/opera-developer/Manifest +++ b/www-client/opera-developer/Manifest @@ -1,5 +1,7 @@ DIST opera-developer_79.0.4114.0_amd64.deb 78296160 BLAKE2B 459d37a4c08654f2e3ec1b7ac8b61384ad263b5cde08d8a6fee50c57fc8534db3167d6a6e1791f53fabaca59fbecb99accada01126b53294b55309fc8bd3ba93 SHA512 8f66ad70df8ef978cec906ee2f4bcc811a5b23bff9769ba27450aaedfca3e30be7ece88e33d07b4404624fe8a49c0d73883aa0c48cffe1c9896e7960494ebe9d DIST opera-developer_79.0.4135.0_amd64.deb 77553464 BLAKE2B 05d9831150e57660e2980b5bc32c96fbb93f2c0515c292a39fc2c04df063ad222aa5ae4e5643dd7adfa83c7e42ce80721dec59fc967b4bec96dbb703b1dd605d SHA512 a3be1314490a1e654e7baf8c62c88345942773fd33d3f1761f77a78e8192fe97f7bd6008a87bf399f8a94be5bcbf1178cd66368c22781b45c45562d950413279 DIST opera-developer_79.0.4142.0_amd64.deb 77573852 BLAKE2B 1195809dc53f593350636168828fd43b45648059dbc752d203704b78a33629ec326005a696328c3a433f06cb8b74f42fc7a67d15d2ee87b9e3cba70936b37ecc SHA512 3a91e85fc045ad8d4e4a4c98d045a4cda85aaf9c5e238d1b99546cd26166712d4652c263dcc0af314913974fc139495ff0c45f741ee2048aa5d947413b573dab +DIST opera-developer_80.0.4150.0_amd64.rpm 76215956 BLAKE2B 443b86a84615c9b7412baf929138703d9c0a8b52e9b82a23c36c927cd2594e19e1713a4062c945054def4e9b3702b2b6a40c1fa23e9b38722dd8e93cf5db1174 SHA512 2021cc6d1b6cec5801baf1973fabbe6643bfcae437792c38f98c4753e9c16787f49c07079ed68f3820e277013c179f3690bd5c7a0be8ab8d03aae7c2c7243e6c DIST opera-ffmpeg-codecs-93.0.4549.4.tar.xz 1389084 BLAKE2B b7895bca319f9626c4ffe582732c3c28bd188e0c4704b349114f988eec0dc9ef46805ef07c49155eb7b6b9ec2fa0a675c3b4e156cbf0bf5fccfc927c5502be9b SHA512 b9b8cc78e9fce5dddf32e7b2ab937b0f94fa2a7c6ca528c6274820e649609427a389bcf829f4c4e5db155e361d27454071b235df5978feb2a683012dc3b92dfe DIST opera-ffmpeg-codecs-93.0.4573.0.tar.xz 1389664 BLAKE2B 4efc7341655bed294d4c6237dd9e7d005a815c495a45bec6f0b7fcbec40345e22ad5199ec1db3c822c123663d3ce95e6b87af18b1ac6cad31793ae7fdb440918 SHA512 f7c62c6860d1440e91344c41d6c9b3fbef4745cb95262538dcb3af9147406b3b0c71e72605042c423cbdd618a53f902791bcb6b7fcc8a4cae92ebf3cb38e8407 +DIST opera-ffmpeg-codecs-94.0.4590.0.tar.xz 1388672 BLAKE2B 736debcdbdfa63f0e5afa3bca70783aadaad5db5751666099ff290b8bde1ba1ef8ab12612a5dc2f4db3ba3b79ed7bdd7b6091480639578c9610058d2dc3584fd SHA512 c6fabd319b048b068f6763cf99406f4431c22311cb14159af673ee4b8f39a3f4376cb299746de9e797ee1965dde1f597ef5a733c5fcf8e527ce59964c85921dd diff --git a/www-client/opera-developer/opera-developer-80.0.4150.0.ebuild b/www-client/opera-developer/opera-developer-80.0.4150.0.ebuild new file mode 100644 index 000000000000..9eb2b8a22a14 --- /dev/null +++ b/www-client/opera-developer/opera-developer-80.0.4150.0.ebuild @@ -0,0 +1,137 @@ +# 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 +inherit chromium-2 multilib pax-utils rpm 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="94.0.4590.0" + +SRC_URI="${SRC_URI_BASE[@]/%//${PV}/linux/${MY_PN}_${PV}_amd64.rpm} + 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 + rpm_src_unpack "${A[0]}" +# unpacker + + # move to /opt, bug #573052 + mkdir -p "${OPERA_HOME%${PN}}" + mv "usr/lib64/${PN}" "${OPERA_HOME%${PN}}" || die +# 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 + rm "${OPERA_HOME}/setup_repo.sh" || 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" +} |