summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-08-07 10:24:32 +0200
committerJeroen Roovers <jer@gentoo.org>2018-08-07 11:54:39 +0200
commita4fa23aa15f424d5f2ce11adbc0c10895b98bbf9 (patch)
tree6d7e59959dbe0092ea0fe074b849e40b2552ca1b /www-client/opera-beta
parentwww-client/opera-developer: Old. (diff)
downloadgentoo-a4fa23aa15f424d5f2ce11adbc0c10895b98bbf9.tar.gz
gentoo-a4fa23aa15f424d5f2ce11adbc0c10895b98bbf9.tar.bz2
gentoo-a4fa23aa15f424d5f2ce11adbc0c10895b98bbf9.zip
www-client/opera-beta: Version 55.0.2994.29.
Package-Manager: Portage-2.3.44, Repoman-2.3.10
Diffstat (limited to 'www-client/opera-beta')
-rw-r--r--www-client/opera-beta/Manifest1
-rw-r--r--www-client/opera-beta/opera-beta-55.0.2994.29.ebuild114
2 files changed, 115 insertions, 0 deletions
diff --git a/www-client/opera-beta/Manifest b/www-client/opera-beta/Manifest
index 3e8782b815c3..724dee809b88 100644
--- a/www-client/opera-beta/Manifest
+++ b/www-client/opera-beta/Manifest
@@ -1,2 +1,3 @@
DIST opera-beta_55.0.2994.20_amd64.deb 56266674 BLAKE2B a8198ecf4c9086f8e50f027256a380e3a97760cc47a8a54c3975cdff08374330fba35e77f03a9b0293cf1932cc98201f876974b59421bfb1c3c4a682d8ff1742 SHA512 607942e2cfa31c98c503077d827c74122e7ac8540500f89f72e1aff613c1b21abc260defb6ef6bcf31437e13fe98dd2b97537a4f81040d80f9d2c519f3c40e41
DIST opera-beta_55.0.2994.23_amd64.deb 56588490 BLAKE2B 4ddf932d0ad9cba59a9e221f880d31b3346868cc163974d63ee200dc402d4cb13f0228def39b8f469f09c82eb98e7bce5608f7395126c1721143e52db83132b4 SHA512 c0125bb6087998941f7edcdf97b399c3fd965e70491f5de3c1191a826c2687607dc87af4784d942263749e9b361ef976351c16ab925206354030922045734ba3
+DIST opera-beta_55.0.2994.29_amd64.deb 55842144 BLAKE2B cde94452c7986e2c913605865eb85928dc250105347db2af81e4891bdc9dfae38006861ac8bcf88df7a4dcf1ed6714b335d978ecf0e32a1ddde9d77a2130b3c2 SHA512 8808fec284cad8944000609b286636a929c84d92ca16b41c9398e22811c861ed1b219b0e4bac8dc7b8cecb1202d82588cf7194663f597270f146d3cdffbb0a67
diff --git a/www-client/opera-beta/opera-beta-55.0.2994.29.ebuild b/www-client/opera-beta/opera-beta-55.0.2994.29.ebuild
new file mode 100644
index 000000000000..135872778f99
--- /dev/null
+++ b/www-client/opera-beta/opera-beta-55.0.2994.29.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+CHROMIUM_LANGS="
+ be bg bn ca cs da de el en-GB 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 gnome2-utils 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+:2
+ 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}
+OPERA_HOME="usr/$(get_libdir)/${PN}"
+
+src_unpack() {
+ unpack_deb ${A}
+}
+
+src_prepare() {
+ 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
+
+ rm usr/bin/${PN} || die
+
+ rm usr/share/doc/${PN}/copyright || die
+ mv usr/share/doc/${PN} usr/share/doc/${PF} || 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_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}