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 588B1138331 for ; Tue, 24 Apr 2018 20:46:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 523EDE09C3; Tue, 24 Apr 2018 20:46:42 +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 24298E09C3 for ; Tue, 24 Apr 2018 20:46: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 11F8C335C36 for ; Tue, 24 Apr 2018 20:46:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 503D1299 for ; Tue, 24 Apr 2018 20:46:39 +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: <1524602794.fb25de6dc90d2d09dc19908b2af12e0528fc5fca.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-54.0.2934.0.ebuild X-VCS-Directories: www-client/opera-developer/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: fb25de6dc90d2d09dc19908b2af12e0528fc5fca X-VCS-Branch: master Date: Tue, 24 Apr 2018 20:46:39 +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: 8f6b757c-2cc3-4afc-8846-0225618c4941 X-Archives-Hash: cbfdb2a5ba2354e13c67a2929a48eff3 commit: fb25de6dc90d2d09dc19908b2af12e0528fc5fca Author: Jeroen Roovers gentoo org> AuthorDate: Tue Apr 24 20:45:41 2018 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Tue Apr 24 20:46:34 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb25de6d www-client/opera-developer: Version 54.0.2934.0. Package-Manager: Portage-2.3.31, Repoman-2.3.9 www-client/opera-developer/Manifest | 1 + .../opera-developer-54.0.2934.0.ebuild | 114 +++++++++++++++++++++ 2 files changed, 115 insertions(+) diff --git a/www-client/opera-developer/Manifest b/www-client/opera-developer/Manifest index 61a7bb329f5..fd88b8c60fc 100644 --- a/www-client/opera-developer/Manifest +++ b/www-client/opera-developer/Manifest @@ -1,2 +1,3 @@ DIST opera-developer_54.0.2920.0_amd64.deb 54792622 BLAKE2B 0f53613ac96be1d6b4bdce9fbaf05abd2ba76bc5ae9216ce3b830cff4ee800e8396503ac3524596c72e9351df14aaf8285d2fbef82e32bb50ce731f09201c9a9 SHA512 f90703ea6d2472d03ff2f96124b74b7165d30257ad2c8c3ab19a6af701197d7258f1a8c84cd266061052d4ba75ae6d09dce8e3701e257bd756fdd4685697a535 DIST opera-developer_54.0.2929.0_amd64.deb 55440718 BLAKE2B ecc20106b19d4ce687dc525b536adfcf4b8bb9bdab26791fc28eaa9e68d3b8b58df4ba7c42d5caefeb9ab1bb4062e08b60ccadb3bad837a393e1290a5ea4667a SHA512 5a3dbdac8fa4578db6e37f9d2f0ef30cd6fea7195a25d736572195a9cdd4a818ab0cfc47605b835ce2db32c0ada09ccc25c13698ba0d9bd46a85470a5de5b6ca +DIST opera-developer_54.0.2934.0_amd64.deb 55198712 BLAKE2B 1d94cb440146405d27f9757d8175d0bb44151f272bc948595d2f69d37d88155278d6fae86bee25982ecc8eee85414551cea5e8a7c4eb04756a0d518f92fce491 SHA512 7fc9189d63871626a33454201c51f460bab85356b1a6e31b81b9fd199b75838e5af3a704d5fcc38cc23d30aea6626ee008c7d7773a0ee20db2c5e3fd93ed53cf diff --git a/www-client/opera-developer/opera-developer-54.0.2934.0.ebuild b/www-client/opera-developer/opera-developer-54.0.2934.0.ebuild new file mode 100644 index 00000000000..12a41bce61c --- /dev/null +++ b/www-client/opera-developer/opera-developer-54.0.2934.0.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 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 +}