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 D709F1382C5 for ; Sun, 6 Jun 2021 10:47:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C96C6E0855; Sun, 6 Jun 2021 10:47:26 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 8D33AE0855 for ; Sun, 6 Jun 2021 10:47:26 +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 0BF96340D48 for ; Sun, 6 Jun 2021 10:47:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2D356799 for ; Sun, 6 Jun 2021 10:47:23 +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: <1622976348.bb1b649cbd9c519b93e033796c696ca3427d521e.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-4.0.2312.13.ebuild X-VCS-Directories: www-client/vivaldi-snapshot/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: bb1b649cbd9c519b93e033796c696ca3427d521e X-VCS-Branch: master Date: Sun, 6 Jun 2021 10:47:23 +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: cbe2e591-6db0-4d3b-ac01-e97809a5eb4d X-Archives-Hash: 0a3be8f604cb06cd32ef0e9c3011528a commit: bb1b649cbd9c519b93e033796c696ca3427d521e Author: James Le Cuirot gentoo org> AuthorDate: Sun Jun 6 10:45:48 2021 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Sun Jun 6 10:45:48 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb1b649c www-client/vivaldi-snapshot: Add version 4.0.2312.13 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: James Le Cuirot gentoo.org> www-client/vivaldi-snapshot/Manifest | 3 + .../vivaldi-snapshot-4.0.2312.13.ebuild | 205 +++++++++++++++++++++ 2 files changed, 208 insertions(+) diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 877f5267191..ca87fdaf90c 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -5,6 +5,9 @@ DIST vivaldi-snapshot_3.9.2289.3-1_i386.deb 82584664 BLAKE2B f5447df81bf87b128cf DIST vivaldi-snapshot_4.0.2312.11-1_amd64.deb 84160524 BLAKE2B 2247fbc94c9717af723d40968d5e23297e1327ae536f309e1c249a71425e1200b75df90696cb90eddab116ada965e5fd84edac14af4259e681636f350e304b4a SHA512 5b0866f3f557896ac87f324572df1f451cb7eea5d09d5e0eb32bca4fc10e0f59b5005c7507ef9a2b56797a8a4358d23e50b2f8afaa535fff26e4e8b111c69863 DIST vivaldi-snapshot_4.0.2312.11-1_arm64.deb 79588788 BLAKE2B ec904a9960a61f40deef741e8154b2c926a24a154d310d2d1e18337fca1ca0938df500dea52f5d8dcf9c39265e2981c99c300f477a899f8f27df33faa774af32 SHA512 d0916f2170d516cf5ec608e3cbd0635abd250ba023a2d3007c77f32b52a77f75076df331843327377a4ca506b4f1a0f6469762aba76665c3acdfe2c9d9a2e394 DIST vivaldi-snapshot_4.0.2312.11-1_armhf.deb 75730272 BLAKE2B ee52c052dd9231eda447a9ddf860884fa769a5faca97580a4400cfe9b4423f9cd9ea516fe91f0927750964c9cffcf98892b67c1d9853c255a62741430b470acc SHA512 27d041a74625a9867fb5830dd373be836ed41f002183d24219d7c8cea71d68aaa855cc73e47f377c63180fdb3ff9e3ca5bd7619ee3c7ad482d51a53fb81a4df4 +DIST vivaldi-snapshot_4.0.2312.13-1_amd64.deb 84211088 BLAKE2B 61165d76cb8892ad269598f2f34252792fc9241811dc9452b7a65466f9e5fad457eeeca2d0d5cf489399dba66898e90fdab83a33f6d1dba25e22017d31034649 SHA512 86c0e08ec392a236b476c712a4f0fba17bd80e271a4c9819cabc6aa8d1d77dd4cb889143abffd9a337f19daaa6074f00d4a4595d5f3be126219c4c1e51065317 +DIST vivaldi-snapshot_4.0.2312.13-1_arm64.deb 79638308 BLAKE2B 41722e6c3065b610e6d59d8dd83d3c7e920b2d37f195e0f6583f57c5c5d9f501d41be6a7fd8f5433585676842efb9041d6de170a40ba627e77612ce723c1b926 SHA512 0e605ea62e64064563b287be08366254b1fa1578d5cb44a4578bbd17ed1b876a6d648c36fe584c7ea799aa7a5163be7f1413ffe32a454682d092bce9ce2065c1 +DIST vivaldi-snapshot_4.0.2312.13-1_armhf.deb 75769556 BLAKE2B 7fbcc2f0fc309218c3b46ed905fb3704fa7c52f762a974e225ccb0b9a4692e74a1cbc56c6d192ccced312936e0f615e521841d3572c9626d17449ed696effee1 SHA512 0eec9ba838af6f64e6f768fc6fa148ae0fbbfd5af171968e72d24528458dd271d2f305ce3f1c3caf855ffc95458debcc498834ef43219a040c48d70c229153b9 DIST vivaldi-snapshot_4.0.2312.7-1_amd64.deb 84153148 BLAKE2B 3eb29135b9e8d13a9ebac110babe5d57fa0affc6c0bc271c173745301869556e55f9bf37b8df3f72cd8d249a1096ad69e1d61d00607af492a6f5126cd7caecd6 SHA512 8fcdbc8cb92e04097d2f8214f3867a5dc6dc28cd3a67c5b6efe9d25e44421ba193a53722f494c834b919ad322114613f79fe3546f1704ff3cefd0c89f97b462f DIST vivaldi-snapshot_4.0.2312.7-1_arm64.deb 79610308 BLAKE2B 0861dc075891ffba014737408071ff6f749bc6887247a91043b64b6c24a4d04d6a7add5af40fbda8e681ad95caf5a23512c113dee195571f799d475c67032c64 SHA512 b176132b33e5e84e4f3ca4b11de69545d493fbb4a6be4f0d41ca285f381923a11f6a42f68f04470298c23f091179e8a66e206402ceee645c23c956a5adce4fe0 DIST vivaldi-snapshot_4.0.2312.7-1_armhf.deb 75716336 BLAKE2B ec78a97501091c2e3810918a50fbe50ea1e044b66231e5a74eb5ce196f6080c5aed51e2b94cb307ebe646ddab39982ff0bdaa95a99c70666c3904be9f377d9a2 SHA512 7fd59a9c9e1b8406b2cea1170d75b248a0f567e47054e7786205320c9944df32bd783761077519b82229087c51eeb88e31c83daa2e275f0e8b5a6e93da5dcb9f diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-4.0.2312.13.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-4.0.2312.13.ebuild new file mode 100644 index 00000000000..922779ca6f6 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-4.0.2312.13.ebuild @@ -0,0 +1,205 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CHROMIUM_LANGS=" + af + am + ar + az + 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 + kab + kn + ko + ku + lt + lv + mk + ml + mr + ms + nb + nl + nn + pa + pl + pt-BR + pt-PT + ro + ru + sc + sk + sl + sq + sr + sr-Latn + 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 ) +" + +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm ~arm64" +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 + + if use proprietary-codecs; then + rm ${VIVALDI_HOME}/lib/libffmpeg.so || die + rmdir ${VIVALDI_HOME}/lib || die + fi + + 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}/libffmpeg.so.$(ver_cut 1-2) + fi + + if use widevine; then + dosym ../../usr/$(get_libdir)/chromium-browser/WidevineCdm \ + /${VIVALDI_HOME}/WidevineCdm + else + rm "${ED}"/${VIVALDI_HOME}/WidevineCdm || die + fi + + [[ ${PN} = vivaldi-snapshot ]] && + dosym ${PN} /${VIVALDI_HOME}/vivaldi +}