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 51EF11382C5 for ; Thu, 25 Feb 2021 11:20:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A9EE9E0938; Thu, 25 Feb 2021 11:20:58 +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 7EFFDE0938 for ; Thu, 25 Feb 2021 11:20:58 +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 1395B33BE25 for ; Thu, 25 Feb 2021 11:20:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 745DA487 for ; Thu, 25 Feb 2021 11:20:55 +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: <1614252027.ce37bafa29886e49e27d21cdfe6de60b6e60ccd8.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.7.2209.3.ebuild X-VCS-Directories: www-client/vivaldi-snapshot/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: ce37bafa29886e49e27d21cdfe6de60b6e60ccd8 X-VCS-Branch: master Date: Thu, 25 Feb 2021 11:20:55 +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: 4ba3dcac-db11-4368-a3ce-59fc6cbacfa2 X-Archives-Hash: a3c5783e9e6a6d45033e5aaee84b1ad6 commit: ce37bafa29886e49e27d21cdfe6de60b6e60ccd8 Author: James Le Cuirot gentoo org> AuthorDate: Thu Feb 25 11:17:14 2021 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Thu Feb 25 11:20:27 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce37bafa www-client/vivaldi-snapshot: Add version 3.7.2209.3 Package-Manager: Portage-3.0.15, Repoman-3.0.2 Signed-off-by: James Le Cuirot gentoo.org> www-client/vivaldi-snapshot/Manifest | 4 + .../vivaldi-snapshot-3.7.2209.3.ebuild | 202 +++++++++++++++++++++ 2 files changed, 206 insertions(+) diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 4fe9b060018..8e153d8b302 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -6,3 +6,7 @@ DIST vivaldi-snapshot_3.7.2202.3-1_amd64.deb 78632312 BLAKE2B fd1190739c77986943 DIST vivaldi-snapshot_3.7.2202.3-1_arm64.deb 70706532 BLAKE2B 25600737deb8f8449e638a8e5d1d23274794532ee8dd3559f929a9f80565ae583e3fd62729be606f57cdddce226644a79b559a1b314435c22dccb15a8394c022 SHA512 ea6bd871732f4fec5fa0c7b6988e4cc00982299d36589f74203aa3d25ef5bf561329c03fb664ed3f630e59c84fd0aa4839c91253b4740c5a0a2006068f95cbee DIST vivaldi-snapshot_3.7.2202.3-1_armhf.deb 69573328 BLAKE2B d793a456a1e964f3729e93dc9a357c68679a11eaa5dc647be33c9d737079890d1dd377e70177a4d1c3b94f327fd22b66e76e816e46d6cc0693345b31e4abb193 SHA512 c323a67c6c5f47a998d3022ad96520431033d0cdcddff9960805a5f3e01b9848f3a7da423cce028811a11ff30a61a6435135a8229b8e4fb9eddd81fa0c692a8f DIST vivaldi-snapshot_3.7.2202.3-1_i386.deb 75645100 BLAKE2B ff98de60d662ee331b70e3f9dfc0bff96e85b1ecb01350a5981bbc3002f7b9462adb8272e99e555ef1a9a462d3b49431b1e96f47989b711f73d4dcd86fd5c0b3 SHA512 33f2b0dba893655e7873614b9443e5dcb11c776f26201abac3c8ef39459b4edfca5340e492eaf3f50a17296f7282e22b0582fda9b2f80f458e1ea003627f0bdb +DIST vivaldi-snapshot_3.7.2209.3-1_amd64.deb 78672360 BLAKE2B 799c9dd56d0b425dbb1a46764cc812151c589d1dcce51155caf337079227a62ac42c47ac0eafcade143dc2b3a5d5ebfe4764fbec0a28afac6ef405ebd0209301 SHA512 d104a9c5ebcbe17110fb396ba0ea0f2f94c746d44cffb0b281107b386103cfb88301184dc9238b487358379a8cf6e7e9fe7d422fd58945ea358298cbbbf1edc8 +DIST vivaldi-snapshot_3.7.2209.3-1_arm64.deb 70757212 BLAKE2B 587c1e88e9522ac32328c1e08645e54bd2fa9d21618a4806962d5fa41643a1ec5487b0d6a23deb553e8ad936c5c81e52149fe41ed138c8266007cdbc484eb1d1 SHA512 c5abf5eac3911fefaa64fb1ced6f6a24ff327f71e4fb99c0948cf3af07078dcd0c1137435bf7b2033071a6dc009ad0d03d4285b1b41ebf04fd78ebbc12eae007 +DIST vivaldi-snapshot_3.7.2209.3-1_armhf.deb 69583268 BLAKE2B cf6e931a398c8b58b03634fdbdefbe2d5bd4c7b84456ee4bda1757819cdbee7ce8de7159a2b222fce1ca34318e1ffa5fa4f0bc7652580d2ded6709f8dafc7c1d SHA512 909923b020bf37f0922e60d0e32fa245143f65d4accb888e2a9c303826af072afb022bb52895d05491e4238da0f2bf58efb2ec7099e719aec22361addebfd8e7 +DIST vivaldi-snapshot_3.7.2209.3-1_i386.deb 75693932 BLAKE2B 80381463774a15b8e9f7af74b8b12e2ee9f8cf4135edeaf55311cd9132d2bb7a03a8ba27c26d502ebc749d146a38d0f5f889018a60837c0e5f221096c6137d5f SHA512 47da7f78e739dcbc00c5614791caa5dca8029f0428ccb2d894bd6a6a0a3d461c1359c558d6384b921e52c769f31bd9a89a6dcd27b1b7c91a65ee3f663ca01cb6 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.7.2209.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.7.2209.3.ebuild new file mode 100644 index 00000000000..e3d12da4e30 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.7.2209.3.ebuild @@ -0,0 +1,202 @@ +# Copyright 1999-2021 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 + + 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 +}