From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1111398-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 067B4138334 for <garchives@archives.gentoo.org>; Mon, 16 Sep 2019 13:07:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4A930E099E; Mon, 16 Sep 2019 13:07:06 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 23337E099E for <gentoo-commits@lists.gentoo.org>; Mon, 16 Sep 2019 13:07:06 +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 797E934B235 for <gentoo-commits@lists.gentoo.org>; Mon, 16 Sep 2019 13:07:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D515D778 for <gentoo-commits@lists.gentoo.org>; Mon, 16 Sep 2019 13:07:01 +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: <1568639219.efff75445a4a42de35be11e23ed590799f1dfa0c.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.8.1664.25_p1.ebuild X-VCS-Directories: www-client/vivaldi-snapshot/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: efff75445a4a42de35be11e23ed590799f1dfa0c X-VCS-Branch: master Date: Mon, 16 Sep 2019 13:07:01 +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: fab1937d-1361-4ba4-9920-ca1800e2e8e9 X-Archives-Hash: 282c6132983873f0d4a1089a32582083 commit: efff75445a4a42de35be11e23ed590799f1dfa0c Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Mon Sep 16 13:06:08 2019 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Mon Sep 16 13:06:59 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efff7544 www-client/vivaldi-snapshot: Version 2.8.1664.25_p1 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> www-client/vivaldi-snapshot/Manifest | 3 + .../vivaldi-snapshot-2.8.1664.25_p1.ebuild | 115 +++++++++++++++++++++ 2 files changed, 118 insertions(+) diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 993fb3f0c87..6456b6e6fe3 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -1,6 +1,9 @@ DIST vivaldi-snapshot-2.8.1662.4_p1-amd64.deb 64473408 BLAKE2B 75dc4cfcb844fc4fa6730a125084c3efb644f435ccca553312a3b71a21ea60f5eb012f315c087edfb3349a3123cab8acd2b1d5e9f2aff18a8d9e764eafaa9677 SHA512 62914638e2e6cdef5f9075b977fef693492793173b45cb5bfea7ef44419a0db6ec1d0d9a77dd4ceda999029b5d5dd574210363a44ad72bad62f4af1fd937eb36 DIST vivaldi-snapshot-2.8.1662.4_p1-arm64.deb 57681488 BLAKE2B b2c2db3da90fe5cdd30b9d5b43153066499f38f9ba49e68f2903f9ea9ea85617406fa81feff8f0785bca008d4d3ed639aff5799fbaf1a9dc211e410f55b97d1e SHA512 816795edf23cf863dbe3aaacdf9188f6c11172d20edc9a1138f2e20d963d95fbff1dc587fe47ce057b571bbcb50aa31f4b155199151b47ab568fddacdea1cd26 DIST vivaldi-snapshot-2.8.1662.4_p1-i386.deb 62760156 BLAKE2B e5595de66d5940d14e53e0c78f25c7347378be18ee9e3af8563c5f75518f99df62a4383df63582f49765500c31f9996e23bba3b7522789e574da3f91ff3ad573 SHA512 f4e28e7ab6558a2189a2916d32f9f391403b97d4156c317f1e33bacd05efc5a8448b04b4dc0371c09717b6669531ec6ca3623401877e8e873859fad881b74f88 +DIST vivaldi-snapshot-2.8.1664.25_p1-amd64.deb 64447528 BLAKE2B 84a66240d8fc21231c3c4c56df67b56d942b427605e523a34af11789e5fccdb980cd48a5d282f49ac67289518e1938f3fb8c585433190b1e0d41823b959f9dcb SHA512 8beee9dcab599102d9bcf8ed08379dbe8e183b18cbd8df244d5a8c3dc0ea7fedfcf0fe1a4de3c5469ce4b36862bab01ba41b684cac9454051bc5a888f388f8de +DIST vivaldi-snapshot-2.8.1664.25_p1-arm64.deb 57552556 BLAKE2B c6b5706923d227dc2ba21fdbb87a2aa2d0ab1e94b78fa581d3c4f38a6d0135758001e872a5cf05844e0af1d21d7966924fb38669ebb77d5eb1a91fce5ad0230d SHA512 67ab0ed7e91dc569c2c9aaa8655bb731ec3efb3c71b661b3548d9ffe7ac0fbd617a732c4dbcf0ae48d7c596e484935f47480eaa1621f1c08e5360cb7a278528e +DIST vivaldi-snapshot-2.8.1664.25_p1-i386.deb 62754064 BLAKE2B 6f3183257b012febaba58a7056e2fb5a4907c85babed54a8e800d14d004e7e797065d573acdeb2876ccfcff6441ac98369b1bafa2d61b2a34333fda3493aa202 SHA512 d1093ea8aed78c557ad081e2ff04fa168e4592ad2231d1d3bf1ae81d7e20867bead05f010d18ed71610aea3e236d642c457fed1963783b482750d3b221afb4dd DIST vivaldi-snapshot-2.8.1664.4_p1-amd64.deb 64446980 BLAKE2B 6ece15767fdc7d7efaacdb00f3ce74341dd2abeddfbf1ffdade2d2573fdf67addc79315abe273be674109df4e73c88643604bc8a6f4cd0c3d75b4067fb42ac26 SHA512 f88836297e122a98531ae7b6e0e19eb9b2ffcfee1558dbaebcb292c8e5a418d6c864b45c5a569c737756c16f686b303387d2bb49d82fddb28ba36ab0e3080d4d DIST vivaldi-snapshot-2.8.1664.4_p1-arm64.deb 57674972 BLAKE2B 3c87b7c8511dc1603694fd3e1021d9f3ae2a2b790de96cb2270e5ae600276bb036d46ca571f76cb5920100244ecefb142d329c178b50628130be276128595217 SHA512 4831a48b14a8d76dcc2e320b6710b63dd22ca182929b086e99c73af51497ee68733d7dd30a2af83a4737e45f48f0fcf6c962096388d75fbfb1af54d678695445 DIST vivaldi-snapshot-2.8.1664.4_p1-i386.deb 62750860 BLAKE2B 19f0795a016f9d169f10eba39737ae4ef55b24d10ffc7ec4ab658e1b96274fd131392cec02edfc3fcf75484a426d0a177c57a4ca88715635fd61fc55eb85592e SHA512 f00fc5db598c8799ca6bee9548a8d8279dbf9ed643a73fda6570511053206712e4ee6978dedd6cec271fada69e33525ecc6a6fd16c0081efbf16f349a6989faa diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.8.1664.25_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.8.1664.25_p1.ebuild new file mode 100644 index 00000000000..3777ea957e1 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.8.1664.25_p1.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2019 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 ) + x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb ) +" + +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="-* ~amd64 ~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} \ + ${VIVALDI_HOME}/libwidevinecdm.so \ + || 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 +}