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 70DE7138334 for ; Thu, 9 Aug 2018 21:11:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0E923E09C1; Thu, 9 Aug 2018 21:11:43 +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 AF4AFE09C1 for ; Thu, 9 Aug 2018 21:11:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 A20F1335CA3 for ; Thu, 9 Aug 2018 21:11:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A0234380 for ; Thu, 9 Aug 2018 21:11:37 +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: <1533849094.b06f4856d60d730ad5581647096d44159b36a5a5.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/opera-beta/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/opera-beta/Manifest www-client/opera-beta/opera-beta-55.0.2994.34.ebuild X-VCS-Directories: www-client/opera-beta/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: b06f4856d60d730ad5581647096d44159b36a5a5 X-VCS-Branch: master Date: Thu, 9 Aug 2018 21:11:37 +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: ee7b5443-58d0-4848-ad6a-036d47ed6cfe X-Archives-Hash: 822a1c1c6d33c135b3c3e83a29f4d69b commit: b06f4856d60d730ad5581647096d44159b36a5a5 Author: Jeroen Roovers gentoo org> AuthorDate: Thu Aug 9 17:51:20 2018 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Thu Aug 9 21:11:34 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b06f4856 www-client/opera-beta: Version 55.0.2994.34. Package-Manager: Portage-2.3.45, Repoman-2.3.10 www-client/opera-beta/Manifest | 1 + .../opera-beta/opera-beta-55.0.2994.34.ebuild | 114 +++++++++++++++++++++ 2 files changed, 115 insertions(+) diff --git a/www-client/opera-beta/Manifest b/www-client/opera-beta/Manifest index cf0673bf339..bd2cc1931b9 100644 --- a/www-client/opera-beta/Manifest +++ b/www-client/opera-beta/Manifest @@ -1,2 +1,3 @@ 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 +DIST opera-beta_55.0.2994.34_amd64.deb 56117936 BLAKE2B ffb4a440dc34bbd4fc68ad7c929d575d337519098997038cc9d2d75bfc5ee22640bb28b26fb1413b2ce42537a79a776f4274f5bc290cc3623b807daebebec5ae SHA512 110d289e5f42fa0a444bf77a93a9599508d27b7e5f96a4a3721cab7b2d1a61d3cae0088e721dbbcf9c5af4eac700333798747e7137a941861e565e6b1df5bc21 diff --git a/www-client/opera-beta/opera-beta-55.0.2994.34.ebuild b/www-client/opera-beta/opera-beta-55.0.2994.34.ebuild new file mode 100644 index 00000000000..135872778f9 --- /dev/null +++ b/www-client/opera-beta/opera-beta-55.0.2994.34.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 +}