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 E11F6138350 for ; Tue, 17 Mar 2020 21:21:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD92CE0891; Tue, 17 Mar 2020 21:21:11 +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 9E944E0891 for ; Tue, 17 Mar 2020 21:21:11 +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 85C4634F19B for ; Tue, 17 Mar 2020 21:21:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F00CD103 for ; Tue, 17 Mar 2020 21:21:07 +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: <1584480065.faf76808b17e7728749a178f8b8426fcd91e85ee.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/vivaldi-snapshot/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/vivaldi-snapshot/Manifest www-client/vivaldi-snapshot/vivaldi-snapshot-2.12.1854.5_p1.ebuild X-VCS-Directories: www-client/vivaldi-snapshot/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: faf76808b17e7728749a178f8b8426fcd91e85ee X-VCS-Branch: master Date: Tue, 17 Mar 2020 21:21:07 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5b06f529-1933-4057-b897-cf877d7b9ff4 X-Archives-Hash: a6e901eb105646c98d6cf2097ff8b047 commit: faf76808b17e7728749a178f8b8426fcd91e85ee Author: Jeroen Roovers gentoo org> AuthorDate: Tue Mar 17 20:25:28 2020 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Tue Mar 17 21:21:05 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faf76808 www-client/vivaldi-snapshot: Version 2.12.1854.5_p1 Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Jeroen Roovers gentoo.org> www-client/vivaldi-snapshot/Manifest | 4 + .../vivaldi-snapshot-2.12.1854.5_p1.ebuild | 116 +++++++++++++++++++++ 2 files changed, 120 insertions(+) diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index d65e7ea02c5..e0172b4da17 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -6,3 +6,7 @@ DIST vivaldi-snapshot-2.12.1849.7_p1-amd64.deb 69022216 BLAKE2B 75591766cb086559 DIST vivaldi-snapshot-2.12.1849.7_p1-arm64.deb 62104856 BLAKE2B 67f7d0d72f1b938c6f19049e6c4a571b51d60a2d09879d2939f7483e5028e97bd7e5d28472a7d2c748ca098046e911bf41cb405fc0ce9fe35801c90c0273d598 SHA512 4d6dd1849e7f068fbfa11cabb57b661a43fea41503037c6a7bda094cbdd2678bbee1fe82e8ae21ea7ce9f67d96966df7521ddd10d1a4da091d327915b8a92eb3 DIST vivaldi-snapshot-2.12.1849.7_p1-armhf.deb 61454136 BLAKE2B 2f3333f335cfc9cefd99c5ab32f3ba125d857e32781f3a77c942b5d0f61cc8a9e29f1975365b1b96feca6f73137bc1c6536d5ebd6fe69ad531ab1a1a38769e54 SHA512 0ce4d26df66ebb7251e03187ee9ae044cd3389e1aa211912501be67a6f6cf1a6135181172315147c81c5e423ab3ffdd75ed3773285764a01b281279e4be49d47 DIST vivaldi-snapshot-2.12.1849.7_p1-i386.deb 67761108 BLAKE2B f557393a7cd622b456e1e77bc968ed8cd1684b36afbee5e6be18be68190708f888dc22a7cd11fc2b9e5bad9d19bacb2525f40ba29142fa68f8ff2429cd89dcc5 SHA512 38ccccc39a027ae8780eeccbbcfa71640d20f4e8d9936da30f08475e2f0a3c61df80af16f3d5ba9fe5fa659c7c9a5bb68bc45372cf426c8d85b14c93fbcb3951 +DIST vivaldi-snapshot-2.12.1854.5_p1-amd64.deb 69002036 BLAKE2B e1d698dae1437105541c6680fd5ee930aa3c46260f251443b2d44de13e8655036992f7ec5f1761319a36b90a36af2c55b5ac13c553dec21103b8bb89feb90d0e SHA512 63d2e890db4ee7ce6d7a4c1474370edb376fd59c54594e21525183968d4add188bda44d1239f69fe9ea2160038cafbcf6b9458321ca6c89c6282165c91bcb0bd +DIST vivaldi-snapshot-2.12.1854.5_p1-arm64.deb 62122488 BLAKE2B ee13ae5e325a61a86cb907605e48e38f2ffbc1b25626e4620db64c95edbfaad405ba403d5bd75b25525f7c15422470eb0a777b97fd552472dad4e68d5381e559 SHA512 ed2068abfd65cad26702133b7a4a786bb7d7f7306900be9481cdd95850271ee3007f1e7bf17726f9f25bed4fd2012ed3259062ad87f1063de5730d2968cdccee +DIST vivaldi-snapshot-2.12.1854.5_p1-armhf.deb 61469668 BLAKE2B 0ceb4533c36056118f2811a468157afb971dcb2118477e19158319a137257400bc7e51963ed9b2f8ab2fd03f995b2a93e5d2d2496eca605a28a2376f70a0c2ea SHA512 b6de87145753d67c01180183450a2174e3ac71ad89aedfe681613b1d09b0d1a53ba9391ab5e4166d03efb68a57dca86effde1ccc74ae61ef083e9d6c3e95096f +DIST vivaldi-snapshot-2.12.1854.5_p1-i386.deb 67754680 BLAKE2B 1790e0a7cf1b6ce97261a6f4d00d0bbd506760ecc2bcfc3a37b1ec43e4e2e03c87a14da86cb55350daafbd86477d848a7e2fa562591c78c59ff2b8c109732eea SHA512 7a709092bddd50e1ceb692f65d6c1ab6c879deb5d22fa8e7f3a8dbf5ea5a394dc0a738431f0b359eb7de8d85591b83af3be09dc23967e066ae408e1a3e484100 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.12.1854.5_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.12.1854.5_p1.ebuild new file mode 100644 index 00000000000..db3613b057e --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.12.1854.5_p1.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +CHROMIUM_LANGS=" + af am ar be bg bn ca cs da de de-CH el en-GB en-US eo es es-419 es-PE et eu + fa fi fil fr fy gd gl gu he hi hr hu hy id io is it ja jbo ka kn ko ku lt + lv mk ml mr ms nb nl nn pl pt-BR pt-PT ro ru sc sk sl sq sr sv sw ta te th + tr uk vi zh-CN zh-TW +" +inherit chromium-2 multilib unpacker toolchain-funcs xdg-utils + +VIVALDI_HOME="opt/${PN}" +DESCRIPTION="A browser for our friends" +HOMEPAGE="https://vivaldi.com/" +VIVALDI_BASE_URI="https://downloads.vivaldi.com/snapshot/${PN}_${PV/_p/-}_" +SRC_URI=" + amd64? ( ${VIVALDI_BASE_URI}amd64.deb -> ${P}-amd64.deb ) + arm64? ( ${VIVALDI_BASE_URI}arm64.deb -> ${P}-arm64.deb ) + arm? ( ${VIVALDI_BASE_URI}armhf.deb -> ${P}-armhf.deb ) + x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb ) +" + +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86" +RESTRICT="bindist mirror" + +DEPEND=" + virtual/libiconv +" +RDEPEND=" + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + media-libs/speex + net-print/cups + sys-apps/dbus + sys-libs/libcap + 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/pango[X] +" +QA_PREBUILT="*" +S=${WORKDIR} + +src_unpack() { + unpack_deb ${A} +} + +src_prepare() { + iconv -c -t UTF-8 usr/share/applications/${PN}.desktop > "${T}"/${PN}.desktop || die + mv "${T}"/${PN}.desktop usr/share/applications/${PN}.desktop || die + + mv usr/share/doc/${PN} usr/share/doc/${PF} || die + chmod 0755 usr/share/doc/${PF} || die + + gunzip usr/share/doc/${PF}/changelog.gz || die + + rm \ + _gpgbuilder \ + etc/cron.daily/${PN} \ + || die + rmdir \ + etc/cron.daily/ \ + etc/ \ + || die + + local c d + for d in 16 22 24 32 48 64 128 256; do + mkdir -p usr/share/icons/hicolor/${d}x${d}/apps || die + cp \ + ${VIVALDI_HOME}/product_logo_${d}.png \ + usr/share/icons/hicolor/${d}x${d}/apps/${PN}.png || die + done + + pushd "${VIVALDI_HOME}/locales" > /dev/null || die + chromium_remove_language_paks + popd > /dev/null || die + + eapply_user +} + +src_install() { + rm -r usr/share/appdata || die + mv * "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} + + fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +}