From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-952679-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 3A8CC139696
	for <garchives@archives.gentoo.org>; Mon, 29 May 2017 14:32:14 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 8145AE0DFC;
	Mon, 29 May 2017 14:32:13 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 532E0E0DFC
	for <gentoo-commits@lists.gentoo.org>; Mon, 29 May 2017 14:32:13 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id A7EA53416E0
	for <gentoo-commits@lists.gentoo.org>; Mon, 29 May 2017 14:32:11 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 6873B746C
	for <gentoo-commits@lists.gentoo.org>; Mon, 29 May 2017 14:32:10 +0000 (UTC)
From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" <jer@gentoo.org>
Message-ID: <1496068328.326c45c9ed5a5a61d0b5c3cd4698f436c64f403f.jer@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/opera/
X-VCS-Repository: repo/gentoo
X-VCS-Files: www-client/opera/Manifest www-client/opera/opera-45.0.2552.881.ebuild
X-VCS-Directories: www-client/opera/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: 326c45c9ed5a5a61d0b5c3cd4698f436c64f403f
X-VCS-Branch: master
Date: Mon, 29 May 2017 14:32:10 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 8f3a95d8-d03f-4562-a976-62eda114ce78
X-Archives-Hash: 5f7d172faf50ade7dc1fb6cdb3a39b7d

commit:     326c45c9ed5a5a61d0b5c3cd4698f436c64f403f
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Mon May 29 14:31:53 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Mon May 29 14:32:08 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=326c45c9

www-client/opera: Version bump.

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 www-client/opera/Manifest                   |  2 +
 www-client/opera/opera-45.0.2552.881.ebuild | 91 +++++++++++++++++++++++++++++
 2 files changed, 93 insertions(+)

diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest
index f53239c703f..73e3fac5313 100644
--- a/www-client/opera/Manifest
+++ b/www-client/opera/Manifest
@@ -4,3 +4,5 @@ DIST opera-12.16-1860.i386.linux.tar.xz 13154668 SHA256 df640656a52b7c714faf25de
 DIST opera-12.16-1860.x86_64.linux.tar.xz 14018800 SHA256 b3b5cada3829d2b3b0e2da25e9444ce9dff73dc6692586ce72cfd4f6431e639e SHA512 c1289f352ea5fc8133b105771f48fdc56ccd770920330b1a0ed939ff909abc68081447673572eabeb1aae6db5194b6ab35c93afad78a91d8f7a9a0f91e81ef8b WHIRLPOOL 539cdf43b4c8175c664fbf786b27ede1d33e58c44f75229a1a50612951136f526d646f3e0444b6cc69961259c3e3ef7dbf722b520abb4d4dbb98032c4de335d1
 DIST opera-stable_45.0.2552.812_amd64.deb 51210560 SHA256 39ba2340cfc5752db90ed1118681cdfc07657df061eaace49ac0a1b91492c175 SHA512 169204956af765c86d2158302cb3a9eba7d44b0a3e5d03599c2e010e8eb435e5cab4667d4430e401e910f1db6e2f6ccf9e05bdbd725dbd0d2be6a11057ab5332 WHIRLPOOL 35754530f0f6881cbbec857daf79221d2093e8b6eb3deb80dd0b28bf897de1905d85a09f79ec89ffe336523631e94ecabcfb540c1ad908eb3553e09524a32b67
 DIST opera-stable_45.0.2552.812_i386.deb 51856542 SHA256 82566f9fd4e76c0adf765c4d6ba194ae670298ab77ca7bcf6f0aed21393f1062 SHA512 a0880c047ed3ead1adda69d1df2d0a406024211f3e14b0da04423d92cf2c3f8093e8ae74a9443b3b6a9eb4820ce51ad58674c94765dd985f950ddbfe5c4d1d51 WHIRLPOOL dfaff8ddbbed9248fb8bf4c40530f88950b0acfb2733ce509dbab775c7fa32df5d9b624bdb0afae7d31df289550d28793924b5f5a922a50ccc307f8dbf944e9c
+DIST opera-stable_45.0.2552.881_amd64.deb 50634394 SHA256 ade69d265e81bdb8328ad16165f14daa6507c02aa4131bf3cff538600ca12b9d SHA512 d4dca0ab70a815ad7940a9302817a793e0e00d59538375165e2bec88835a39954ed2e5e2536553d14df075bf0be54f74496e938d78e6a74bae4ae2db03bca352 WHIRLPOOL 3d6b6915a7140cec7d674ccd576cc1c5e4b0d6234456427e388a8c3778007f2e2f7c169e15724fab0b3cdfef3c4c8369063e72c6f028844351c1c241b0bf854d
+DIST opera-stable_45.0.2552.881_i386.deb 52115274 SHA256 8d67f43f38db1905a7649c168ed978c2e5c98d8cf09842473ca223d1f43177b8 SHA512 621e3425a229ea06e24735f794df152d4a8d35cee861614e485d8dc9014d651d02f07f011aef66a586c8d313f7f6bea794835935ef507286986bbb618478a27e WHIRLPOOL 5fd63d5b5108b3790818ce0537309351a77af14768ad582adf9f775814dd409e3f9af29781bfc71b901fac2ed6b9a566b3aa982cefb5bc375a4755dbc167990b

diff --git a/www-client/opera/opera-45.0.2552.881.ebuild b/www-client/opera/opera-45.0.2552.881.ebuild
new file mode 100644
index 00000000000..c8d3552bca1
--- /dev/null
+++ b/www-client/opera/opera-45.0.2552.881.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2017 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 he 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
+
+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}/desktop/${PV}/linux/${PN}-stable_${PV}_amd64.deb" )
+	x86? ( "${SRC_URI_BASE}${PN}/desktop/${PV}/linux/${PN}-stable_${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
+			rmdir usr/lib/i386-linux-gnu || die
+			;;
+	esac
+
+	rm usr/bin/${PN} || die
+
+	rm usr/share/doc/${PN}-stable/copyright || die
+	mv usr/share/doc/${PN}-stable 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
+}