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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CB264158046 for ; Sat, 12 Oct 2024 14:53:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EBA3FE2A4F; Sat, 12 Oct 2024 14:53:42 +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 pigeon.gentoo.org (Postfix) with ESMTPS id CDD93E2A4F for ; Sat, 12 Oct 2024 14:53:42 +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 E5A8D343180 for ; Sat, 12 Oct 2024 14:53:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 497DC1FBE for ; Sat, 12 Oct 2024 14:53:40 +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: <1728744811.900200238eed6fa8b4a5b01a36ef6f6eb50f6f2f.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/vivaldi/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/vivaldi/Manifest www-client/vivaldi/vivaldi-6.9.3447.54.ebuild X-VCS-Directories: www-client/vivaldi/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 900200238eed6fa8b4a5b01a36ef6f6eb50f6f2f X-VCS-Branch: master Date: Sat, 12 Oct 2024 14:53:40 +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: 65474ec3-47c0-475c-aba2-8803076733e1 X-Archives-Hash: 455f8075551363b1c4b13e33f052db22 commit: 900200238eed6fa8b4a5b01a36ef6f6eb50f6f2f Author: James Le Cuirot gentoo org> AuthorDate: Sat Oct 12 14:49:38 2024 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Sat Oct 12 14:53:31 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90020023 www-client/vivaldi: Add version 6.9.3447.54 Signed-off-by: James Le Cuirot gentoo.org> www-client/vivaldi/Manifest | 3 + www-client/vivaldi/vivaldi-6.9.3447.54.ebuild | 226 ++++++++++++++++++++++++++ 2 files changed, 229 insertions(+) diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index 064245601422..de22cb24a55e 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -4,3 +4,6 @@ DIST vivaldi-stable_6.9.3447.48-1_armhf.deb 106149580 BLAKE2B 87b45daf3dd4d8b9cb DIST vivaldi-stable_6.9.3447.51-1_amd64.deb 113576956 BLAKE2B f87581cfc795e17969a4fb2a959b44e798a3892d0718807912f9817b6372c59bd5769ba06f0bb6c7e16fe66e9eb63a5fd1596d01c85012c1db5092d9389af8c4 SHA512 fc146e2ce0436785d5a9a914585fa7c23fbe34234a74dea078c42d4f30227200d848472902bcfe6869072f2c0d2839b66e407a473168b660ce943921b11a2a1c DIST vivaldi-stable_6.9.3447.51-1_arm64.deb 105183100 BLAKE2B e20726cc8c7b97139355b26fc1a387a72ed0a59483fded78ac4988a0300ada86060bb5504c067141b5fb6d62b5b6c477b846371be02433e4ecfcf128ee1a4a1d SHA512 25610aef0bb82d4ca3617f225a0badec5150e28bc40ed95037239dee1951a5ae5655c5017fff8a7bb430c20fb91a5b2fa25276707545d82b1d0e11ebee4bb4ae DIST vivaldi-stable_6.9.3447.51-1_armhf.deb 106214184 BLAKE2B c5f151781e4021c257d847e2a9e53bf96d013d1fea404907923f1eb5b92579b045bbcad21ecc3b39091b5102bc4424d17152c9655412ecb21719f71a343059a8 SHA512 df0efb4eb09f4416044f89ebd94be0e59a123a04116041e5c3aedab835a0a25f0de28c92a84430f2eb7c41b26b677fd81e0e0ade71927db14ad317bbe105d393 +DIST vivaldi-stable_6.9.3447.54-1_amd64.deb 113636280 BLAKE2B 34003d015b2e5e7e48665363fba8d4f7bdbf0892e1eb75ec456a080cf501d9b030d9418ef931619a6d75d317b656a232955170fbe82bdafbcb816d29cdf5976b SHA512 38da40e04a99f247550706390b1344419aef0e80b89f8f89a73a19ab0d8ea2e24e23ff27aef363e0d6fb16139b0d72df4bb52e07e5cdd38e657fa3ba136923ef +DIST vivaldi-stable_6.9.3447.54-1_arm64.deb 105165576 BLAKE2B 0e084d2b1c41075db8199dc8e29d094acadd59c8538d6b6dca424bc0a310833e10dc5dd845fc4f64097b71a7f654d9a1c5a9cebfee31e1c25058a83ef1128825 SHA512 51549841f84327e79770033989f1663d53ed1fea9410ad13592360e89eabf4d8451750424fe105b353e90564c44ed04281feb596198210b40c948687f9e3be7c +DIST vivaldi-stable_6.9.3447.54-1_armhf.deb 106209184 BLAKE2B f878e1d7583f5fa72ba1381111c7210a323a9a272790ebdd57472af4c30ec49d47d1210bf34c6bbab32b444c2357de6d8d2f6e31f4f92c55db2097341dd3e333 SHA512 2944f4ca6112292e93bd7c2b5c58f99dea7a1de63c482960da41a424c9e5797cc606628ec6351c61cd14a9eacce02d1132443b72e9f9dd10f89515f3a1a13223 diff --git a/www-client/vivaldi/vivaldi-6.9.3447.54.ebuild b/www-client/vivaldi/vivaldi-6.9.3447.54.ebuild new file mode 100644 index 000000000000..a0fd66eb84bd --- /dev/null +++ b/www-client/vivaldi/vivaldi-6.9.3447.54.ebuild @@ -0,0 +1,226 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHROMIUM_VERSION="127" +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 qt5 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[X] + 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} ) + ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + ) + 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 + + if ! use qt5; then + rm ${VIVALDI_HOME}/libqt5_shim.so || die + fi + + 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 +}