summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-client/opera-beta/Manifest2
-rw-r--r--www-client/opera-beta/opera-beta-43.0.2442.21.ebuild91
2 files changed, 93 insertions, 0 deletions
diff --git a/www-client/opera-beta/Manifest b/www-client/opera-beta/Manifest
index cf2cbb182bb3..7c82031bed5b 100644
--- a/www-client/opera-beta/Manifest
+++ b/www-client/opera-beta/Manifest
@@ -1,2 +1,4 @@
+DIST opera-beta_43.0.2442.21_amd64.deb 50419114 SHA256 1e1697282deb323d45b08837aee37d333c780e057f165cefa7c448cb7a2f1f87 SHA512 e52a2a37403399948a38d1124b8dcd31abdd2bc0aa2581fd0d85c27d2a957c2b56189bc476fe5c595678ef4db4c9fb1d516362536b6862db2d0e6fb89b7aa5a2 WHIRLPOOL bdfd82665d2bd66cbd28a76ff30689b173d886bc417f55964d07ee8249d42ecadee457b52e0adb9122e28fb6a1043399f324a12e85992a68fa7d468291091299
+DIST opera-beta_43.0.2442.21_i386.deb 52042650 SHA256 4b891e265bb19e0d3a2f71ae53c0f7c13ee69ebce8e8f3accfcf89874231d392 SHA512 f29de8f33e43339e8125522b6b93ea5e50a1b5f77adb64a6040b01474d60a0c9e3a93ba43edec7f0e24a218df72bf452d66ccc5f8c6199c9cd50e46637c8e845 WHIRLPOOL ec29c05f2e3198fc365bd6189a48bcbda19fb3ae4f57616fba7c0a0717b74150b3053b52a7fd584dbd49a5a9a475b00ea86a667362bdeff3d6201dd27ee2c43a
DIST opera-beta_43.0.2442.7_amd64.deb 51007408 SHA256 c7a2e8055728ce8cfdea41ed5bc4a95dac0c99dcc332cec1d5c35bb532114f55 SHA512 0a312364409803614f8c56761ea04a1b8e91bb1a2e9b847b47798bad46cdf97a9921e0868f4db46aea12b9415bc7d27746c36148a814c83f324e6fcf73b85b09 WHIRLPOOL bce27f75fc815df2287f1ed3f66c3f2a30fc22d814bb5049471385705170435bb332179e65ca8de7d10fb5c7e91a86a7d4973a7b9d6742914537e995cde7fcc3
DIST opera-beta_43.0.2442.7_i386.deb 51991722 SHA256 5a0cf2f729f81bbb593a4d915c9986ecf1fed7db75bffef49fb126154a3bbb8f SHA512 51a582925ee2cfba04f85413c27a983cf246b68630e7e61b677453d8583edf3766ae077309e289ab6a92f064e83a1ba7e55a2b27ba32c8f54ae30ed3762740f0 WHIRLPOOL 30bde90b06877c3640eb073db5071577f8dcb0105baf72e0e8ef5a35c097517a65dddb49061e4f37daae66357e0f4b3656986724c2c687b734367430640d1ae2
diff --git a/www-client/opera-beta/opera-beta-43.0.2442.21.ebuild b/www-client/opera-beta/opera-beta-43.0.2442.21.ebuild
new file mode 100644
index 000000000000..4cb28fdd8f40
--- /dev/null
+++ b/www-client/opera-beta/opera-beta-43.0.2442.21.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+CHROMIUM_LANGS="
+ af az be bg bn ca cs da de el en-GB es-419 es fil fi fr-CA fr fy gd
+ he hi hr hu id it ja kk ko lt lv mk ms nb nl nn pa pl pt-BR pt-PT ro ru
+ sk sr sr-ME sv sw ta te th tr uk uz vi zh-CN zh-TW zu
+"
+inherit chromium-2 multilib unpacker
+
+DESCRIPTION="A fast and secure web browser"
+HOMEPAGE="http://www.opera.com/"
+LICENSE="OPERA-2014"
+SLOT="0"
+SRC_URI_BASE="http://get.geo.opera.com/pub/"
+SRC_URI="
+ amd64? ( "${SRC_URI_BASE}${PN}/${PV}/linux/${PN}_${PV}_amd64.deb" )
+ x86? ( "${SRC_URI_BASE}${PN}/${PV}/linux/${PN}_${PV}_i386.deb" )
+"
+KEYWORDS="~amd64 ~x86"
+
+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
+}