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 165DE138334 for ; Thu, 19 Dec 2019 19:58:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4231DE0943; Thu, 19 Dec 2019 19:58:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 177C6E0943 for ; Thu, 19 Dec 2019 19:58:27 +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 5707134DA36 for ; Thu, 19 Dec 2019 19:58:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DC9B78C8 for ; Thu, 19 Dec 2019 19:58:23 +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: <1576785498.917943f06cb83484a97bd34ece0395d8fb78fc5c.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.10.1745.18_p1.ebuild X-VCS-Directories: www-client/vivaldi-snapshot/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 917943f06cb83484a97bd34ece0395d8fb78fc5c X-VCS-Branch: master Date: Thu, 19 Dec 2019 19:58:23 +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: 5905772d-cb04-4f5f-bcc2-47021c77a0ea X-Archives-Hash: 2d51841950e27f07f204042e282b60de commit: 917943f06cb83484a97bd34ece0395d8fb78fc5c Author: Jeroen Roovers gentoo org> AuthorDate: Thu Dec 19 08:06:41 2019 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Thu Dec 19 19:58:18 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=917943f0 www-client/vivaldi-snapshot: Version 2.10.1745.18_p1 Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Jeroen Roovers gentoo.org> www-client/vivaldi-snapshot/Manifest | 4 + .../vivaldi-snapshot-2.10.1745.18_p1.ebuild | 115 +++++++++++++++++++++ 2 files changed, 119 insertions(+) diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 3947cce58c8..fbee85227a5 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -1,3 +1,7 @@ +DIST vivaldi-snapshot-2.10.1745.18_p1-amd64.deb 66777268 BLAKE2B b7b539d8a91ba31af594d85a20343904513ba059e40a88bafe3b25b99e7c4280bbcf8e63861947a11364885fa7ebfdaa855e6bf65a597ee23ef2c444cd97afd2 SHA512 7dc2ec495ead39d3e3d777cfdb2bbf2124d45da2b2fa35c1b229b482764342dc23f654a652eaeb210c9ef05d2d5a3c5f92a16773c4e9bd754e726e2f3bc3a2d7 +DIST vivaldi-snapshot-2.10.1745.18_p1-arm64.deb 59632648 BLAKE2B 0c7f0d170c293f2bde1ca5648236c5b5fdb5954af49022d1e6e09975794288156aafd15847fcbd45d0a8c88dbb62b8f35177888b0534bbf3fd9b97f2b5fc93c0 SHA512 159bff677e9ab4ec0f549bf7b556caa405ab8c434b635ff4bd1123f58c23d3d7586c629cda4d433fed0df251635379cc0acf1a8b258b7f182f61b1f6f8cc1600 +DIST vivaldi-snapshot-2.10.1745.18_p1-armhf.deb 58899500 BLAKE2B 098fbb5850f85747c67eb933ab610428678ca2032f7f661c653215e1bce68ee9c21e4eb47b90eebb8f8cdac1bbc82c95c6be87156562e837e26e87a378897028 SHA512 34429745bf6e88e739e922f93bd5a9660a04a61ad6c0e40a141e3068bd861fd38847f542f02d25a0a1762f1f3f55095df8afa164ec773c41272dd2aa6bafda18 +DIST vivaldi-snapshot-2.10.1745.18_p1-i386.deb 65205008 BLAKE2B 4fda6b0e8f86fe193259bbe83d8836393729d9f6d8525d6fe7ad731c78bf21bbe1782ed60fc1e7a22b338d423878d0e024c3f773c67f97661fc890d066998e68 SHA512 e5c8962548e3fdac7505118225fa2fed8c63f0b87663c434e91bee70abdfd5e6159e37d1c3a4b65425b85bf6051bceab218cd0dad01493b75ae54290d4524374 DIST vivaldi-snapshot-2.10.1745.3_p1-amd64.deb 66725860 BLAKE2B 62d9058a23e10abcca1b78f50ce608bf8c6f72c6dd441e9a025cc8ef90c34959ea6b2230ea64fc4bb2c37089685399cade5a92b9e02a7b35579d3759e5a0b662 SHA512 6ffcdc971625ce6a6198b2d57632eb7e6a70bf2d3ae885d506f104aaa2f2f59deb6c9f10bd3516d24d88b441dad59cec6401e666b3e10396955f1759cdfcc2c0 DIST vivaldi-snapshot-2.10.1745.3_p1-arm64.deb 59599384 BLAKE2B 79652d23064a8c7fd8724c7532cf98cb09d6a2e269100188d9f5d7c9447c57e2871c3f795307699c839552f2aa0bfe0fc635efde1cfeed62bad4277edb303d8c SHA512 f9a7f048fa7ed9e99c6ba7b15603485d8678cac50e27f04a5cbfc751ec853ced267c22ba8fbad0df347c6fde81859c8db5318c1d09cc91d1351c40e513281c7d DIST vivaldi-snapshot-2.10.1745.3_p1-armhf.deb 58867764 BLAKE2B fd27738be1803e79578c77f7907aeb41e841c5a6ee73dfce1202ab07a6b026267fee5ada44550da46f1361a9d309bc83f3faabe112dd3b8c255ae462e9f8cf45 SHA512 0e767c019a14061f2589189dcd482d91f52ca28f75dc0a7e236e799c8c55c0b9e72e0f6e7f067ef0ee4d20e1771f1bb53e424e90d88fcb41ba9e7965b7c949d8 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.10.1745.18_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.10.1745.18_p1.ebuild new file mode 100644 index 00000000000..8c33fc17af4 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.10.1745.18_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 ) + 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 +}