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 12EEC138334 for ; Wed, 19 Jun 2019 11:04:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 281D8E0920; Wed, 19 Jun 2019 11:04:37 +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 E9250E0920 for ; Wed, 19 Jun 2019 11:04:36 +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 849233464AF for ; Wed, 19 Jun 2019 11:04:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E14B55C0 for ; Wed, 19 Jun 2019 11:04:32 +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: <1560942270.2664803db0fc88f591b0ea035fa950752ef2ad24.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.6.1566.38_p1.ebuild X-VCS-Directories: www-client/vivaldi-snapshot/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 2664803db0fc88f591b0ea035fa950752ef2ad24 X-VCS-Branch: master Date: Wed, 19 Jun 2019 11:04:32 +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: 1ddb5534-23e3-4cfc-96b0-7aff81260c5d X-Archives-Hash: ac73ececa0b5d98cd9f21b859cd7f735 commit: 2664803db0fc88f591b0ea035fa950752ef2ad24 Author: Jeroen Roovers gentoo org> AuthorDate: Wed Jun 19 11:00:59 2019 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Wed Jun 19 11:04:30 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2664803d www-client/vivaldi-snapshot: Version 2.6.1566.38_p1 Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Jeroen Roovers gentoo.org> www-client/vivaldi-snapshot/Manifest | 4 + .../vivaldi-snapshot-2.6.1566.38_p1.ebuild | 116 +++++++++++++++++++++ 2 files changed, 120 insertions(+) diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 232faee6541..0b2026f003c 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -6,3 +6,7 @@ DIST vivaldi-snapshot-2.6.1566.35_p1-amd64.deb 62569804 BLAKE2B e7efcbff50ffa524 DIST vivaldi-snapshot-2.6.1566.35_p1-arm64.deb 56451932 BLAKE2B 8ad12ea3837a49b1fcd991acfa65a889a7ae9f53017fb2b4983056de3b20c4e9e34bd3e653146c90f03240cfc809a8795d568ad8f9686daf6d158e83454fceb9 SHA512 79cead4644033d1569e123d38ed23ae5eacb85919b1be4c054ee1dc3fafd049e01243148c5ae118df75e945edcf52994099e1b14b641e153d2dec58166b40426 DIST vivaldi-snapshot-2.6.1566.35_p1-armhf.deb 55616072 BLAKE2B 6888c027b551235fc9fe203158b088fda29b5b57963da5abfb0d181a03b308812fee150facc23ffa72ca95cfd5b17cd78ecc6360429e4693567142562ef1260f SHA512 16900708f1de876751a46427f05f71d1bac8ec57804d694001dcd8e8ffad52e952a59f45997adbb314a7756d560c24cfa4db19a20d37511a687b4ce216e3e8f2 DIST vivaldi-snapshot-2.6.1566.35_p1-i386.deb 61023760 BLAKE2B 5f05868279b01af6a3a0d1e1243e1e2292044e598dd45a1104bc2bbcd936a891ccc39a7cec6cbb072ebd22c90f0a958a2d44d1bd98c9b0f6ff9e09faa97025c1 SHA512 b982c1f0b2d780398630a8b71f61da2eba2620af78562bd90e44fdaeb244cbb4c7a283625ac4d545366d74d8b08cd2b807cc0cf2fe2e9eba1afc186039c5505c +DIST vivaldi-snapshot-2.6.1566.38_p1-amd64.deb 62567360 BLAKE2B 694567a3c3af416bf952a73e8109db427e6ff4fb95d3b8e4951aa17d58435e7febdc836fc99c5539b9967f4f5e1c47e7226b152df47e7474159243ec2b27e204 SHA512 1452249f23c62511f69aee037186c8538dc2ef4299841aa6dd4a70229589dffbaa282378b7390b20785429a5cf4e9431da2b8d998c02856386edc7f2170fb052 +DIST vivaldi-snapshot-2.6.1566.38_p1-arm64.deb 56463980 BLAKE2B dd6b5e958200fee6cdf8cf185111a3d28304551f2c765fe4ad76054a99feb95a6f38fa0b72f6203ba7f92f1524378c2db79208913bb911a41ee518898c5aa8d3 SHA512 21bb5f35008fedd2ef6a521c6bc8b2951f8dae12b6ef04e18a92268d16c0764803d4739ecafeb5483066700450046331c7011ff0e51c014561a0c66ca0268d71 +DIST vivaldi-snapshot-2.6.1566.38_p1-armhf.deb 55607700 BLAKE2B f112730e90e7d7ac4ce0734e8fdb5fec4d22da601bf315987c6db39aeb888799493ef543a98545d5f75cc4b3731cf9b061c2282443d20b666f218083b99c8037 SHA512 32275c0b59f585d17427c97097feabd198c2d6b9cedc35cd0511470a51b3b81bc03c9d3fb4d14e56aa4270e115282338605d6b3975586fb0c4962af76b668981 +DIST vivaldi-snapshot-2.6.1566.38_p1-i386.deb 61038532 BLAKE2B 4be9f2e55e5558723a28aa6722c469be059f25a4c1c2aee58bf59305fce8a98e5f7ad1226f4c486fbc700e3d4aec65f157fccec46b000b7734b007c46ef2ffd5 SHA512 4df16347cc0c240e70ed7580d574c2126d8c743f70ca264f8ae724ef4eea1df63ea6f76daa592c4b3403fcfb5d35de7b858e56068d74b6325bb45d687c924bb2 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.6.1566.38_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.6.1566.38_p1.ebuild new file mode 100644 index 00000000000..76ff637ebaa --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.6.1566.38_p1.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +CHROMIUM_LANGS=" + am ar be bg bn ca cs da de el en-GB en-US eo es es-419 es-PE et eu fa fi + fil fr fy 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} \ + ${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 +}