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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8921A1581EE for ; Wed, 20 Nov 2024 23:06:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 56301E0805; Wed, 20 Nov 2024 23:06: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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 35905E0805 for ; Wed, 20 Nov 2024 23:06: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 0C30E335D7B for ; Wed, 20 Nov 2024 23:06:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 467B418C4 for ; Wed, 20 Nov 2024 23:06:39 +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: <1732143812.44c8c3118bf1075d895cba2805294c9aaad8d91c.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-7.0.3495.15.ebuild X-VCS-Directories: www-client/vivaldi/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 44c8c3118bf1075d895cba2805294c9aaad8d91c X-VCS-Branch: master Date: Wed, 20 Nov 2024 23:06:39 +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: fad7c201-9860-4811-8115-422a72078818 X-Archives-Hash: 57ed9898ccd0eec38f879b87d3064524 commit: 44c8c3118bf1075d895cba2805294c9aaad8d91c Author: James Le Cuirot gentoo org> AuthorDate: Wed Nov 20 22:57:17 2024 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Wed Nov 20 23:03:32 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44c8c311 www-client/vivaldi: Add version 7.0.3495.15 Signed-off-by: James Le Cuirot gentoo.org> www-client/vivaldi/Manifest | 3 + www-client/vivaldi/vivaldi-7.0.3495.15.ebuild | 226 ++++++++++++++++++++++++++ 2 files changed, 229 insertions(+) diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index ac30989f331f..83bab92c9990 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -1,6 +1,9 @@ DIST vivaldi-stable_7.0.3495.10-1_amd64.deb 120990972 BLAKE2B 55db6b2efd9a94cba4b016e739c89ce5a14ef0ae05ee65340c3a51e93482714716e7567941498108755e46128688417fe8793efee10eb9eafd10762d03518511 SHA512 99fb82df069daeebca6c6fc4b2ba2beabcbba6797bf838dda5dd91967c70f275b00a77fd1869345ad70253ac51fc559653c63639e0924c107256eea8113d2d7b DIST vivaldi-stable_7.0.3495.10-1_arm64.deb 112797448 BLAKE2B 0736c29d059fabc5b677c88d2a6ef260c11aa9ca9eb40dcc1604a763254e26a3311af9c0349b090240873a0f1e15eef4aef5fff78f0923131eedd0b5cb04c1ab SHA512 b69eddab970e10ccdf9bcb31b8e91a2a349e8c9aae55becc3313152e71459aba022f55a378a9810703c64614b44e8f4c7d3de3a56ad1e4b10d50eab17b4b051b DIST vivaldi-stable_7.0.3495.10-1_armhf.deb 114002332 BLAKE2B b0f9292943acdb99077a765f493a80974e8e8fce093c02f5785dd3b864cbc8acedf1c3a6d7dbc8455b937db6401becc49fd9aa5bd13bea5c17a57c23b601c36b SHA512 077d591eef251a574ce2c3ea880df510656fdf5911c771b24dd05fe4900ea499bd36ccdff7e6bebe7afdf5ac6f7c2d655df52ff5f66b7e08ff80cf09a1145c6c +DIST vivaldi-stable_7.0.3495.15-1_amd64.deb 120892368 BLAKE2B 32455bfa6762d5a1ff76ecae000f9650470e610094e6589e97dc15e53cad7a0e0f6a474ba58d9b30c73ec830dd323dbb3ab2221a90b6690882c5b977b20e7981 SHA512 b43e04258a861eb1220b2495a4e120dc364d7e2269ec0cb1cb7c84c259b5b292c409e8ef6746dfc1de43d9169b3c78edf4c452e8ecd2331655b30c6de84ed239 +DIST vivaldi-stable_7.0.3495.15-1_arm64.deb 112942544 BLAKE2B 928beea38e2a76e3d547469d9119d81fe9a8467891468849017fb70034f1a9f7bbd85ab0dff89301288ec12d61f905601b93d89e2b58bd724c09f55109b1def9 SHA512 6b8a9ada4d7ab27d705fb3cde61e6e2eb0df288e2c0bae2ec60c814037be1461ac1155f2b7a5a560e915a224d98ab420148f95a43afbb129fc672d26ed8fa8d9 +DIST vivaldi-stable_7.0.3495.15-1_armhf.deb 113982572 BLAKE2B 517f9fbc4218dc8db7356553f98b616d6a14d8a7cdf3aa6dd4ff06213efd70b845337781485a5981b9c85609a7bce01effb69a34c3e4468d9aa38b8e26865061 SHA512 a048c8f279690a9b5a003c84c11867ae1a95b7f45965c94d53d1d4731a498704ea870813cca6a21c55387cc84152d8f7c21a45be0a94f4663770a7934d24446c DIST vivaldi-stable_7.0.3495.6-1_amd64.deb 120922504 BLAKE2B a45944233dd3adf7704c36357212807f29dfca5a76d8e4b28ebcdc32cf05bd16b2feaa12e51174076b00dc93da82e6f6d6c0cc7570bcf8699164d35436d4f063 SHA512 bd2c70c5f0bcbe6fd617d6f622975abdf4d07891425d54e7fade9aa395e9e6e6e115be6fd88d50d0c613188b133164838cc8e621f7aecdeb718aa44c824b05e3 DIST vivaldi-stable_7.0.3495.6-1_arm64.deb 112791276 BLAKE2B b7d94f3b3c66961fe87a0b56c8203d755b710bf7960f8a67e25beba7611d89bf820e335387fae8d6f52548188f04ec4b3c9faf06069a3ca78df6720181745b0b SHA512 963f4a14027e0d08c9b494769b00c6f6144243431afdd5270e46f5c05e8436ef81204a03940684553f1c93b92a1cf404e0717536784421f990442f8fec761692 DIST vivaldi-stable_7.0.3495.6-1_armhf.deb 113945752 BLAKE2B ccb27a951238fde74fad992447eaab169724b4b4a09125d436168904cf87ddd43fbb037e88f3a667e529d64b110384f397c6d7a8495d8c01df4751be28d01cb5 SHA512 d96bd6baa2606d17388308292ba4ea8447f5d4bc91cdf216c9f704d4283ceaa0d4a0fee216e33611e576211b590f6bb1a40e881f8117a35370754aff287ab0c7 diff --git a/www-client/vivaldi/vivaldi-7.0.3495.15.ebuild b/www-client/vivaldi/vivaldi-7.0.3495.15.ebuild new file mode 100644 index 000000000000..8063fc01d0e9 --- /dev/null +++ b/www-client/vivaldi/vivaldi-7.0.3495.15.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="128" +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 + 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 +}