From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1105942-garchives=archives.gentoo.org@lists.gentoo.org> 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 3F826138335 for <garchives@archives.gentoo.org>; Fri, 16 Aug 2019 12:21:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 60C61E0B4B; Fri, 16 Aug 2019 12:21:17 +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 33A96E0B4B for <gentoo-commits@lists.gentoo.org>; Fri, 16 Aug 2019 12:21:17 +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 87BB1349C50 for <gentoo-commits@lists.gentoo.org>; Fri, 16 Aug 2019 12:21:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CC344762 for <gentoo-commits@lists.gentoo.org>; Fri, 16 Aug 2019 12:21:13 +0000 (UTC) From: "Jeroen Roovers" <jer@gentoo.org> 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" <jer@gentoo.org> Message-ID: <1565958071.6d5a53f9a24ba9b289f61be9b1c0ae9d89f52c68.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.7.1628.26_p1.ebuild X-VCS-Directories: www-client/vivaldi-snapshot/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 6d5a53f9a24ba9b289f61be9b1c0ae9d89f52c68 X-VCS-Branch: master Date: Fri, 16 Aug 2019 12:21:13 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e76c3cb0-5056-4299-bf01-802f8ddf3ce0 X-Archives-Hash: cb166a21e212061655828e48ea03a4a1 commit: 6d5a53f9a24ba9b289f61be9b1c0ae9d89f52c68 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Fri Aug 16 11:41:32 2019 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Fri Aug 16 12:21:11 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d5a53f9 www-client/vivaldi-snapshot: Version 2.7.1628.26_p1 Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> www-client/vivaldi-snapshot/Manifest | 3 + .../vivaldi-snapshot-2.7.1628.26_p1.ebuild | 115 +++++++++++++++++++++ 2 files changed, 118 insertions(+) diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index a4f85ac01e9..0f6446b59bd 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -4,3 +4,6 @@ DIST vivaldi-snapshot-2.7.1628.12_p1-i386.deb 61887948 BLAKE2B 96c69a625171b6831 DIST vivaldi-snapshot-2.7.1628.21_p1-amd64.deb 63520088 BLAKE2B 338744b702981896dc1a072eb6f76dbbabaa78d956f8e866fdda7beaca480c7c6fbd4d67f6df39396a4612eb8c82a3801e8793bf3582eced3f14687ae163f53e SHA512 842f9b3b41fdceb5bd055e511d21f61dac16198ec118963a0bd138351ebeae7adde60a9556db4e80af3580e88701f4b1d77842c6d00bf02cd39349d5c936205a DIST vivaldi-snapshot-2.7.1628.21_p1-arm64.deb 56905032 BLAKE2B b1f9d941bda06626ec517647c737f7884f59eb9db8d1de91f1f8b9c25565607069c3768d1344b4f8e54cae593fecf699e1a29cc81d14941559faef92c6a563d0 SHA512 e07265ccae4522657c77d3c2356cfc21ef35eecc92dc8a8eaed3c9a11774431da1a9e63cc595639e298ca0b81e7594da98ab12c1f67cd6b76466181894a18ada DIST vivaldi-snapshot-2.7.1628.21_p1-i386.deb 61993780 BLAKE2B 98e787d2c5b5a8ff71527840fa5711745132106ea363532f1a623416a5ab14743b69009884840a212faeb71a49ac7734b5bba6ff9fda4caff9d37b5871644339 SHA512 8ca06c78dce72948dcedd8b7a1d955bc1abcedc3e19b2b4e25bfa92ef24fd03311c06c397108298ffac85b465c196a966592c730f2d1209782becd57f34c96ce +DIST vivaldi-snapshot-2.7.1628.26_p1-amd64.deb 63561740 BLAKE2B 669ee724cb967e297c3e86e2e7fac292f839814150bf1505fce8b3117291601c80706f9f168bfc43ee3089053ec1a63292c6958fd6795a0f6fddfb3a88b94044 SHA512 ec761e3822354aa9cf19f2770e4ed56f4703645fafda3decebcd6728d3f1ba36ee6bfd54fc228efc868d36c172a62e328c9d81aa90c74a3decccb991c84fdf3b +DIST vivaldi-snapshot-2.7.1628.26_p1-arm64.deb 56888812 BLAKE2B 29af1099adcc95cf1d1781b3a6417ac827a4900d67d4e9c751186de7bf73655d4f2f4e478890f7c22add940ce4bfe4c867b5e1db7133cc366c34e76753eb8776 SHA512 cdc2909db5b20f5c407c5d659d854e74ea3409cdf245404fe97e46ccd0e4b2513880a58859ec16762524bfdf65d23d7fbd5cf6607bc1f66f6fddb470920377d4 +DIST vivaldi-snapshot-2.7.1628.26_p1-i386.deb 61966124 BLAKE2B 04e40c1e2442f3bc07c4184a016ae7b63c39e05170bb7896f1bbda2f1194c5376eec2f32240e80f062496e0655a8e851e3c3e2e29eb2ea356101f02784e961e3 SHA512 19aed979e3336119d02e880d93a4ec27c41e264a4f38630939d66ea1ec997cbc7b09d2c8c157c81e43390e3a498e1baaa4753f2f059c9a2074e44eba3d1ad87e diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.7.1628.26_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.7.1628.26_p1.ebuild new file mode 100644 index 00000000000..3777ea957e1 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.7.1628.26_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 ) + x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb ) +" + +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="-* ~amd64 ~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 +}