diff options
author | James Le Cuirot <chewi@gentoo.org> | 2024-09-28 16:18:39 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2024-09-28 16:18:39 +0100 |
commit | 18c87e72295d9b0fba3c538597695bdb589ebcb7 (patch) | |
tree | 48dd3aa941626426289593ba161dee41d569f45d /www-client | |
parent | dev-lang/luau: update HOMEPAGE to https://luau.org/ (diff) | |
download | gentoo-18c87e72295d9b0fba3c538597695bdb589ebcb7.tar.gz gentoo-18c87e72295d9b0fba3c538597695bdb589ebcb7.tar.bz2 gentoo-18c87e72295d9b0fba3c538597695bdb589ebcb7.zip |
www-client/vivaldi-snapshot: Add version 6.10.3468.4
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.10.3468.4.ebuild | 226 |
2 files changed, 229 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 5fa9bb1d54ca..6ffa1c7afcbc 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -4,3 +4,6 @@ DIST vivaldi-snapshot_6.10.3458.19-1_armhf.deb 106125976 BLAKE2B 99cf0abee90da4c DIST vivaldi-snapshot_6.10.3466.4-1_amd64.deb 113506924 BLAKE2B 7a1efe71a55423346e9beb2b0f35ab301cf41e791b87a908654da340e3062b913b306fd6353120edc257e0829b5f33082221a8cb36e6aa9cdbf507bbb27ce236 SHA512 6a03a340afa0120309cd0d3018f69bd128c602d50aa24bfeb2da665a7e42da8a65c026b8a2fe625c3a90cb29403c1a235d2a576c2a4b734f08190657f3a1b3c9 DIST vivaldi-snapshot_6.10.3466.4-1_arm64.deb 105089696 BLAKE2B 0d06e5fcf8f7a08661844c0d2e24b31f1f116b532279768b38618debdb187899a964d200d1ce3326fbc401d28a19908b4474f9817b2d63a6e45d69a5e7c96df9 SHA512 ac939b0cda4fdcd0704ba3c133627a74ffee07c6370e811e472e34b8a1f93a22188f8e45f64033ed0796b3bfa8acc89e7ebf4ffcb4ca12ccec17df8393c1404f DIST vivaldi-snapshot_6.10.3466.4-1_armhf.deb 106166736 BLAKE2B c0d6187e039389e50afe1794235136c6fcc7073662047f1ef23feb5cbb5d2a3b19847f89fa69cf9200bbf8a1e69077ca2abd45b6fe017ce6e9d970d2288e49e0 SHA512 d2bcbdf1b3ad7092dcfb7778264b1e75cce831245f68799e30c76c3408c9363e734a54c680345fdc24dbe00d18e0a96c8a463e7cc1b449d7782a568a54544ab6 +DIST vivaldi-snapshot_6.10.3468.4-1_amd64.deb 113494084 BLAKE2B d56e21fb90449c908ac589156e3f9e39102fe7b4156040168c5960264d9fe814493747ec664feca244e53432c854b176f26dd7a10af5767eb661309b8f3a056d SHA512 a2fe5a99f4ae150e7a4f5ca9f4c448ed588c71c72836e5f105bd40cfc89d5ec20ba3d4d89b84d2c77f1be69b11c96ae172978813d0dc6db9f719cb1ae4f260d3 +DIST vivaldi-snapshot_6.10.3468.4-1_arm64.deb 105091140 BLAKE2B 1f7f11ea50deac87e237dc9d761313442a0f33ac8677ecb0fb88d3e808a9a91b16242a9ce8640fa4cad19f79f18d1c4efe50dadd2ba3977dd1608d581591ce32 SHA512 2649bf475f53d27ee5c989a29bf23ae2d02a5cd7fe995c111f4081238aefe88282f83179d0cedf68d09210b0a95bf5d286987b9d53b0ef008290dd31adef09c0 +DIST vivaldi-snapshot_6.10.3468.4-1_armhf.deb 106128800 BLAKE2B 82b58e59c9623dd994097a2efacde1056d44ff84ab322162aec5ab4369267bd5cebd2fc659f92cb409525b81a35946a95e92f24966e430cbff50abc1c3a1cf3f SHA512 26fedf026ed53fd8359f40a2356c0953112eb959d6c9c33f3c501ca8f838507e0abe9c31fb4574f64cb67056f65156775e6c80efff1f72b6034e56b270c5f4d1 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-6.10.3468.4.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-6.10.3468.4.ebuild new file mode 100644 index 000000000000..a0fd66eb84bd --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-6.10.3468.4.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 +} |