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 CDB471382C5 for ; Sat, 12 Dec 2020 12:45:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E5AC9E0977; Sat, 12 Dec 2020 12:45:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 BFF16E0977 for ; Sat, 12 Dec 2020 12:45:24 +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 3115F33FAD1 for ; Sat, 12 Dec 2020 12:45:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9461142F for ; Sat, 12 Dec 2020 12:45:21 +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: <1607777030.ea080f8886287bf57b55d00bf23ab017d8193091.chewi@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-3.5.2115.81.ebuild X-VCS-Directories: www-client/vivaldi/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: ea080f8886287bf57b55d00bf23ab017d8193091 X-VCS-Branch: master Date: Sat, 12 Dec 2020 12:45:21 +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: e12bbecc-3aea-45f5-be4a-0f391f29655e X-Archives-Hash: 4f110066e18045cf9ca6e3b370fe42e6 commit: ea080f8886287bf57b55d00bf23ab017d8193091 Author: James Le Cuirot gentoo org> AuthorDate: Sat Dec 12 12:43:50 2020 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Sat Dec 12 12:43:50 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea080f88 www-client/vivaldi: Add version 3.5.2115.81 Package-Manager: Portage-3.0.12, Repoman-3.0.1 Signed-off-by: James Le Cuirot gentoo.org> www-client/vivaldi/Manifest | 4 + www-client/vivaldi/vivaldi-3.5.2115.81.ebuild | 194 ++++++++++++++++++++++++++ 2 files changed, 198 insertions(+) diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index 7189d9a9107..09aaaa0d48e 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -2,3 +2,7 @@ DIST vivaldi-stable_3.5.2115.73-1_amd64.deb 76802208 BLAKE2B 1421a38a20fc1c25c5e DIST vivaldi-stable_3.5.2115.73-1_arm64.deb 69054028 BLAKE2B fc17e2d84900d101d5a716fa79990cd6501e741c2e3c80889e3b4b5c057a2ea0dad29b9b22fc71768a14ad75677666ab6755ca3babd29cd9babbf72b15b3830d SHA512 af84e3d1719cfa0f19ccae17af48c375a03e676e68be92a8ab5babb6bec3d36d6cd1ce4b13daeeffd5f0117e2614d4c1da53f5c2690c7f373003cf805b7ca99d DIST vivaldi-stable_3.5.2115.73-1_armhf.deb 68138412 BLAKE2B 22c061ac3112d2e8f81b3b9ad0e6fb3d852245f5ba15ca24a6a914d5fe5e8216e973b22e80cb3c94812eb7b02ed7a3b165390bd7651498c9149bfee07994664b SHA512 e1997250bec3f1591000b88a3e08446a8e2d1ffea057cb5faf101e048a1adad1db5d240ee6e12d959ad8d5172de8710ef969c407363b1693b9da83cd39091799 DIST vivaldi-stable_3.5.2115.73-1_i386.deb 73581952 BLAKE2B 4cc3bc2109056dfcfab741ebee15337fc01213379c258ade99d460ab2e0f588eb54c34ac2596f8f6bc16761e69f43132ca2a8c1e81785f79238668f44be7de22 SHA512 65a25d67ec6decfbfb57fcfaead79600d6eabe3c7278b25c9c5103648e3dfff80d36838f210076bb85cdccf7ca3f4dbc9ef764cb449e76fd8ba54f05f9ed3ed2 +DIST vivaldi-stable_3.5.2115.81-1_amd64.deb 76800924 BLAKE2B f284db01815f2045f338ae05313c3ecc760c358f396d3a5b178f7b78958217929cca5b4565ab5cf886b66674392cd247e1e550b204789b7f82e75a612d0e73c4 SHA512 6586cb7b2aa481c131792e317181f7089bcce6fe2a9682eedd6dbcb957cecf79facd984c5003c23e028a9c8aea5b822f16d8716fe377fc9b9eca03628599f29a +DIST vivaldi-stable_3.5.2115.81-1_arm64.deb 69060656 BLAKE2B 980c9057d58ffb76f16ff460d507b0d1d4af698b45448be201a6da4b0332f9e10505c0e0cb377670b4f0e2e170467a753f0b694d07277af344908f72182f0f95 SHA512 aa4664f7dc7cb2f2c90a62f555d77ac5232d87205660a626cb6b391735d231e01c76318931607ebb763bb15fe61e6b5b76b9f8136899296db87084ceada38c86 +DIST vivaldi-stable_3.5.2115.81-1_armhf.deb 68138676 BLAKE2B 800424a447f968b73804dfb57505b7ba6f3d422f76e35b1260178fa3b1e8056d6452f9a131f0216d3b6e156e47c84e39bd95a436cccd0c3c44a4600e2378ea9d SHA512 9bdc9a697fe255d5435ea9435c2a5bcd7eabbcc8f013af573fc4b6903f367a14a5cd140ed9141a856bd4c16446fffad1582cf5f3701828a654459a65b1480a0f +DIST vivaldi-stable_3.5.2115.81-1_i386.deb 73600472 BLAKE2B fad4bbef97173f39446277b1ace8b8bf421cd979f02c490879f7b4b8ba3b82cfb6024c8ebad60aaaf436e755a69151883cbb0108212cce7f0274baa969f3f923 SHA512 8634d8a4ee9f0b240f5c8ab59599918f5e0f830e38f8caa6a24afcdf0e6c3291f447834e6262121ec0e484f098ee17be9fb4ed493b81ecba7e0551ee7a31fa96 diff --git a/www-client/vivaldi/vivaldi-3.5.2115.81.ebuild b/www-client/vivaldi/vivaldi-3.5.2115.81.ebuild new file mode 100644 index 00000000000..f69da1d681b --- /dev/null +++ b/www-client/vivaldi/vivaldi-3.5.2115.81.ebuild @@ -0,0 +1,194 @@ +# 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 desktop unpacker 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" +IUSE="proprietary-codecs widevine" +RESTRICT="bindist mirror" + +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] + proprietary-codecs? ( media-video/ffmpeg:0/56.58.58[chromium(-)] ) + widevine? ( www-plugins/chrome-binary-plugins ) +" + +QA_PREBUILT="*" +S="${WORKDIR}" + +src_unpack() { + unpack_deb ${A} +} + +src_prepare() { + # Rename docs directory to our needs. + mv usr/share/doc/{${VIVALDI_PN},${PF}}/ || die + + # Decompress the docs. + gunzip usr/share/doc/${PF}/changelog.gz || die + + # The appdata directory is deprecated. + mv usr/share/{appdata,metainfo}/ || die + + # Remove cron job for updating from Debian repos. + rm etc/cron.daily/${PN} ${VIVALDI_HOME}/cron/${PN} || die + rmdir etc/{cron.daily/,} ${VIVALDI_HOME}/cron/ || die + + # Remove scripts that will most likely break things. + rm ${VIVALDI_HOME}/update-{ffmpeg,widevine} || die + + pushd ${VIVALDI_HOME}/locales > /dev/null || die + rm ja-KS.pak || die # No flag for Kansai as not in IETF list. + 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 + + local logo size + for logo in "${ED}"/${VIVALDI_HOME}/product_logo_*.png; do + size=${logo##*_} + size=${size%.*} + newicon -s "${size}" "${logo}" ${PN}.png + done + + if use proprietary-codecs; then + dosym ../../../usr/$(get_libdir)/chromium/libffmpeg.so \ + /${VIVALDI_HOME}/lib/libffmpeg.so + fi + + if use widevine; then + dosym ../../usr/$(get_libdir)/chromium-browser/WidevineCdm \ + /${VIVALDI_HOME}/WidevineCdm + else + rm "${ED}"/${VIVALDI_HOME}/WidevineCdm || die + fi +}