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 0350E1382C5 for ; Fri, 2 Feb 2018 14:14:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AA778E09AB; Fri, 2 Feb 2018 14:14:15 +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 795A9E09AB for ; Fri, 2 Feb 2018 14:14:15 +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 A8B43335C8D for ; Fri, 2 Feb 2018 14:14:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DB0441CD for ; Fri, 2 Feb 2018 14:14:11 +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: <1517580677.7c4fe989ad51590ada1d3f9206e25a524cf2c58e.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.15.1089.3_p1.ebuild X-VCS-Directories: www-client/vivaldi-snapshot/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 7c4fe989ad51590ada1d3f9206e25a524cf2c58e X-VCS-Branch: master Date: Fri, 2 Feb 2018 14:14:11 +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: 9a898b5a-8a53-471c-adf5-267becc37161 X-Archives-Hash: 3d36215f5024b3cb40689c38121bc589 commit: 7c4fe989ad51590ada1d3f9206e25a524cf2c58e Author: Jeroen Roovers gentoo org> AuthorDate: Fri Feb 2 14:11:17 2018 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Fri Feb 2 14:11:17 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c4fe989 www-client/vivaldi-snapshot: Version 1.15.1089.3_p1. Package-Manager: Portage-2.3.20, Repoman-2.3.6 www-client/vivaldi-snapshot/Manifest | 3 + .../vivaldi-snapshot-1.15.1089.3_p1.ebuild | 120 +++++++++++++++++++++ 2 files changed, 123 insertions(+) diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 0402ea694d5..0f8dcc5e320 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -1,3 +1,6 @@ DIST vivaldi-snapshot-1.14.1077.39_p1-amd64.deb 53429264 BLAKE2B 845c466a12a618d511da914d0c7108a3b25b8528747c4d5401354555c589efee4b07253338b69349c2621adb98751f78e55b8447660e719c7c3f34fd196c0dc0 SHA512 96f6409469e0af4fadaaa5250f2d7134e1873863e783e544b5401bf808cb34f2c25390ee85d5a76513afd0e308e88d0e2a81633c55bd35f3916128e93d8f226d DIST vivaldi-snapshot-1.14.1077.39_p1-armhf.deb 47218474 BLAKE2B a05dbc688ec4f17a53032bc8cb948bd352259d135b2411163f4adf1b70e92c4855cc62a4dca0bd15e787ae37e6daa64fdebc9dad0e76552e10c853990bb7e1fd SHA512 151f74e125178dddc3e1c3fcfe164f5dd338451baf2b981f9985c0d47e031007d082878bb10385f9cbc28a4b7cdf77153d94664a56863f7d19e5f867c00181bb DIST vivaldi-snapshot-1.14.1077.39_p1-i386.deb 52970608 BLAKE2B e87768380a35b658483334b64c3de4774bea472ac35516fa90f43d752e29613f479d64fb9bd0b41ccfd26c756aec902c59b318ad014f1a079772d297d08e6985 SHA512 72ab035de887afa133c2b5fa5afe2855e7da5ae627a6b21c1642947a38e00ff9ab926285217298104975b0f2727d47146bfb6bd3efe6f61c119ed7a7a2586f8e +DIST vivaldi-snapshot-1.15.1089.3_p1-amd64.deb 53473298 BLAKE2B d8ebea889bc23b54d695b881b1418b7333894c9f1d0cd5fbf28bfd3e710437eaadac522ad69b89f4ebc454c12e8a4c6bb829feb8555cee40466ad8de985889ef SHA512 6ecb88542c8e365c764734a5c869b2d2f9effbd5463a21be931990fb426233c9925185176a3a2d29da5ca9a785166a2db60847ed89708b76270f600636345f76 +DIST vivaldi-snapshot-1.15.1089.3_p1-armhf.deb 47260348 BLAKE2B bc4819126803bccbc664eb60fa4190a87d57a7c04f773f594ae05e27c29dc1a75165dd75588cc3e9375842455ab22b82967013f33f35945c4decfa60f999ca0e SHA512 8ff6f9653ab375fb3e994703c01a53629ca2c8cb4ce9797ff3e500af2da303e632f277cb97661a73935ecb005161554894f740cec9ed58113e728c37172996ff +DIST vivaldi-snapshot-1.15.1089.3_p1-i386.deb 53023142 BLAKE2B f713fa157d38e85ba9d17a6a94cfa24346ee16aff240e0fe8fc842a2c0d5a1b5e892be432a534d0a237a10f278cc79bea24f0db3e012d759f8cbd3df993e6b00 SHA512 d4ddd360fcd61d49aeebc9eb5289629fa47e379a340ed2ed57fd7c777a307bfd10efe1c51be08e21b5b7c0d03ed872fc9e188d57c8b2d6c06db15b48092b404f diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1089.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1089.3_p1.ebuild new file mode 100644 index 00000000000..7998894a831 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1089.3_p1.ebuild @@ -0,0 +1,120 @@ +# 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 new browser for our friends" +HOMEPAGE="http://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/openssl-1.0.1:0 + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + gnome-base/gconf:2 + 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 "${FILESDIR}"/vivaldi-snapshot-1.14.1072.3_p1-desktop.patch + epatch "${FILESDIR}"/vivaldi-snapshot-1.14.1072.3_p1-libffmpeg.patch + + 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 +}