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 08C2E1584AD for ; Sun, 04 May 2025 18:33:04 +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 E84FD34309C for ; Sun, 04 May 2025 18:33:03 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id E023311036D; Sun, 04 May 2025 18:33:02 +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 D6E8811036D for ; Sun, 04 May 2025 18:33:02 +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 8863334309C for ; Sun, 04 May 2025 18:33:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EBB6F13F9 for ; Sun, 04 May 2025 18:33:00 +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: <1746383308.80aeddd8ea570471e374436ee9e8789b62af3cd6.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.4.3679.3.ebuild X-VCS-Directories: www-client/vivaldi-snapshot/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 80aeddd8ea570471e374436ee9e8789b62af3cd6 X-VCS-Branch: master Date: Sun, 04 May 2025 18:33:00 +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: 47bc9e7b-44c4-4c01-94f5-040ef27ea0f3 X-Archives-Hash: acf78d3b682ac8421ea265f035f273b6 commit: 80aeddd8ea570471e374436ee9e8789b62af3cd6 Author: James Le Cuirot gentoo org> AuthorDate: Sun May 4 18:28:28 2025 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Sun May 4 18:28:28 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80aeddd8 www-client/vivaldi-snapshot: Add version 7.4.3679.3 Signed-off-by: James Le Cuirot gentoo.org> www-client/vivaldi-snapshot/Manifest | 3 + .../vivaldi-snapshot-7.4.3679.3.ebuild | 218 +++++++++++++++++++++ 2 files changed, 221 insertions(+) diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 13c4a5bfd6fb..0ec2e165323c 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -4,3 +4,6 @@ DIST vivaldi-snapshot_7.4.3664.3-1_armhf.deb 116540328 BLAKE2B fba8fcf8812ebf8e7 DIST vivaldi-snapshot_7.4.3671.3-1_amd64.deb 124737496 BLAKE2B 45bdb5933c5fe4b597801d53e5726feee7aaca4da07545843a26b931ab735b309afe316471f437e26eef8f3903b3fc8bc64cf293e705d0f492ed5420fe34928e SHA512 919df5a39935f3fde27acf0f406b78ee9672ce7af185eaf748e15bc2824f5fa4d6fa0c1762be617c677c4b0ba1f40167fae7bd8bec3d892032f9d1a1a7f740d3 DIST vivaldi-snapshot_7.4.3671.3-1_arm64.deb 115523896 BLAKE2B 1fd76ce002a050a6a406f73b6f3b12af19ac607a27f4e0d113bcc54469074439b311a41ba2ec252d18876e3e15db1ba78298755483a7f9661a54c7da9e62f74d SHA512 d07c061f47dff10c8b51d5fd44309ecd613740e74e69789c6a39945cc6ac89855e8540c16aaaf9cc7869a94dffd24022d07673509d339f92374977c5a92e9292 DIST vivaldi-snapshot_7.4.3671.3-1_armhf.deb 116631440 BLAKE2B 7c163ab1c865b452cfa57c8bbb31152d7a16c65a7ca6fde0e7f2b3452a70c1ad0aa203f625c983ef93cd9bd7f3c77683dc73c541c9c55564080ff04949f70c5c SHA512 3b9767289b2bc9167a52f9bbedea9419578d4fb87a8c2ce0c1ae2dd67a2e39a9bf4cc74a1848763992859c14a354489be5faf59b0ecf1975e46efed9adea7d3b +DIST vivaldi-snapshot_7.4.3679.3-1_amd64.deb 126268668 BLAKE2B df3accb11d9ed8f1487efe15cb5a09e950c764cc06e2f1661e8355a2c29cd87d97b76b22e0afab9d1919e53978da5f7763d60c80553c976d783218b6b01c5b5e SHA512 f5b0b2ba3e131e60c488994e1ae0a211f641f672acdecdc0947e69d5775e12334520516d39691f78cf278e16e0a9e8bb316d917d7fb189799130f8a931cd7685 +DIST vivaldi-snapshot_7.4.3679.3-1_arm64.deb 117182844 BLAKE2B de9bfbb2edf6b571580f7a11175ba3234ef250987e35dcb34ab6431c30bee8a2c18b4077a5052cfbeabe4f082f3c799891d85abc31d5803ae19f6e8f989d5a53 SHA512 40fdbf3c684b15f8f0574060633194a51c6d1edaf50d8348ebe8d965dd816bc69bd4a43e4997bebdeb8305ef0571d8b5248a5cf0986cd2290bd5b0a0f81abaec +DIST vivaldi-snapshot_7.4.3679.3-1_armhf.deb 117771964 BLAKE2B d98f73112d1d89ad8c981e1028135b715d9ac1644e3408e01b0a017f381801cf44d086745fca9c6294a5b72c9a122d400b1dbf551f26e1b21828ed004795b0bc SHA512 d07de6da8cae9c5b5aa12fa7b8b36cf8dfa69ab72c0478fd6788712061c01ab724d89b9d70c2aad3aed93176ace9f2fa46da662c9589cc650726437ecc6f71c3 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-7.4.3679.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-7.4.3679.3.ebuild new file mode 100644 index 000000000000..9f534a5acf6d --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-7.4.3679.3.ebuild @@ -0,0 +1,218 @@ +# 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 || 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 + fi + + case ${PN} in + vivaldi) dosym ${VIVALDI_PN} /usr/bin/${PN} ;; + vivaldi-snapshot) dosym ${PN} /${VIVALDI_HOME}/vivaldi ;; + esac +}