From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-984301-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 00BEC1396DA
	for <garchives@archives.gentoo.org>; Thu, 16 Nov 2017 09:58:01 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E8390E0C2F;
	Thu, 16 Nov 2017 09:58:00 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id BA960E0C2F
	for <gentoo-commits@lists.gentoo.org>; Thu, 16 Nov 2017 09:58:00 +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 31B9333BF0B
	for <gentoo-commits@lists.gentoo.org>; Thu, 16 Nov 2017 09:57:59 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id BAB049C86
	for <gentoo-commits@lists.gentoo.org>; Thu, 16 Nov 2017 09:57:57 +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: <1510826210.bdff0023d0f82ee3e3f13b0665df0407e8fe7102.jer@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/opera-developer/
X-VCS-Repository: repo/gentoo
X-VCS-Files: www-client/opera-developer/Manifest www-client/opera-developer/opera-developer-51.0.2776.0.ebuild
X-VCS-Directories: www-client/opera-developer/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: bdff0023d0f82ee3e3f13b0665df0407e8fe7102
X-VCS-Branch: master
Date: Thu, 16 Nov 2017 09:57:57 +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: ec8be921-bcf7-4645-b444-4181f4123a2f
X-Archives-Hash: 5d6f7035dbb56cac020e0d66e8018965

commit:     bdff0023d0f82ee3e3f13b0665df0407e8fe7102
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 16 09:56:50 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Thu Nov 16 09:56:50 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdff0023

www-client/opera-developer: Version bump.

Package-Manager: Portage-2.3.14, Repoman-2.3.6

 www-client/opera-developer/Manifest                |   1 +
 .../opera-developer-51.0.2776.0.ebuild             | 114 +++++++++++++++++++++
 2 files changed, 115 insertions(+)

diff --git a/www-client/opera-developer/Manifest b/www-client/opera-developer/Manifest
index 5c3943a3e20..402508f4952 100644
--- a/www-client/opera-developer/Manifest
+++ b/www-client/opera-developer/Manifest
@@ -1,2 +1,3 @@
 DIST opera-developer_50.0.2753.0_amd64.deb 50446720 SHA256 b265d88d484e8dd66bebc85914503031b4275d4bf79c5b4143e9295bc480e4c1 SHA512 1babfa6a4ec10ee28d3c1a034dd610bb557473e264b7db29355c014a9a4f2f975834e8d6cf8334f692862a99a4a9b39db1e9528fd9be8c969adb1f56b9ba3c43 WHIRLPOOL 7c4c3ca31650a7703bd6a5aaae1e5196d8b8a9493c15f26a35389803d2c5020f2a3ecd6aa82e1236799d269c8c0ffe10cf553bcdf9cd6ef6e76ab4193109bf66
 DIST opera-developer_50.0.2759.0_amd64.deb 51810430 SHA256 e5a8a734c337d40c8f1a09c6cee9fb9023ed1cea2dee16e23aa53ecce6bd72c7 SHA512 f25741b0520c21fc795255126604c27ea63020b3f8cb52e751c3c8cfc2ac0dedc1c93e4185c19489cab3d325cc327367d302c5b4f5e05e98029578de5fe17c00 WHIRLPOOL 2658497fbc2a7e9a589d230ba9980ab513277ed01dffa6435db21f100920644dc1e9e567f80be351b4b6e6c50a4aa2713064fef55d0c731409ea5f5c8b856eb7
+DIST opera-developer_51.0.2776.0_amd64.deb 55610282 SHA256 33fd02e8dceeec924925b9adabe51d111b32aaddc2926d3569163b8efc8b325b SHA512 6f771526d4e04b6bb801bb67f8058cb22ca62aa2543ca67c318edc13eed11d058cb5fc998a95cea655e0957626f3d022c1151a9da627b18494c1715b3be0f57a WHIRLPOOL 692fb7d74031f93f515a7db69b749e6b4a3c3bda098c34a46439d5d378863ff924fa545bd4ec80ac1a1115d5d53468e68340b0cd9787f7cbd3778c9ab2427ecf

diff --git a/www-client/opera-developer/opera-developer-51.0.2776.0.ebuild b/www-client/opera-developer/opera-developer-51.0.2776.0.ebuild
new file mode 100644
index 00000000000..79b9f057efb
--- /dev/null
+++ b/www-client/opera-developer/opera-developer-51.0.2776.0.ebuild
@@ -0,0 +1,114 @@
+# 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 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 gnome2-utils multilib unpacker xdg-utils
+
+DESCRIPTION="A fast and secure web browser"
+HOMEPAGE="http://www.opera.com/"
+LICENSE="OPERA-2014"
+SLOT="0"
+SRC_URI_BASE="
+	http://download1.operacdn.com/pub/
+	http://download2.operacdn.com/pub/
+	http://download3.operacdn.com/pub/
+	http://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}
+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
+}