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 A3A46138334 for ; Wed, 22 Aug 2018 18:58:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C4D49E09A8; Wed, 22 Aug 2018 18:58: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 8CE45E09A8 for ; Wed, 22 Aug 2018 18:58:37 +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 C7AA9335C81 for ; Wed, 22 Aug 2018 18:58:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0D7E5398 for ; Wed, 22 Aug 2018 18:58:34 +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: <1534964303.1d57793d7798243dc3caf12889802192fe476039.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-1.16.1279.3_p1.ebuild X-VCS-Directories: www-client/vivaldi-snapshot/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 1d57793d7798243dc3caf12889802192fe476039 X-VCS-Branch: master Date: Wed, 22 Aug 2018 18:58:34 +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-Archives-Salt: b8f55dcf-da90-46c3-a77b-1de88e12352a X-Archives-Hash: d14d12d0278bfbea529c1e1d365f570b commit: 1d57793d7798243dc3caf12889802192fe476039 Author: Jeroen Roovers gentoo org> AuthorDate: Wed Aug 22 18:45:33 2018 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Wed Aug 22 18:58:23 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d57793d www-client/vivaldi-snapshot: Version 1.16.1279.3_p1. Package-Manager: Portage-2.3.48, Repoman-2.3.10 www-client/vivaldi-snapshot/Manifest | 3 + .../vivaldi-snapshot-1.16.1279.3_p1.ebuild | 115 +++++++++++++++++++++ 2 files changed, 118 insertions(+) diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 4d9ca96d805..5e2507fd50f 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -4,3 +4,6 @@ DIST vivaldi-snapshot-1.16.1246.7_p1-i386.deb 54434310 BLAKE2B 19940c56ab8644d63 DIST vivaldi-snapshot-1.16.1259.3_p1-amd64.deb 54952974 BLAKE2B 660b7ef27e994c77223f082d63377420093e68c24285c15e3cb9188489218a66264d6a996f4f848d16a80e22e6cb8b32023d5ef91b16beb370ab9145b9f944b0 SHA512 dd5fbdc9cc757e5fa89fbd44171c1992e839d17a5581d970484fd6531b3ba4a8ebca3f7af85bbaa15400c7831f71831d70baf0c65b6d513d5433a0fa35d7d2a3 DIST vivaldi-snapshot-1.16.1259.3_p1-armhf.deb 48849488 BLAKE2B 4663e7fa65e5c2c05ceef0b03e201647eaf7778bf95bfc2b9166df117a23f71c3f5bfca457a34a52694cba428d1a4557f2784ef9c957159d80e531fae0748497 SHA512 67c9fc8adc2913ae5baeb25fb730aa2da06133987aa3adee48e194b6be9fa46a44854edbcafc521c5ba4fa96c379b5fd435113e893e84ca1cbad5a5c0f2cb0f9 DIST vivaldi-snapshot-1.16.1259.3_p1-i386.deb 54436966 BLAKE2B 8e35f0ff901004fc755018431e80c336ecc76c381f6e36382227277a0348e35bcd2f405e98d03ea479daef1b46e536de3172e9407a16960f760f9a0dc9a57344 SHA512 a4871246d476edf53f28cb8167d641403ec826030dceb3a9e6d904b4b32aa6cc8c78f0528feef4314be618b442484d8061dc34eae94830103967c11562211052 +DIST vivaldi-snapshot-1.16.1279.3_p1-amd64.deb 56431884 BLAKE2B 517a287feeb0028d1ce7baf8203a50e6f16ff8b12f0f5909cab1e83157a538dd6ebffbfc8c49015e453971e1e39404865b291293c9e5801106882f8004e2195a SHA512 bfb6cc6bdc72dcb8ae45d2e0675151e3a813bab7174dbf13f0dea5bcbf47a86119e58e7473cac3082350b3392e188d7dd50a7f6f6b1cfbb9dda14496a6693b25 +DIST vivaldi-snapshot-1.16.1279.3_p1-armhf.deb 49864320 BLAKE2B 58a6982e930ab7178221ab98c3785020b7551854ac00be98429168c40b4b09f4eea82a75b917b01b28cb5feec5f7be6327de4fc98e60538af3a59e338c5fc477 SHA512 f60946f86ac3a304da738f674087a57819989d015f625680ce0fb66ff37e70b1b37be77f72d23d000f91c8f27b92a6a29db0e3ef0dacd0e1c9031e72d30ecfb5 +DIST vivaldi-snapshot-1.16.1279.3_p1-i386.deb 55556044 BLAKE2B 2783e593a081bf7f7e6594c3a6ec3d9d8b5f8a8f965b7b129d4bd3019a7bbd01881806c2d9b4c9b9c9048340c4c0f806497dd8e7e54c6dcb2f959fe8496bf970 SHA512 3b9a56dddcaaacdf0d8e0cc95342389a97b3bce918179c374a0a55564ea1e6590a227641a5dbfe0c62ea647c5f2a431f81ab349a7e72f95348ebbd4ef45d3776 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.16.1279.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.16.1279.3_p1.ebuild new file mode 100644 index 00000000000..e897c38d5d1 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.16.1279.3_p1.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +CHROMIUM_LANGS=" + am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi + hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl 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 ) + 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 ~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 + + 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 +}