From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EB4901582EF for ; Tue, 04 Mar 2025 23:25:49 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id ACED7342FB5 for ; Tue, 04 Mar 2025 23:25:49 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id A876A1102D2; Tue, 04 Mar 2025 23:25:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 9FC011102D0 for ; Tue, 04 Mar 2025 23:25:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 27577340DE6 for ; Tue, 04 Mar 2025 23:25:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B2253263B for ; Tue, 04 Mar 2025 23:25:46 +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: <1741130721.a5038f35324e38c2e1e38051d8e39ce4eef2a3d1.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-7.2.3620.3.ebuild X-VCS-Directories: www-client/vivaldi-snapshot/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: a5038f35324e38c2e1e38051d8e39ce4eef2a3d1 X-VCS-Branch: master Date: Tue, 04 Mar 2025 23:25:46 +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: 8aeabc2f-8c52-483d-9059-a73ac31bb39e X-Archives-Hash: 6a26a6f62ed0086f8a6471ac24b6cdda commit: a5038f35324e38c2e1e38051d8e39ce4eef2a3d1 Author: James Le Cuirot gentoo org> AuthorDate: Tue Mar 4 23:21:58 2025 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Tue Mar 4 23:25:21 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5038f35 www-client/vivaldi-snapshot: Add version 7.2.3620.3 Signed-off-by: James Le Cuirot gentoo.org> www-client/vivaldi-snapshot/Manifest | 3 + .../vivaldi-snapshot-7.2.3620.3.ebuild | 220 +++++++++++++++++++++ 2 files changed, 223 insertions(+) diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 9b357d2cb6bf..6769cadeb9a5 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -4,3 +4,6 @@ DIST vivaldi-snapshot_7.2.3597.3-1_armhf.deb 115281112 BLAKE2B ebf158fee2ec189f2 DIST vivaldi-snapshot_7.2.3610.4-1_amd64.deb 124553188 BLAKE2B 33850032d14e01baa6195f31cccf8ca4194c1d9fae54b4a56f91d4a3baecc6f11992099f70bc0155ed7eb885517f07d93bb158d97986c92e235baf824872dd08 SHA512 2f419db60a39eb809e0fe73a7b0e1dbf4fe3cb631528131058b06420ca020b9c7a83eebe49ad5cb2781ef5e8fb213436667e46e24592334bb0e3ff52d608a3d7 DIST vivaldi-snapshot_7.2.3610.4-1_arm64.deb 115444124 BLAKE2B 887041a6100ed3a42e87e5d039840030d703c47494229a09ca604ab27e38fe5af95404cc33540920c024ec264336c93c04c7a15d441c207d345c163f6dde03eb SHA512 12485a13cac756fd36992261b7b1b3db6cf3b230d44fb16efa6efce065c6bf506fc31fe9a9968d1fbb7c33b4f71a7aba7c5e364559901ead033a1af6d076d568 DIST vivaldi-snapshot_7.2.3610.4-1_armhf.deb 116444012 BLAKE2B df2ea46eb976a82459406b01a3a230b7395d13dab3dd355a1e7cfd9f4e9d4c982fb95644052a45c0b59cf23f504795d6788f9c786ede0ba860f11f2a993f6616 SHA512 0231a03615fb4278c280ca048140ed5575a145b9e8e3119a456bde7e4299e12f58896aa597b7b1480901d4aa7415402e90120ebdce40602510d54b4a14bab63c +DIST vivaldi-snapshot_7.2.3620.3-1_amd64.deb 124764116 BLAKE2B b6020a8e40330041bc7dc4cc4e1b23d2c146323b84c1b58693cf28d55fd7d24fdefb2f0039dfe545a47f543638691635c530a6f36670d24e92d1bf35461634de SHA512 1bf4b7a92cdde60ed7fd4edf54c9c12c6ae8409b22a1d62f6d540f4cd5d076283bbb80cf2e79b06744e72f063dc4361e3856084f223ae54eb47e3c662dd78189 +DIST vivaldi-snapshot_7.2.3620.3-1_arm64.deb 115476536 BLAKE2B 52fc74b9fd2facfe142625a891a203719853e2c8fbaa6b993a236976ec87ca850cac6a61a43fee10e8a5aa40feae7c7f876b75282b492db75598159b0ac90ab9 SHA512 8eb82d92a4dcb7ad6b2263c2a0ab897ff45929b8bb405f8da67eb711381943a07047ac43cb4918ac37b6231983174d3cf630512f23d275b67d8a16bcddc9b17c +DIST vivaldi-snapshot_7.2.3620.3-1_armhf.deb 116583928 BLAKE2B 3fa1bee54d2b1a18a6dbe40c3a98e131e08d94a54d64055ad8622e242b1920c08254c935c244244933a0695b8ee53c5786398061cace68ce2cdc876dcbdf81ba SHA512 805d5876bb4e112b33abf516c21cf8fcc06c376ca20df9e3ac38f19f117a6d5b7328b7cd9949d2b27d20d6aa5cead59eae5b00acca8d03d01b53bff5ba093717 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-7.2.3620.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-7.2.3620.3.ebuild new file mode 100644 index 000000000000..c7399dace195 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-7.2.3620.3.ebuild @@ -0,0 +1,220 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHROMIUM_VERSION="134" +CHROMIUM_LANGS=" + af + am + ar + az + be + bg + bn + ca + ca-valencia + 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 + 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 + ur + vi + zh-CN + zh-TW +" + +inherit chromium-2 desktop linux-info toolchain-funcs 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 ) + arm? ( ${VIVALDI_BASE_URI}armhf.deb ) + arm64? ( ${VIVALDI_BASE_URI}arm64.deb ) +" + +S="${WORKDIR}" +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm ~arm64" +IUSE="ffmpeg-chromium gtk proprietary-codecs qt6 widevine" +RESTRICT="bindist mirror" +#REQUIRED_USE="ffmpeg-chromium? ( proprietary-codecs )" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/mesa[gbm(+)] + net-print/cups + sys-apps/dbus + x11-libs/cairo + x11-libs/libdrm + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libxkbcommon + x11-libs/libXrandr + x11-libs/pango + gtk? ( gui-libs/gtk:4 x11-libs/gtk+:3 ) + proprietary-codecs? ( + !ffmpeg-chromium? ( >=media-video/ffmpeg-6.1-r1:0/58.60.60[chromium] ) + ffmpeg-chromium? ( media-video/ffmpeg-chromium:${CHROMIUM_VERSION} ) + ) + qt6? ( dev-qt/qtbase:6[gui,widgets] ) + widevine? ( www-plugins/chrome-binary-plugins ) +" + +QA_PREBUILT="*" +CONFIG_CHECK="~CPU_FREQ" + +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 -vf ${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. + rm kmr.pak || die # No flag for Kurmanji. + chromium_remove_language_paks + popd > /dev/null || die + + if use proprietary-codecs; then + einfo Bundled $($(tc-getSTRINGS) ${VIVALDI_HOME}/lib/libffmpeg.so | grep -m1 "^FFmpeg version ") + rm ${VIVALDI_HOME}/lib/libffmpeg.so || die + rmdir ${VIVALDI_HOME}/lib || die + fi + + # Qt5 is obsolete now. + rm ${VIVALDI_HOME}/libqt5_shim.so || die + + if ! use qt6; then + rm ${VIVALDI_HOME}/libqt6_shim.so || die + fi + + eapply_user +} + +src_install() { + mv */ "${D}" || die + dosym ../../${VIVALDI_HOME}/${PN} /usr/bin/${VIVALDI_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$(usex ffmpeg-chromium .${CHROMIUM_VERSION} "") \ + /${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 + + case ${PN} in + vivaldi) dosym ${VIVALDI_PN} /usr/bin/${PN} ;; + vivaldi-snapshot) dosym ${PN} /${VIVALDI_HOME}/vivaldi ;; + esac +}