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 6624013835B for ; Fri, 20 Nov 2020 22:21:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7CFCAE07B3; Fri, 20 Nov 2020 22:21:47 +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 59AE1E07B3 for ; Fri, 20 Nov 2020 22:21:47 +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 880BF341018 for ; Fri, 20 Nov 2020 22:21:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C655D43B for ; Fri, 20 Nov 2020 22:21:43 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1605910861.44508de635712c471c5a48744a3710925c9e8cfe.chewi@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-3.5.2110.3.ebuild X-VCS-Directories: www-client/vivaldi-snapshot/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 44508de635712c471c5a48744a3710925c9e8cfe X-VCS-Branch: master Date: Fri, 20 Nov 2020 22:21:43 +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: 43c86e65-ab6d-4f58-9836-f1d85e6dbd72 X-Archives-Hash: 8b591c87c23d7d9608d1c427c65201fb commit: 44508de635712c471c5a48744a3710925c9e8cfe Author: James Le Cuirot gentoo org> AuthorDate: Fri Nov 20 21:47:36 2020 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Fri Nov 20 22:21:01 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44508de6 www-client/vivaldi-snapshot: Add version 3.5.2110.3 This switches back to the upstream .deb filenames. I don't know why jer stopped using these. This also drops the _p1 suffix for the first Debian revision so that our packages better align with other distros on sites like Repology. Vivaldi very rarely releases a second Debian revision anyway. Package-Manager: Portage-3.0.9, Repoman-3.0.1 Signed-off-by: James Le Cuirot gentoo.org> www-client/vivaldi-snapshot/Manifest | 4 + .../vivaldi-snapshot-3.5.2110.3.ebuild | 114 +++++++++++++++++++++ 2 files changed, 118 insertions(+) diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 8c38e163b3e..321a2a89cfb 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -6,3 +6,7 @@ DIST vivaldi-snapshot-3.5.2088.7_p1-amd64.deb 75752868 BLAKE2B f5c83366b5a505e96 DIST vivaldi-snapshot-3.5.2088.7_p1-arm64.deb 68156456 BLAKE2B 4d2ea0defb0174f9c7487ae7c3c4ad2a24630b19e71f997e9e55e0f06f378609994b87ca8ee96b8716762d6ed073cf35a8cd6b8f31d0587e595697c3b9f81afe SHA512 4f285098d9304b6cd70f90cd7663f408f2da352115a2af39ceaaa0467561057f70bcb15385033b456e3ac04115fa9dd392861c42d5e8cacd69bfdfaf2bcdd0f3 DIST vivaldi-snapshot-3.5.2088.7_p1-armhf.deb 67085320 BLAKE2B 673973b731fe3701be09b0b5896700101cc1255e8b329beccb46e57dc14314095cce60b629e8c877aacc0e41955c976f5c3cb3820fded740c254b99e98ca2f5f SHA512 e554917546363cff91adc34498efad01250a9f72787b65bc06a84e3fef894981a7fafe12c9502a41b693fc829aaefd3fa56ce848d675fac1a6ac305c23ee460f DIST vivaldi-snapshot-3.5.2088.7_p1-i386.deb 72172488 BLAKE2B b59c82e62daaa16c902ee98e45a6985be510a587e671c503e4789be9cad79e5d289d4e28d6f802ab794f1a59024fec6515b6e4c23ee33333c684f273f016d7cc SHA512 d8c1024ef419dc30161247587c3e6150c0c20c5ed40c304ebaa10996b88fb95f056cbe7dc673593b46c17813860379edc9f7c09845139af51ae696f6c9b3c65f +DIST vivaldi-snapshot_3.5.2110.3-1_amd64.deb 76322716 BLAKE2B 5b659e4fede5006037da997ae4e62cc54ba1264c3f5f16d286dc00d1acd8047581b193e6b97a1134143532a348e660847d6f6fc399c0898affe316e5dcce352b SHA512 7352bc542953a8be51cafcda7b99bf0f3716283c7681ee5c5cef85dcdb3b9abe5d36dd42561a283159e47b11f46e004d3d33d2f39a7e3605efd96fd20082280d +DIST vivaldi-snapshot_3.5.2110.3-1_arm64.deb 68579824 BLAKE2B 52110e4b5b18771b97c4e114aa2f99e4681ea9ae0ea90b11dfaa4cb6549d6cd03b7e6fcdbedf1e433f2e59cba1b042620d081b25a75f3c04fc0c10159cf98750 SHA512 7f05001ad96aabde3fe70e7a6be5d8fa23b46c14bbe6d69f5b8b77fd30ae58fed55d7680916d037e51bbd97836cbcfc6583bb98f6ee0ac0fdcdc60a847d43238 +DIST vivaldi-snapshot_3.5.2110.3-1_armhf.deb 67678904 BLAKE2B 9839d71df8299a0d84b2ec6cf5e3a4aab22a4e7e9e6136edfffb4779943cf69fb7dfb8ce47c01cb345a92a56cd01443d20bf3cbd40fb0b7fbb36cada3c54fb71 SHA512 22a8e1a85fdc00291311e78b0c75c9aca6cdb060fb46677244ab8ab39793fbe290496ff9df640fab4e5504a43e3ffb293fcc1f5596178494e460c9e9abb6f623 +DIST vivaldi-snapshot_3.5.2110.3-1_i386.deb 73163460 BLAKE2B 84c33d2fe509889235dc2b0a03063328aea19c3908d84e418a34b65a6d4dd3f929724b3dff544c55aa4df333152e87e0e226087cabb09b64ce16b3b5403967ab SHA512 e860ded27d62043b36bb6bc1bcf80246e6569e617a77a2d72afce6312804ea16cb43d63fa5971246bef26dcd4cc7a1d5ea46c256100ca44a091d132b6ed8678a diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2110.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2110.3.ebuild new file mode 100644 index 00000000000..2884f5b9712 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2110.3.ebuild @@ -0,0 +1,114 @@ +# 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 + +VIVALDI_PN="${PN/%vivaldi/vivaldi-stable}" +VIVALDI_HOME="opt/${PN}" +DESCRIPTION="A browser for our friends" +HOMEPAGE="https://vivaldi.com/" + +if [[ ${PV} = *_p* ]]; then + DEB_REV="${PV#*_p}" +else + DEB_REV=1 +fi + +VIVALDI_BASE_URI="https://downloads.vivaldi.com/${VIVALDI_PN#vivaldi-}/${VIVALDI_PN}_${PV%_p*}-${DEB_REV}_" +SRC_URI=" + amd64? ( ${VIVALDI_BASE_URI}amd64.deb ) + arm64? ( ${VIVALDI_BASE_URI}arm64.deb ) + arm? ( ${VIVALDI_BASE_URI}armhf.deb ) + x86? ( ${VIVALDI_BASE_URI}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 + + 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/${PN} \ + || 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}/vivaldi-sandbox +}