From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1730307-garchives=archives.gentoo.org@lists.gentoo.org> 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 BD5801581EE for <garchives@archives.gentoo.org>; Sat, 22 Mar 2025 13:48:46 +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 AA414343228 for <garchives@archives.gentoo.org>; Sat, 22 Mar 2025 13:48:46 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id A98D71104AB; Sat, 22 Mar 2025 13:48:45 +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 A18FD1104AB for <gentoo-commits@lists.gentoo.org>; Sat, 22 Mar 2025 13:48:45 +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 4E8203431B3 for <gentoo-commits@lists.gentoo.org>; Sat, 22 Mar 2025 13:48:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D5FA5122C for <gentoo-commits@lists.gentoo.org>; Sat, 22 Mar 2025 13:48:43 +0000 (UTC) From: "James Le Cuirot" <chewi@gentoo.org> 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" <chewi@gentoo.org> Message-ID: <1742651198.8aa2a479b6b6bfeafe5957026ed2284c497958b2.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.3640.3.ebuild X-VCS-Directories: www-client/vivaldi-snapshot/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 8aa2a479b6b6bfeafe5957026ed2284c497958b2 X-VCS-Branch: master Date: Sat, 22 Mar 2025 13:48:43 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 199f4f0c-f385-4173-ab24-bdee485797c7 X-Archives-Hash: 264b13be3597c3a61f3724b49cc6346a commit: 8aa2a479b6b6bfeafe5957026ed2284c497958b2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> AuthorDate: Sat Mar 22 13:46:38 2025 +0000 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> CommitDate: Sat Mar 22 13:46:38 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8aa2a479 www-client/vivaldi-snapshot: Add version 7.2.3640.3 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> www-client/vivaldi-snapshot/Manifest | 3 + .../vivaldi-snapshot-7.2.3640.3.ebuild | 220 +++++++++++++++++++++ 2 files changed, 223 insertions(+) diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index b144a37f5fd0..51ef7b0a66bd 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -4,3 +4,6 @@ DIST vivaldi-snapshot_7.2.3621.60-1_armhf.deb 116616076 BLAKE2B 309f5aad54dd541c DIST vivaldi-snapshot_7.2.3639.3-1_amd64.deb 124598940 BLAKE2B 8c9cfd7cd3ee8b80dc126df3096a7ccc3a904eae1c28d9da96d851009a4a3c37bf7849c1ae41664e2269e6e18f367bd9da2b5eecf3f3cbfc60527f082ed82209 SHA512 d53413c088ea4afa41ffd7d9943cf919b4c76e6af489c6a0d0d42cf84798a9eb1e4a2600d8b79d731c46c08dbf20aacc7340d92f9248923f370e29584f97274a DIST vivaldi-snapshot_7.2.3639.3-1_arm64.deb 115430020 BLAKE2B 987a754389c659055c67da9bb88e7336679cdfbad1e00a1d13ce29a5428c4cf16174426b8c9d72da27ae073aae64cec64eff73c7c8992764240a0763721528f9 SHA512 6c8788e14a92fe8794af9745e7744f8592a4554e329faed28826a2785bd3585a4b860d02cc81d23ed49975840306925387091837728a5f8b5afd8b1878da1393 DIST vivaldi-snapshot_7.2.3639.3-1_armhf.deb 116558260 BLAKE2B d983e516682d549264d941856154933a34d58effcee0e2f933c366320ef4efcc29aa0b9baa1d3d580c3b7657f77ba24232b412e6f937edba50438a0d6922d1c7 SHA512 61d438629eb273fb489ddffa1ee07ec981b5de2a5ee19c9bf6ed1552f4fbf7543e9a2bc9cbb04c9679edf7753f504ed8a14d61ba6ba2e39f51cd1e935ea36396 +DIST vivaldi-snapshot_7.2.3640.3-1_amd64.deb 124613680 BLAKE2B 98802ae476b458cf144edae2053cb0b634f5b2d15dd3635bb9c4827ce43e1c29d8fb525b0471c6c7ad21ddafa77e5e860406f791d17f800a26db578065ec3c35 SHA512 185c13ecb90539dce29ecf92890d489f75d0033b38133efd72cf6c9511417b269bf7b70a6527d602b17024e85c4bd6ba714894acf5fc852d7f770b8d81ae787e +DIST vivaldi-snapshot_7.2.3640.3-1_arm64.deb 115444540 BLAKE2B a93d2a153f803cf877f4c2ede5096559d7f0090891c9016a1d84add136f9387513097cc370e136a93230f3ec90860bedab175893718250d2f42ca13a5c86f3d7 SHA512 881e6f90ab9b63792bd11ca1150e84a9cdd826236e7d8191c8bb856fe7caf27b29be039dca23f704ff146708ec89bb5b96eca67cd20f90a60074dfce706ee25b +DIST vivaldi-snapshot_7.2.3640.3-1_armhf.deb 116551972 BLAKE2B 4ab4743a1eb8c8db3d9072b43c841c697c1417fd2b954dd742b3742d919c5008cb782aea7200d83338bf98a4c091ea78da780fc94e9e79d80b97b31fa5a83b8b SHA512 3145c17aba89d47a76159295dd80ddcabde5289b00114dc27ebfa98f3ca9f14508bc42b70a8fa0168c105d7550b697461ddca126a67e381378c838140817f545 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-7.2.3640.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-7.2.3640.3.ebuild new file mode 100644 index 000000000000..c7399dace195 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-7.2.3640.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 +}