From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1178663-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 11D481382C5 for <garchives@archives.gentoo.org>; Wed, 10 Jun 2020 08:46:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 59B8AE08EC; Wed, 10 Jun 2020 08:46:50 +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 35D7EE08EC for <gentoo-commits@lists.gentoo.org>; Wed, 10 Jun 2020 08:46:50 +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 1319734F1F9 for <gentoo-commits@lists.gentoo.org>; Wed, 10 Jun 2020 08:46:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8FFB59C for <gentoo-commits@lists.gentoo.org>; Wed, 10 Jun 2020 08:46:47 +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: <1591778804.d394f2f58fb8a7b96b24c5efc82366906f5814e4.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.28_p1.ebuild X-VCS-Directories: www-client/vivaldi-snapshot/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: d394f2f58fb8a7b96b24c5efc82366906f5814e4 X-VCS-Branch: master Date: Wed, 10 Jun 2020 08:46:47 +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: 0ba9eb41-9fc9-4ee1-a228-37af19382538 X-Archives-Hash: 4401084fce3e1dd14724cdaf8e81520d commit: d394f2f58fb8a7b96b24c5efc82366906f5814e4 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Wed Jun 10 08:42:23 2020 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Wed Jun 10 08:46:44 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d394f2f5 www-client/vivaldi-snapshot: Version 3.1.1929.28_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.28_p1.ebuild | 116 +++++++++++++++++++++ 2 files changed, 120 insertions(+) diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 64bbb2221d6..9a31c8dfa72 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -6,3 +6,7 @@ DIST vivaldi-snapshot-3.1.1929.23_p1-amd64.deb 70987724 BLAKE2B 258c517728f77958 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.28_p1-amd64.deb 71007352 BLAKE2B bb9be0f5e33ed6c8448cc1bd862da190846d5b272189cb3453d644d08755e99569702bd331e552c53a3a4abe680445888c47f6819f52a465277e94bed2e34a17 SHA512 b9933a2f9bc0d1a5e32affe1be38be608afe452da5fee044ecc813c7d39eda1958a6839500c579aa16e3cacd4c23a80425f4daf1e730b8a5b627e82e7545a4c0 +DIST vivaldi-snapshot-3.1.1929.28_p1-arm64.deb 63480852 BLAKE2B 8b7152bade8a1d573cdad256b1d8b0a829c0580aaea035a5ecd3b71ab52a32ed1a2f00da1416bf1cf0f43568c282066a4f7c55265a6f8f37a12d82cc0866ce47 SHA512 9174d28e41fe029bdcbe587327d4add2425d5341759750e49059c36bb8dd8af4c49de05b5487c629073a3dfc5984279872b86cf0a077a89bea1307613ffabcd3 +DIST vivaldi-snapshot-3.1.1929.28_p1-armhf.deb 62914704 BLAKE2B e9a06d3e527a46fa9945302a23bc03f4644fb97a241ad55f91c19aa532c4e8823af8cba2f427acfe4fabef11950502f230e8c18b3347c75145fbf396a0cbbb6c SHA512 3500c8450a3d64336d103ce2b2c82c6769508e8e304ff880b69d7af538e17e09e02d21e76a52f47f13c779abedb7693aef5a36bd9e65b61334a3234fb35f800d +DIST vivaldi-snapshot-3.1.1929.28_p1-i386.deb 69398944 BLAKE2B de22baaf2f62a7af9a444f435d6c124f8348b6958e66f42557cee728aa8f245dac949ed893c76cc0913098bed4caf40119ba1e6fc4e497982c6d2fcc04221a58 SHA512 287fce3cd196c96a160976efa9354403f2dbf395d99051890f1a346f2406fac97f812f59951b2c6643cd71076dc596b99d56972cebd61e4081e7549afcb64281 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.1.1929.28_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.1.1929.28_p1.ebuild new file mode 100644 index 00000000000..db3613b057e --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.1.1929.28_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 +}