commit: cb2d9d9c54065a24900877bc3bc0c3a0112b430c Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Mon Jun 22 11:48:09 2020 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Mon Jun 22 11:49:21 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb2d9d9c
www-client/opera-developer: Version 70.0.3728.0 Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> www-client/opera-developer/Manifest | 1 + .../opera-developer-70.0.3728.0.ebuild | 115 +++++++++++++++++++++ 2 files changed, 116 insertions(+) diff --git a/www-client/opera-developer/Manifest b/www-client/opera-developer/Manifest index cc58be15fb7..0c552d9a156 100644 --- a/www-client/opera-developer/Manifest +++ b/www-client/opera-developer/Manifest @@ -3,3 +3,4 @@ DIST opera-developer_70.0.3701.0_amd64.deb 66415456 BLAKE2B 6b9402b9cb6a33ea1da7 DIST opera-developer_70.0.3707.0_amd64.deb 66703228 BLAKE2B 9d6f2588fbdf8803907b4e7cd235cf05fd46f9ca99e791300efa8533b6fc294f444f8dff9f2499f9ee45022729adbb398cf1bed7fdb55e048eeb24a522e8a4ed SHA512 3a6252a36b0599c7339320a975a22a9ed2a7083dcfda3694aa2f8f8f69cd66a39ff1d5108743d2a492426f8988425b38703b7e06e4506009f5d679da86a94d3e DIST opera-developer_70.0.3714.0_amd64.deb 67228556 BLAKE2B a2f7cf7bcacb706e5ea8eadd3fa47ca42c440307c54a937cba02b0c42193676a6dbbb28534dd2f1f860d6e9d35cc23f65500f4d5f2711074d37016ab1c92bcd3 SHA512 73447463572a72abee219d49711fc797570ffa9b933ad7b77b83c76af964f934f7a5f8850efab029284eca3e664878b98ed691e456cc81147040bb2d632be317 DIST opera-developer_70.0.3721.0_amd64.deb 67339908 BLAKE2B 8165e55bb82c9a89581a52d9d887d931d29b0de5763c0320f1bebd930ecfec3057f97796ebf40bfa90897b8d3653989a2dbb8b2c1e88c3f930ab40be61a32f60 SHA512 bf35b6f7e94cf64312592df1764fe85b73a3f84712dcb73a48bd976c1d3a03d9578305170bec7480427e9c9e9db8a84c27f5a20aef98d1a4391fd1295f8881b9 +DIST opera-developer_70.0.3728.0_amd64.deb 67337716 BLAKE2B 408d699664de431777d38873e60fefa298b2e3dce1c1bc51fae5230cd172150753fd260459f3649c5563d34aa5c79ad7f79ba8e3607dc6f533d3e1471c7c7a8f SHA512 b055a320b92888295094d83f609ed6afd256c007fac108d979bf4f54569bebf6c39a7926f0ba44456590b77bf93452356638fc61d8323c0bab42aac7c7d5b2b6 diff --git a/www-client/opera-developer/opera-developer-70.0.3728.0.ebuild b/www-client/opera-developer/opera-developer-70.0.3728.0.ebuild new file mode 100644 index 00000000000..837674712ea --- /dev/null +++ b/www-client/opera-developer/opera-developer-70.0.3728.0.ebuild @@ -0,0 +1,115 @@ +# 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-utils + +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 + 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/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 +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update + xdg_mimeinfo_database_update +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update + xdg_mimeinfo_database_update +}