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 E46FA138350 for ; Tue, 18 Feb 2020 11:49:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C0F0BE089E; Tue, 18 Feb 2020 11:49:22 +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 8E1A2E089E for ; Tue, 18 Feb 2020 11:49:20 +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 CF96A34EE0F for ; Tue, 18 Feb 2020 11:49:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 446DC2B for ; Tue, 18 Feb 2020 11:49:15 +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: <1582026553.55ac224c82ef1c5cb3e3a508c74b830cba74c5f1.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/vivaldi/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/vivaldi/Manifest www-client/vivaldi/vivaldi-2.11.1811.38_p1.ebuild X-VCS-Directories: www-client/vivaldi/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 55ac224c82ef1c5cb3e3a508c74b830cba74c5f1 X-VCS-Branch: master Date: Tue, 18 Feb 2020 11:49:15 +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: 0a4eaaf0-409f-4e35-b687-4b87febbfbf9 X-Archives-Hash: a4f4730bd33fde647519fd6f416426c1 commit: 55ac224c82ef1c5cb3e3a508c74b830cba74c5f1 Author: Jeroen Roovers gentoo org> AuthorDate: Tue Feb 18 11:49:07 2020 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Tue Feb 18 11:49:13 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55ac224c www-client/vivaldi: Version 2.11.1811.38_p1 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Jeroen Roovers gentoo.org> www-client/vivaldi/Manifest | 4 + www-client/vivaldi/vivaldi-2.11.1811.38_p1.ebuild | 125 ++++++++++++++++++++++ 2 files changed, 129 insertions(+) diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index ab0cd81ce2f..d338626cfbd 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -2,3 +2,7 @@ DIST vivaldi-2.11.1811.33_p1-amd64.deb 65557444 BLAKE2B 98d31396d9d17aa715656608 DIST vivaldi-2.11.1811.33_p1-arm64.deb 58892020 BLAKE2B 1a412e4ec7c1941a834d548898c0d18354932d6f5da68e66181f5869abb34978e12eeb6803aec935daa4df14f197f7cd3d0e6ab978721d32a46aaa5bbd6eb6b4 SHA512 ee0f201646ffa5cbef96d2af5f60735e67f3399e0bf0c04f066423a79ce78edd80656f012b3c9fc926529504570bd7ec4e8970cac5617cd54dc1c0105c05c4e5 DIST vivaldi-2.11.1811.33_p1-armhf.deb 58195300 BLAKE2B 179471fc083131c20e819ad8d3d492d80541537649a284e305c5ee9044feb27d5267e7fc8bcbfc0733bd655d17236e84e3e4f5aafcc96eff0feea65714f92a75 SHA512 fe40af7fb239fba17850857ede6e8981a1e25e3bfe2b62299e787b5544ed6c1e53cf00c32ca5993d26e328461fd000e9c15d521ea68e8dca95879508259c94b4 DIST vivaldi-2.11.1811.33_p1-i386.deb 64343856 BLAKE2B 29de804a5b825623faa789a742dc683ba369604176a7640c9cc3d8e00a377d17288f22504669c2bd782d5cf451432ba7ef7099178d3dbaf8aee9dcda6a68700d SHA512 bd4a82bee60a9cda5c24c6a31eefefcfbde7b1ad70d2bd74035075e0f15bd87328cba72d7f3fe706bc495a59612b00d78e3a123adc1bc25364987635ef4fb768 +DIST vivaldi-2.11.1811.38_p1-amd64.deb 65557808 BLAKE2B 91d55f922038bc55d8e8fcbc9d67bd98a329ec79687cc6b690a4386d9d880d7657bc0e4c4f97515184d40c96b63a5584215c224fc1daccdbd4b50cd348e28005 SHA512 7fdac87cf32111c3ac7e2618bc8c579df0dc3dafe07b014f2b18eac6aa463ed96a5fa9ecd586860178e8e9c0fdf269e0f46b9589bc43e10d4ed3755c8cb0740a +DIST vivaldi-2.11.1811.38_p1-arm64.deb 58895680 BLAKE2B e13b461f336a79a6ae72bf69a80c32ce1e348928075e79f088d4795376711e6a05ca8455eb682a443fc90e1e545f062b255bf908aa74605359382f09571d4064 SHA512 b60883827421ccc7a6d2b6cc232cc4220cf1d60f1f501c110f5524031e0f79123e2cd58a7f197445f29b9feb7761677bb46fcc9ff51f07c49c9917662c97e33c +DIST vivaldi-2.11.1811.38_p1-armhf.deb 58212764 BLAKE2B a1abc16bfe5b47a40d36b09f75e322c53a69cf2c8734109600cd03736824698964b53ef5c31eeb82ab105b3ee9503bf764c5bd94be0520f2e6e20f046d529383 SHA512 8db699c20931363221a6afa142df524faa6b2621a07e340ae74c56f093deb413b583e47e2de6dd55e96a5b5beef4a590bffe32935f3a205174f9d91c510c7a4a +DIST vivaldi-2.11.1811.38_p1-i386.deb 64361772 BLAKE2B 3a6cd6fb36b787a3551419b64034e2fde6921a721fc3f55bf0ae967cdd81ab2c098a26945a5c43b24b75f4fd20d97f894c190c1bfa71d9e6805fa37347e48a02 SHA512 454f956b87f7ff6511816532508b2d1d63931536ee68f4631e9b6676a52f06ffaf07923c1f769f2e4f094f63a490e3f217d3185bc12ea8cbdf509c66baad60a6 diff --git a/www-client/vivaldi/vivaldi-2.11.1811.38_p1.ebuild b/www-client/vivaldi/vivaldi-2.11.1811.38_p1.ebuild new file mode 100644 index 00000000000..a156328cef5 --- /dev/null +++ b/www-client/vivaldi/vivaldi-2.11.1811.38_p1.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2020 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_BRANCH="snapshot" + +VIVALDI_PN="${PN}-${VIVALDI_BRANCH:-stable}" +VIVALDI_BIN="${PN}${VIVALDI_BRANCH/snapshot/-snapshot}" +VIVALDI_HOME="opt/${VIVALDI_BIN}" +DESCRIPTION="A browser for our friends" +HOMEPAGE="https://vivaldi.com/" +VIVALDI_BASE_URI="https://downloads.${PN}.com/${VIVALDI_BRANCH:-stable}/${VIVALDI_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/${VIVALDI_PN}.desktop > "${T}"/${VIVALDI_PN}.desktop || die + mv "${T}"/${VIVALDI_PN}.desktop usr/share/applications/${VIVALDI_PN}.desktop || die + + sed -i \ + -e "s|${VIVALDI_BIN}|${PN}|g" \ + usr/share/applications/${VIVALDI_PN}.desktop \ + usr/share/xfce4/helpers/${VIVALDI_BIN}.desktop || die + + mv usr/share/doc/${VIVALDI_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/${VIVALDI_BIN} \ + || 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() { + rm -r usr/share/appdata || die + mv * "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} + + fperms 4711 /${VIVALDI_HOME}/${PN}-sandbox +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +}