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 DC7001581FD for ; Sat, 13 Sep 2025 15:38:03 +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) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id CAFEF3415D2 for ; Sat, 13 Sep 2025 15:38:03 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 40FF7110573; Sat, 13 Sep 2025 15:37:55 +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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 3752A110573 for ; Sat, 13 Sep 2025 15:37:55 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DD68A3410AC for ; Sat, 13 Sep 2025 15:37:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 50D593991 for ; Sat, 13 Sep 2025 15:37:53 +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: <1757777779.290a7d8ead3adc5b7121113e0039c5919c4b1caa.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.6.3797.37.ebuild X-VCS-Directories: www-client/vivaldi-snapshot/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 290a7d8ead3adc5b7121113e0039c5919c4b1caa X-VCS-Branch: master Date: Sat, 13 Sep 2025 15:37:53 +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: 09f68909-5a05-49a3-a965-3e998a62b3e1 X-Archives-Hash: a2f7a0eb5e798425bf400b61b6b199de commit: 290a7d8ead3adc5b7121113e0039c5919c4b1caa Author: James Le Cuirot gentoo org> AuthorDate: Sat Sep 13 15:36:19 2025 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Sat Sep 13 15:36:19 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=290a7d8e www-client/vivaldi-snapshot: Add version 7.6.3797.37 Signed-off-by: James Le Cuirot gentoo.org> www-client/vivaldi-snapshot/Manifest | 2 + .../vivaldi-snapshot-7.6.3797.37.ebuild | 217 +++++++++++++++++++++ 2 files changed, 219 insertions(+) diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 9cbad7120303..73b49ecc91a5 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -5,3 +5,5 @@ DIST vivaldi-snapshot_7.6.3797.28-1_amd64.deb 126336348 BLAKE2B e782836a06f5fcb9 DIST vivaldi-snapshot_7.6.3797.28-1_arm64.deb 117018192 BLAKE2B 66519a4635bea52ded6c33c42d6fd5f57ff0418fc8cd25ab444439dbdf832dc526bb94188061ac5d99eeba800ebe8e66804cda1ecaa236fdffa05b117d4977b5 SHA512 4f17aa98d22e903d5dad87b4531f2d35ff93f0d4e7852e684d1522c1cf91a7dd0e17503e90434e5a852f87fadbed51a84a1580c9f3e55043c9ef0895891a862b DIST vivaldi-snapshot_7.6.3797.35-1_amd64.deb 126291156 BLAKE2B da9f6afc6ec9d981e0b2e5a2fcce798f1f877bb6a5354f5555c9725f3d8231ba05b8cbb9018d525163bdb866cf48c45dd388999c933f009f397e62430cd678e0 SHA512 c3489234064a72a80464361993968ea2cf2ee9e791915f58a06bbc9bcd9ff2dc091270e8fc4e5bb3d2c630b4bbee68a75770ebaa0a424172ddd2727ac38661b2 DIST vivaldi-snapshot_7.6.3797.35-1_arm64.deb 116911380 BLAKE2B 6a32d57373c29799fe7272a8d667bb28dcc528b192c8b36c57d19d074e8d173af46b39c0134f2edd53a882e2236255274afc4d5941ba58a989b7af66b661e655 SHA512 721e2cf9704df471ebedeb6f12d4dd85cefbdc8b145a5e063bfb7652c0ffed0d1cabb4a4a45a4c67c2f0eaa84c2848d9265d2d758d7ab75e4fb8085b96a31c43 +DIST vivaldi-snapshot_7.6.3797.37-1_amd64.deb 126328232 BLAKE2B 1b4023832be1541362cc8e2cfaaf8e9cb3a6cb183636fcaedc70e838a35e6c6509adfa14d81e4a7f52bea5e407d64c761594aa58e76d6ac95a387f0856094a37 SHA512 325d069c3f3d8a920dee88484e5e1f7ef998dc0655a062c04901de5220bc2d0bfc461a368279321eed4d9dc30387ffc487a2a28ad7e1ef537d2e9677684a7f19 +DIST vivaldi-snapshot_7.6.3797.37-1_arm64.deb 116930592 BLAKE2B 928a639c62fd7d85188467ca8feaf9ec7bb57b4a46ea3d34e4388703acbe7299a4a57d41b2f816d03fb776d68ecaa29f4a8c8f1671499cb07933a1142022431b SHA512 4dd831b49419aa6b61b2fd46e12ed7be467b695dc1811827b6b6e700bc8f7850d2ead16b602d59b54170801e8cc294a729df98bd86cb8ce4f1cb6c3fd1e726f9 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-7.6.3797.37.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-7.6.3797.37.ebuild new file mode 100644 index 000000000000..5237f09c183f --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-7.6.3797.37.ebuild @@ -0,0 +1,217 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHROMIUM_VERSION="140" +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 + kmr + 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 ) + arm64? ( ${VIVALDI_BASE_URI}arm64.deb ) +" + +S="${WORKDIR}" +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="-* ~amd64 ~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 || die + + pushd ${VIVALDI_HOME}/locales > /dev/null || die + rm ja-KS.pak 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 + 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 + fi + + case ${PN} in + vivaldi) dosym ${VIVALDI_PN} /usr/bin/${PN} ;; + vivaldi-snapshot) dosym ${PN} /${VIVALDI_HOME}/vivaldi ;; + esac +}