From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1178313-garchives=archives.gentoo.org@lists.gentoo.org> 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 C2BCE1382C5 for <garchives@archives.gentoo.org>; Tue, 9 Jun 2020 12:05:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B03FBE08D0; Tue, 9 Jun 2020 12:05:26 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 886D2E08D0 for <gentoo-commits@lists.gentoo.org>; Tue, 9 Jun 2020 12:05:26 +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 245CE34E7B3 for <gentoo-commits@lists.gentoo.org>; Tue, 9 Jun 2020 12:05:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A708B1DA for <gentoo-commits@lists.gentoo.org>; Tue, 9 Jun 2020 12:05:23 +0000 (UTC) From: "Jeroen Roovers" <jer@gentoo.org> 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" <jer@gentoo.org> Message-ID: <1591704321.0defed955e1a3ea2619488902595bc000feda38b.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-3.1.1929.23_p1.ebuild X-VCS-Directories: www-client/vivaldi-snapshot/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 0defed955e1a3ea2619488902595bc000feda38b X-VCS-Branch: master Date: Tue, 9 Jun 2020 12:05:23 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c489d0e2-e589-4876-93e7-fabfc9784dd5 X-Archives-Hash: 2882a40eb86359f9b09160695a3cf879 commit: 0defed955e1a3ea2619488902595bc000feda38b Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Tue Jun 9 11:57:17 2020 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Tue Jun 9 12:05:21 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0defed95 www-client/vivaldi-snapshot: Version 3.1.1929.23_p1 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> www-client/vivaldi-snapshot/Manifest | 4 + .../vivaldi-snapshot-3.1.1929.23_p1.ebuild | 116 +++++++++++++++++++++ 2 files changed, 120 insertions(+) diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 36c45ac8bdc..feefabdd71f 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -10,6 +10,10 @@ DIST vivaldi-snapshot-3.1.1929.21_p1-amd64.deb 70988308 BLAKE2B 14eab0b770368467 DIST vivaldi-snapshot-3.1.1929.21_p1-arm64.deb 63461420 BLAKE2B 070b74a35908e0ccd121b0055c37ed869fa42b38c7eb21fff2277e42c747c1ebbe6b93e8d261809d8cf364ab2777d9940d193b2fa703e46a8a038f51afa2794d SHA512 7d3bfb625a3403f8e7036c09a1822200b4d34115402fb981ba5b39644ee57256877b20551677c37c358ecd46977ef9c2e5d9ef45a6f90a8eeb0d13355177b61f DIST vivaldi-snapshot-3.1.1929.21_p1-armhf.deb 62918640 BLAKE2B adf5af4803bd0223741d5418f87b0711829b6e5f6a0ca67c44d2abc3fa01796b9dd3191bbe1e91112f3110e0135248e306839917c675fd941a06b660373d8858 SHA512 d4238256abf869005cc9fe143bced3702a5eb3c40ac3969f75fe0791d9d7128b92bd9371dc859c64a5ab168d8d63ad47ef80267312f9f87577d4d23c40566999 DIST vivaldi-snapshot-3.1.1929.21_p1-i386.deb 69384512 BLAKE2B 495c45cc02a6a542780b4baf1e01ea2688dbd55bc53b3be4ea52a538a36ae5747b1efc85837b87eb24ba26993337ac7fb1ace8e551ed1abdf5ea92766cc26211 SHA512 b991eaad24cf1635734b9e6fa9edb7f4c244a32185b37b89a121ce69e654a8e249bef12dac433a5a27cc26d6d0c17596e24020e40703b9e7b053b249be59630d +DIST vivaldi-snapshot-3.1.1929.23_p1-amd64.deb 70987724 BLAKE2B 258c517728f7795838522fadcb02ff397065dff08151eb56e308fd1fb0f7cdfc9a406c855fd4b805d803a9cdfa1458d42f2393cbecc7996e9565495f64cfed3a SHA512 8e7e708611a19c891cfdb6867bab7875dbadb7ef6fb1ca76df7e25329e7e7d583561b0cc3c44b810dda0af71a73711d4962fda2fee34b75a9c4b09eecdf5d2ed +DIST vivaldi-snapshot-3.1.1929.23_p1-arm64.deb 63461624 BLAKE2B ab79cf3180a185c0340503468af31af54db7d4250456a7bf9f6863a2316c0a6cc88af903bfc549e8887059fa1727f039c1251bc964a39ede65c4f58527bbc1c2 SHA512 459fa9f6b3c5103d16225db3c5f01baebfdb8faca7871912f4ee674150bc01c2303c887fba3c393a45b7f333cea41ad657501cbe8fa546e5cf4b4743b50585fd +DIST vivaldi-snapshot-3.1.1929.23_p1-armhf.deb 62920616 BLAKE2B 70a4207a669d427d3878b421240744d7c962f576a85387cb9319eb1477de1913e21814903fcefb64c34d937d4506444c8bb43a03c253a7828b160910f1bee1aa SHA512 889cce83e932ff0dba6ccc19583a5070d84742cbd2d3c500c4f74aaf9445b530f466357e726ebce271002897735838b5077ee474fb2f6c9f5645f76918e7b865 +DIST vivaldi-snapshot-3.1.1929.23_p1-i386.deb 69395664 BLAKE2B d382e0b17821b466b52ce019f4d3bf39b04f1c8a5377b36e45bf2b5c0b644e5b327494d29636101dd0f7a08f6e954b81ec21dcff8e12fc0009500891285eea31 SHA512 5abd7840d54f70b1582873c8ce632943b59025aaad423c2d83789343c1fee278c8467c69f2ca1d363c2eff6e1c05a05a9670aa283cf23e005d6445be8263cc46 DIST vivaldi-snapshot-3.1.1929.3_p1-amd64.deb 70973368 BLAKE2B 7388db75bd055294e5076d29e16538edb4ac2d7adae73b51c20e6d3f3f31b4e00c3325719275c750445e0be7f4413f7ef410667ffc725f488963175ba81cd0d5 SHA512 a2e7f99b411547811981c617f4c2f03a59ee9593878351a108f35128d98cedcc6e40a9336c7ddcce5d154801b6e1802d2e5ca15fadf8bea69d63433c3786a8ea DIST vivaldi-snapshot-3.1.1929.3_p1-arm64.deb 63495944 BLAKE2B 35ce0b07201861453bf5a91ab8dfb9496f260e456781de9803a159bf11fbff4420e64631fca429f5384d236900a2d85ac0348867ef866e4a1f09db0bec1add37 SHA512 e386716075ec98357a4db30a94860432aad25fa6a84fd90400f200ae3e21055831535140ad4a9ffb396367ad57c433e12a7d796a12d0ba4eb78e0cf58dc9b617 DIST vivaldi-snapshot-3.1.1929.3_p1-armhf.deb 62885396 BLAKE2B 25f1a9cfbfddb16d8bd7641517de75dbe35b6a66e1b825bc90ee31d02c4808e8ea5ea864b141e1ff3260f503bcaaa2484a29b1dd175e265dd951f732c6740720 SHA512 d872227f3d591c0693edac08cd4d0b832c5b46dd0325f8c5719e3d305c71ae94c103196c01348551a0d93cc197da52bdddef82f2286113972a124a4ae604acea diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.1.1929.23_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.1.1929.23_p1.ebuild new file mode 100644 index 00000000000..db3613b057e --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.1.1929.23_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 +}