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 CD3C3138350 for ; Fri, 17 Jan 2020 09:21:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 886B0E085B; Fri, 17 Jan 2020 09:21:58 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 615BBE085B for ; Fri, 17 Jan 2020 09:21:58 +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 E010034E182 for ; Fri, 17 Jan 2020 09:21:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6D720AA for ; Fri, 17 Jan 2020 09:21:55 +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: <1579252913.b78ae996372affd16204dac4ea1a08d85ea60b5d.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.11.1792.3_p1.ebuild X-VCS-Directories: www-client/vivaldi-snapshot/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: b78ae996372affd16204dac4ea1a08d85ea60b5d X-VCS-Branch: master Date: Fri, 17 Jan 2020 09:21:55 +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: 3508da4a-1915-4312-aed2-3b181b110880 X-Archives-Hash: 8a3a0ccf362211849b3242c8153fd83e commit: b78ae996372affd16204dac4ea1a08d85ea60b5d Author: Jeroen Roovers gentoo org> AuthorDate: Fri Jan 17 09:21:10 2020 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Fri Jan 17 09:21:53 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b78ae996 www-client/vivaldi-snapshot: Version 2.11.1792.3_p1 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Jeroen Roovers gentoo.org> www-client/vivaldi-snapshot/Manifest | 4 + .../vivaldi-snapshot-2.11.1792.3_p1.ebuild | 115 +++++++++++++++++++++ 2 files changed, 119 insertions(+) diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index d92a4479075..3c53cf71b7f 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -6,3 +6,7 @@ DIST vivaldi-snapshot-2.11.1789.3_p1-amd64.deb 66794184 BLAKE2B cc987d6f85f3afc3 DIST vivaldi-snapshot-2.11.1789.3_p1-arm64.deb 59673068 BLAKE2B 682e58855f16a351704f29fec4108c0a5c8502b81a6593dad63439e2cc64301f14b87959cb712752b3aaeac1a6e0287dd01fffef15d3a933a1451bb76f0eaa67 SHA512 fce002a95f19aba2ed601a76990d214c096406200a7e1229b4750ac754031b98521ab58a7cf1454a7b828b9f3a76ec95a5ade3a315329c44a829888b364ed959 DIST vivaldi-snapshot-2.11.1789.3_p1-armhf.deb 58925220 BLAKE2B 0e4dd9676dcb0fc0dfa8b3e0a2f9171439226d0f0f30ebf4ffe69a0cf90aa263784571d60d229e72d9d54eb211fd9456e072bc50968e32e8283c3a820a62d52b SHA512 20752e01d097991a70df671b202469577fde6ebd103a96cf1d90517a630a9cf5d792c732286da56fa946ac6f26436128410188d5d658bc9521f5b9c909f3396d DIST vivaldi-snapshot-2.11.1789.3_p1-i386.deb 65209592 BLAKE2B f5a1c3cc7bf9676eb98bfe7f6b2e9e450d0019e0edbf9ef46d9237f92e2576a7bd2693bede284e4c317d68b53cc501a6523f344216586f9ebc0ca529af7685e5 SHA512 e9953c9f6cdeaa64591e17de46351c066a7f84f41148378c7b93274b3f93c68a04e4fc7e0ddfc8bbee4a6daffaf76090c020b376ecac4fa8d7f7cd6a1b982c02 +DIST vivaldi-snapshot-2.11.1792.3_p1-amd64.deb 66784692 BLAKE2B 3a73c5e118c55d2a11398b1e3e53f97f6920768559e5e5845fa7932b0d807214f985ad3c284e6f88a0b15ae0d04858e1683b95c5d416869bcf2021fd4bd6e8bb SHA512 d068606cb30696235877082f1d8ca18cc901eeb32bb1a787fbf4833b3ea44acee0b450047077c6afdc55aa8a62dd6a2c7cde7d811caadd102b6c9057a64d2877 +DIST vivaldi-snapshot-2.11.1792.3_p1-arm64.deb 59657680 BLAKE2B 234926d7065e97c4570fbbf5f501428d221dfd85d2d2ead8535980215d1a99a2ecb3558e85a61bd0acd8729a2cd81130ca0b23301a7728c716e746acea65e03b SHA512 959962de75e789ff1c7852a11888e00d3528640584e59ed303c7787192e6db4f448450a0c98386c16557ec4dedda953bbdda90541f1b2ae7d74877f9827681f1 +DIST vivaldi-snapshot-2.11.1792.3_p1-armhf.deb 58939352 BLAKE2B cc85395aa9972f60ec3b7abb795ba7043f1c389c216d487d39ee401f4fad0087730352efd24e43662f3262d78bb62cd34da3a1d18c6b1f0c49ce2ad61883ba8d SHA512 09666e226ef68a9551aa1c74c9386e8d94b2c59ad8c51dd208b597721285b5d22a2211b6e189f448665b387223b65f6b4a6e292953662aaa8bbdeebbb0711523 +DIST vivaldi-snapshot-2.11.1792.3_p1-i386.deb 65234280 BLAKE2B 98e57d37fa66f00dbedaa5fdb7a4d13d9648cc12f44992622d4773b066fd02b69c908676461b709bc0af44a50b076bc3d701b5a3d7fced61ad751543b4da5c84 SHA512 ce90f6cb484ef33261a8ddd872731eb35d1fdad5b24dcee24752712e0d84b08408a386f11f378fc7d5afd369be56a03674620493b4460e312e9e8c2a692ab3a5 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.11.1792.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.11.1792.3_p1.ebuild new file mode 100644 index 00000000000..23aeb880ad5 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.11.1792.3_p1.ebuild @@ -0,0 +1,115 @@ +# 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() { + 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 +}