From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 A0F361396D9 for ; Thu, 9 Nov 2017 15:56:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C3897E0D1F; Thu, 9 Nov 2017 15:56:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 94772E0D1F for ; Thu, 9 Nov 2017 15:56:33 +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 DCEA133BEAC for ; Thu, 9 Nov 2017 15:56:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 717989683 for ; Thu, 9 Nov 2017 15:56:30 +0000 (UTC) From: "Jeroen Roovers" 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" Message-ID: <1510242848.88ab9c5f18c1d477a0c9b012c983f9881641f3ba.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-49.0.2725.34.ebuild X-VCS-Directories: www-client/opera/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 88ab9c5f18c1d477a0c9b012c983f9881641f3ba X-VCS-Branch: master Date: Thu, 9 Nov 2017 15:56:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 178ab8bd-af65-42a5-b918-bd0813d196ff X-Archives-Hash: edbb29faa7548f7e314f74a8aa271707 commit: 88ab9c5f18c1d477a0c9b012c983f9881641f3ba Author: Jeroen Roovers gentoo org> AuthorDate: Thu Nov 9 15:54:08 2017 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Thu Nov 9 15:54:08 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88ab9c5f www-client/opera: Version bump. Package-Manager: Portage-2.3.13, Repoman-2.3.4 www-client/opera/Manifest | 1 + www-client/opera/opera-49.0.2725.34.ebuild | 109 +++++++++++++++++++++++++++++ 2 files changed, 110 insertions(+) diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest index d694ca8a880..faee1cdf5ec 100644 --- a/www-client/opera/Manifest +++ b/www-client/opera/Manifest @@ -4,3 +4,4 @@ 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_48.0.2685.50_amd64.deb 50181884 SHA256 83c7ec7db3331de54200b7f4189acc6ca9a104b0908e05312549cd3b32ec8677 SHA512 f4e775d9e8fc1f589dda8c48e558fac93907300ff8054b9408ac656293982cf2bcbb9592279313d46efe88e2c977da6f8b39e6db8ecbe687f6135cdba2c61d5a WHIRLPOOL 56ce7a471cf9678cadad123920dcef99b1bd3349dc9576636826c679b467e2cb5ed1f7c64ccc13ff42b4d4412ed3cbdf96c5b3abae705a17ff7a9344e65733d8 DIST opera-stable_48.0.2685.52_amd64.deb 50149108 SHA256 1709b44fe1daca3df1063e0566716768c1476fc455fd6d75078d68252096f608 SHA512 ef104214ccac7e5b55ba30484dc9756036b87bc8cbafa99e7f2e06641e71385e31ce35b922b1ff50ef9eb3a7083b133e48450baacc2ffaba0c01becc855833b9 WHIRLPOOL a015885bb2e1bfa84691fb7c78b9af827aa4a17ab6533bd1546ed1231f505f2bb389623ddf57c38480c025025a9cf8a1302f9860caa809844ed1630e01f6b318 +DIST opera-stable_49.0.2725.34_amd64.deb 51440228 SHA256 84d1d0f09dba8d14e785aca8685366603f60ea99a9f929f1fe4c68e3f4872649 SHA512 178d9b24bd62daeef75a73598ee0d28a67133c16a02dca41a09194457bcc2ca356300d3a193364959085d6b958e81351f59a1e3957550fa1c3e50f91abbd0b8f WHIRLPOOL 0e0c6402a65bb7ba2a7c1a2fdcaa90db68df7f1462c14a81ce8631a8ab9761a9df60b91b8bfbc040c8fbb3b70fc169324b7328ce9cdf88e5b07d1a590bca91a9 diff --git a/www-client/opera/opera-49.0.2725.34.ebuild b/www-client/opera/opera-49.0.2725.34.ebuild new file mode 100644 index 00000000000..aead2f06e72 --- /dev/null +++ b/www-client/opera/opera-49.0.2725.34.ebuild @@ -0,0 +1,109 @@ +# 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 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/ +" +for uri in ${SRC_URI_BASE}; do +SRC_URI+=" + "${uri}${PN}/desktop/${PV}/linux/${PN}-stable_${PV}_amd64.deb" +" +done +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 + ;; + 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 +} + +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 +}