diff options
author | James Le Cuirot <chewi@gentoo.org> | 2024-04-25 23:12:58 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2024-04-25 23:12:58 +0100 |
commit | 69a2b70bc9eb6d9ba5ae34fc265a2086cb2422da (patch) | |
tree | ba76b750ffa1887c7a20e5d4686fe214e9ed9925 /www-client | |
parent | gui-libs/wpebackend-fdo: revbump for egl change (diff) | |
download | gentoo-69a2b70bc9eb6d9ba5ae34fc265a2086cb2422da.tar.gz gentoo-69a2b70bc9eb6d9ba5ae34fc265a2086cb2422da.tar.bz2 gentoo-69a2b70bc9eb6d9ba5ae34fc265a2086cb2422da.zip |
www-client/vivaldi-snapshot: Add version 6.7.3329.16
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/vivaldi-snapshot/Manifest | 3 | ||||
-rw-r--r-- | www-client/vivaldi-snapshot/vivaldi-snapshot-6.7.3329.16.ebuild | 231 |
2 files changed, 234 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index e2ef7288bfc6..5eae29d3db80 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -1,6 +1,9 @@ DIST vivaldi-snapshot_6.7.3316.3-1_amd64.deb 107501496 BLAKE2B 71a7e09d493643d3a6331a30cafd763bb1c200b95f1601df0d9d2878372d14201f8e72e96646c92776d38970e6e32a08831ebfee6c32ceffabcd849ae4b17d55 SHA512 3abc375340bac60a574c4dc4c3042cfd864ae7a4e0febc2fbe310693a92022e592a9de4399472c8c46ae4580dc25ca4c07cb6a667ced97e0ddf5aeeb84f7b6e6 DIST vivaldi-snapshot_6.7.3316.3-1_arm64.deb 100611568 BLAKE2B aa6e54aab1e00aa7ca27f8c5e9c4d005b5cca75f3561f30ef7be303750be12c1f8133270177a6f009431ca57574fd5395d2b97d95b2fd01e0ae63fce7bfa47c4 SHA512 ccb04e312c76152fb78cff0fb9d36dbd31a90c3288c9ec7039ae1fcbd1e70d6a1d4b9bba772890176d12c85ef28b7d38c59ffce6752d47b4d5f4113284bd91f3 DIST vivaldi-snapshot_6.7.3316.3-1_armhf.deb 101953560 BLAKE2B caa94f62edb14cf008a4d777125f71b6513fbb6436d92140fdf4e6bffaadd69e2b70bce0fd870c7a05e04373b86c1fe86468da18be821a10948affa7b70e2545 SHA512 90cfe9ab4c2f97d9c0bc483a06670b036d7f29641cf84c531f612e8667031f51a5e464414d27da76eddd38701934a23d99c27261bcc5a53875c9468765c70860 +DIST vivaldi-snapshot_6.7.3329.16-1_amd64.deb 108490036 BLAKE2B 7937528e29291e2d65dccef77f402135055a857f523bef2a3da5b44f4f170bf8342be6ce6546de17d632afae463b69dc743b4f460da4f7af584da9d071e2a877 SHA512 83cd5ed9810e28e10da7712310b419dd0d13721099c4b06ab659118d26b07531637379d7d76c36e6779fbd7531a0ba836778ce83029b6fdb9d56cd0c303baccd +DIST vivaldi-snapshot_6.7.3329.16-1_arm64.deb 99135780 BLAKE2B 82e516ff0c621d2c8b1fc28a060823822ea73cf2c3a1d483aaf5a7fdc1f2908c04c98ccfa13522d32b83f68dcecc188064970211838a6c45196bf9689d448747 SHA512 f3eb9ab5e59a7c37a16dc086c8bcd6168b183f25d7f57d380562aaa1365f1c53f0b6d7e1eb564c843c768c54163229aaa36a45eb1671ad270cf661e8bf79260f +DIST vivaldi-snapshot_6.7.3329.16-1_armhf.deb 100326088 BLAKE2B f45f45a845df61da225f3b6d0b7a86f719731335c1925fae2090f6f602ef32e54c0049a283c467d7f12482aba4e147c31565a111a1f9c87fb702834ebabc09d6 SHA512 0fbbf4a7d4f6e853caec420c20c8ba817a70913c40e28f0c8849c3babf28de110f465b45c9a13e56558668059314e6b14fb245ea4197a6ee445ca54d938b4f77 DIST vivaldi-snapshot_6.7.3329.9-1_amd64.deb 108466920 BLAKE2B db98be5d895312cca41683794532ab8dd5245407f9367f3d3d08e14eaaecc0f5ad5367cbabd8ec02e05bfbcc1cdbada4a36882c04dab9ed4e8c3af5abfce664a SHA512 99c9ee584b8fb449db9e50a3aa522c30ad8f45fc6427a2a337ebfbfb1c0546261b5019c6defb107149f56191b1b118a1304b5735d89ade5bd355a1ec27e84d48 DIST vivaldi-snapshot_6.7.3329.9-1_arm64.deb 99162468 BLAKE2B 2e2c4b82e5e3ea7efb2ecb93b5f5bb05a765a300cd17d7702af57924544cfd3ec4276b457b8e40b0a48048fbfd18d9ef7244b589c008c602ca03b5b8009bf784 SHA512 ee4d1cb20ab1f0ef1614ba42533d9ea212077b9f91bb407414e3b7ca677dfabdcdedd47ea59bbe7712a8766baae6be9bc0362a5fc01714959ec9841e87911cd1 DIST vivaldi-snapshot_6.7.3329.9-1_armhf.deb 100312184 BLAKE2B 1d3aaf6e4c2a40367ec1596fc77328fba6d39b79a2adfa18c4d36da3a5aad1750555b91d64ff64d092349298f6cc932110725789c9a81599b1e7b69fc8b0a99c SHA512 355d285591c1cdf58f6e9fe8a4428be6056600b7303ab22f9bd1e0dba87020d59161bc58692c4c37da97e522153145548f07d11b2acd1fca8c72f2e4b3633ea4 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-6.7.3329.16.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-6.7.3329.16.ebuild new file mode 100644 index 000000000000..ac289a86107d --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-6.7.3329.16.ebuild @@ -0,0 +1,231 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHROMIUM_VERSION="124" +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 + +KEYWORDS="-* ~amd64 ~arm ~arm64" +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 ) +" + +LICENSE="Vivaldi" +SLOT="0" +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" +S="${WORKDIR}" + +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 + + # Bug #928519, #928520. + if ! use amd64; then + rm ${VIVALDI_HOME}/relayproxy-linux || 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 +} |