summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/opera-developer')
-rw-r--r--www-client/opera-developer/Manifest1
-rw-r--r--www-client/opera-developer/opera-developer-70.0.3714.0.ebuild115
2 files changed, 116 insertions, 0 deletions
diff --git a/www-client/opera-developer/Manifest b/www-client/opera-developer/Manifest
index 6162cb7e8004..6d9bfc5ccdd2 100644
--- a/www-client/opera-developer/Manifest
+++ b/www-client/opera-developer/Manifest
@@ -1,3 +1,4 @@
DIST opera-developer_70.0.3693.0_amd64.deb 66336804 BLAKE2B 57c3d32bf6a21b87f85512b9bb295e9c8bc8b89d4812f27d118774810c59b8c6634ae98f9d6d93e7890809f55c330d01afe43ee849802bab51129bd42d244294 SHA512 8ed29d90a7fd6b3ed7be23035cdbcb1d43243c884e86416d5f4f1777c626cb9482772cb10a1045bbf31b8467f63df90da2096870eb9fc49956da8ac9d35174fa
DIST opera-developer_70.0.3701.0_amd64.deb 66415456 BLAKE2B 6b9402b9cb6a33ea1da728547903c1788b1bb861c80d7c382cf299d0b091dce67a2db6026fa1b227d713c090b77f61f468e80ebca644c824c92c166c746bdb40 SHA512 1e4485f040b645789a9e4f81e9615a55f3a184e0e3675d563f4bf52471794d6c3f6e0298fbfafdccb925be142cd99796cfbda4843fe23a79cf83630add8ab46a
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
diff --git a/www-client/opera-developer/opera-developer-70.0.3714.0.ebuild b/www-client/opera-developer/opera-developer-70.0.3714.0.ebuild
new file mode 100644
index 000000000000..837674712eae
--- /dev/null
+++ b/www-client/opera-developer/opera-developer-70.0.3714.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
+}