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 5D8C5138334 for ; Wed, 5 Dec 2018 16:45:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2CCCBE0A6A; Wed, 5 Dec 2018 16:45:38 +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 EB6A1E0A6A for ; Wed, 5 Dec 2018 16:45:37 +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 3349B335CC0 for ; Wed, 5 Dec 2018 16:45:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E3FE3445 for ; Wed, 5 Dec 2018 16:45:31 +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: <1544028328.f39ee8b4a9a153c85b94c24650ed57602dd1948e.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.2.1387.4_p1.ebuild X-VCS-Directories: www-client/vivaldi-snapshot/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: f39ee8b4a9a153c85b94c24650ed57602dd1948e X-VCS-Branch: master Date: Wed, 5 Dec 2018 16:45:31 +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: 590ae4c6-281a-476c-8142-3ea0e4e4753c X-Archives-Hash: a7915ce11cdfc5ca4fe375ad8a1a3f09 commit: f39ee8b4a9a153c85b94c24650ed57602dd1948e Author: Jeroen Roovers gentoo org> AuthorDate: Wed Dec 5 16:44:32 2018 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Wed Dec 5 16:45:28 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f39ee8b4 www-client/vivaldi-snapshot: Version 2.2.1387.4_p1 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Jeroen Roovers gentoo.org> www-client/vivaldi-snapshot/Manifest | 4 + .../vivaldi-snapshot-2.2.1387.4_p1.ebuild | 119 +++++++++++++++++++++ 2 files changed, 123 insertions(+) diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 2173642eae2..be47fd2688b 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -6,3 +6,7 @@ DIST vivaldi-snapshot-2.2.1386.4_p1-amd64.deb 59257798 BLAKE2B 1e098cf2a3f9e0ead DIST vivaldi-snapshot-2.2.1386.4_p1-arm64.deb 51031658 BLAKE2B a550d90552124f9f67d1b60398e5824df7eb89ba6a0c9d0037fbb81b30886e0f6c1a979c5d625261754049d2c52342fb98bb458e63c8bd66aba0ae76dff81a3f SHA512 51dac08709c879c7bfa610a8ec048925deb093b9626b98885f09a7ead6f5ca41d006cb8caee5be8a806667460e14a743f0579d69b8b5cbc480d8da16f4174918 DIST vivaldi-snapshot-2.2.1386.4_p1-armhf.deb 51857950 BLAKE2B 69b26b7f40f1efff4c551b0c5c0e558806f859040232745562207f440ddf502fcb461fad2f4c103a218ddf478e7dd30a8ec63051003b696faead42d5110f2dd4 SHA512 86dc8127c268ded5d415254dcf0a1e01e092b831cf108b88f27c7b9ee88e94390757c45c8de7432dd59da1b2ed28972764fc1308bcd31d4d3994c090c808ffc8 DIST vivaldi-snapshot-2.2.1386.4_p1-i386.deb 58127370 BLAKE2B 56ff10c7231595facf72f00bfae0aad33b722e9abe8004cd5e37113aa1f8386b684fce3def0c5e791154f3160fabb096df21896f0e2cbac23e25a5b3ca53c159 SHA512 f4f96a7a1941c4f733e77a21f0686a9c6dddc8df18acc14a34353dfb9300a60b6eb48a5eb44b83cf3d878f121b9d7750f9aa6117c535dd1dd5b158d87c68a647 +DIST vivaldi-snapshot-2.2.1387.4_p1-amd64.deb 59263736 BLAKE2B 6866163bb324da2f53d82f864809c8801853bbd6000d81d365998dcd232b7758deb23f982de9668e2f0bf9faeea3cd8c3ee3e59b4c582b8267acaa9d540f903c SHA512 7f6d534c585153bb3d8699284012c4bced892ce9d7b3e59430af6371f688005cac838d6aa5e26f963a691d16c2fef822a50d9406f6d3e23f390c31c150fe588d +DIST vivaldi-snapshot-2.2.1387.4_p1-arm64.deb 51069626 BLAKE2B cd678b4f6e3c3d825a78fc8881dd204a77e41d8f8c4f95ff5eca40950eaa03dbcb7e34ff68038750fb1e011f5dd77e976fdbc0af13b230199d636ad7669f959d SHA512 c8f470e4dd3d6b9609e0119c26415b8d2bd29fa6a501eee4ae11cfa073436064134032617b9bb903fc68f361b86d3a47ce272110fee6e79eb2219b348e1b448e +DIST vivaldi-snapshot-2.2.1387.4_p1-armhf.deb 51872670 BLAKE2B 98102e6629862aeee89c8d1dc2caad9f53308314457c2af19f91c532adbb2bbc672be019c502306432d25d794526710fedf72e6309f2b5eca5a00b75e8e3b77b SHA512 403036de4f84b0eb17e302f988033f78611a6eff75151be4c50f4c472fd04bb9538ade5b20e92f141f10cc5d7b527d8abb82e0b5c8b0a43e0adcc538ef13af07 +DIST vivaldi-snapshot-2.2.1387.4_p1-i386.deb 58121902 BLAKE2B c39ff1734511080876b05fe7900003db3e7e8c9a845d828b15a6c20463502b7ef6fe9cf9e992633abab4ca3f3e16cdf3ce3290786ea80a713d2c36ce1b58574a SHA512 580e645535d10687dc6eeb072ad7e7343a2ea32a264fe4f1d3304a217077a0d43d03cb9110e90696be50e1cc37c96518d92bfea5705afc526453e482414c0d99 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.2.1387.4_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.2.1387.4_p1.ebuild new file mode 100644 index 00000000000..b45ca4cd152 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.2.1387.4_p1.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +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 eutils gnome2-utils 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+:2 + 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 + + epatch_user +} + +src_install() { + mv * "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} + + fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox +} +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update +}