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 5F435138350 for ; Fri, 20 Mar 2020 14:19:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9E766E0AC4; Fri, 20 Mar 2020 14:19:42 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 7A6B4E0AC4 for ; Fri, 20 Mar 2020 14:19:42 +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 4E58B34F2DB for ; Fri, 20 Mar 2020 14:19:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0CB2D13A for ; Fri, 20 Mar 2020 14:19:40 +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: <1584713978.5c331a68c9512bcec48886f818c5d4ab1d8351f2.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.49_p1.ebuild X-VCS-Directories: www-client/vivaldi/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 5c331a68c9512bcec48886f818c5d4ab1d8351f2 X-VCS-Branch: master Date: Fri, 20 Mar 2020 14:19:40 +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: 372f2644-73ff-480d-ad45-3af879e45f07 X-Archives-Hash: 007c23577d11f2cb48d604708540ee62 commit: 5c331a68c9512bcec48886f818c5d4ab1d8351f2 Author: Jeroen Roovers gentoo org> AuthorDate: Fri Mar 20 14:17:19 2020 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Fri Mar 20 14:19:38 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c331a68 www-client/vivaldi: Version 2.11.1811.49_p1 Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Jeroen Roovers gentoo.org> www-client/vivaldi/Manifest | 4 + www-client/vivaldi/vivaldi-2.11.1811.49_p1.ebuild | 125 ++++++++++++++++++++++ 2 files changed, 129 insertions(+) diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index 69942e7fdf2..d1893a5a6f5 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -2,3 +2,7 @@ DIST vivaldi-2.11.1811.47_p1-amd64.deb 65546908 BLAKE2B fef2b087b34fb1e55e746bff DIST vivaldi-2.11.1811.47_p1-arm64.deb 58880328 BLAKE2B 415964910697f0ee255e365ca363ee8980a2edb7e217207b7ea0ebc1408335c9342dfeb41d27ae7b42546aa60447d3cbcbf87d8140b40f61b7582c6e33a9a27e SHA512 3339c7e2cf1a7e1e2b1e1634f658ec5b9b7b4cfb22badd75c4a1eec5939c56680249fc718c9924629d4fecfb75ff56f52aabb22cf9fa89e151ab5ee6f4e3df37 DIST vivaldi-2.11.1811.47_p1-armhf.deb 58223516 BLAKE2B 17b1e78184e9b6322183d46e4deba44f4bf5919d01460751a60950af2bd56c0f56f3c85773c9aea4980d55be3803730f73bf3a6a906909e7161896f33b568331 SHA512 534b95ec507a844487ad681c5d07a328a0105de769d54e50a76f819ca019016aab2ecdbf43a718b83429fde96d67bc289e97d99a64b2138635350bbe6d1cb303 DIST vivaldi-2.11.1811.47_p1-i386.deb 64350788 BLAKE2B 0dfe6213f61ba01d861305501b25466480858a09a29da4cde8917925fcf8c718ce625fe60adbce3aeb196ff831b4314e52d5e6e20d7d79dec7bcabe95bb6cf11 SHA512 44742466012475670326eb8277c8e1036852c2601eee09e3bb06b2fff6ed6d3845f047af143e17aace3f988fcf593a6d86c7d823574e6513ed133abb5306ed58 +DIST vivaldi-2.11.1811.49_p1-amd64.deb 65549496 BLAKE2B 5d5829bc5e2cbc161ecfaa60f31630a8a158a42cbc6659723b4c1972650f1e21e33f987836652588de2114e13a026e290b352f1e37159911b8573a9dccec6919 SHA512 f2703c8c205146c84b7ccfeafa2cdd1b88bb1207b580cf39511df76419097a19e5ceddb0c36f13f30686e2411dd0375956f8b217bc546cf5585ade5cbdb94cfb +DIST vivaldi-2.11.1811.49_p1-arm64.deb 58884528 BLAKE2B 4a6bbe56cba07874bc67bf17e82ddac265c7636d660e91786e0e28352e36c31d07653337745e41e77716ff7f7585cf6d0d880df3021755ef2e0553c9e0026418 SHA512 dcb333e461fefbace369a0680c8dd1e9d759df3766bc941dd7a72c22f1f4e7a8fde14ec0cc3efc3b4408c2ee8fe1300d6485a8959231a12812271ee3847f023a +DIST vivaldi-2.11.1811.49_p1-armhf.deb 58216340 BLAKE2B f36e47bcd9f0cfb8e181cdf21dd85ed10b848e23266c37d09e02cff2c697cb184c0bbe8f7af75f55a12fc06305f26c6b5cbd1959a6311dbf20f7caa3193c1c42 SHA512 b53d23a693c1549e3da9829374953bf8993b344c3ba846e0aa8c7cc04002f4127dba3c919d3033bf7e92216bd8757d77bd55e5170168fed66858981c7cbac35b +DIST vivaldi-2.11.1811.49_p1-i386.deb 64347424 BLAKE2B a66f9e38f876e8d15a7a1e573d23a53de731cf5c20e0de3c93c7a5d87e233d789f1db793f98fb186fa44e2f40c0df0833576f9bd77aa5aa4469350d54adf8975 SHA512 33acb591faaa0697022c5c7e0812bd56950b473310f97aa8e419fecead5f5de8d9051cd2359ca5180c46995e75eee8ef7f8311dad4a9215964c8481bc35c15ec diff --git a/www-client/vivaldi/vivaldi-2.11.1811.49_p1.ebuild b/www-client/vivaldi/vivaldi-2.11.1811.49_p1.ebuild new file mode 100644 index 00000000000..a156328cef5 --- /dev/null +++ b/www-client/vivaldi/vivaldi-2.11.1811.49_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 +}