diff options
author | James Le Cuirot <chewi@gentoo.org> | 2023-12-26 11:39:07 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2023-12-26 11:41:46 +0000 |
commit | 7bac4d0b89570a4ca6af877720332e5154fb900a (patch) | |
tree | c04095d7e18066d47dd77e5e0c8dee5adfd63063 /www-client/vivaldi | |
parent | app-text/pdfarranger: bump to 1.10.1 (diff) | |
download | gentoo-7bac4d0b89570a4ca6af877720332e5154fb900a.tar.gz gentoo-7bac4d0b89570a4ca6af877720332e5154fb900a.tar.bz2 gentoo-7bac4d0b89570a4ca6af877720332e5154fb900a.zip |
www-client/vivaldi: Add version 6.5.3206.48
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'www-client/vivaldi')
-rw-r--r-- | www-client/vivaldi/Manifest | 3 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-6.5.3206.48.ebuild | 224 |
2 files changed, 227 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index 2f149d83430d..29e47f94e3fa 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -4,3 +4,6 @@ DIST vivaldi-stable_6.5.3206.39-1_armhf.deb 102305368 BLAKE2B 8728b06c410165fb59 DIST vivaldi-stable_6.5.3206.42-1_amd64.deb 106971608 BLAKE2B db05360c888afa94613e60b468b222867bbcd66debbf8048d9c83dbde8bfead3eb051ab290afc4d203820cd3e64dc735175d7fe409147906b2a29ff6f423e46f SHA512 25516546299853e27526df4c2ea50229ec65b0d8c27db4beca9ac5a0e2ef225dd57062801df7733aa433da3a43bd71c130631b121f0fb4caf2e2f08dd175147d DIST vivaldi-stable_6.5.3206.42-1_arm64.deb 100858156 BLAKE2B c90325601775d25f0d61403e57df03c9a718db4bb7fae64d750a1905977d8e7af4335282c1de873e3c047859aaae1d69e947b4176f7a5f5b27adb86ad1183c0c SHA512 126565af7cff611c595340544ce937357d6a9eda4d7621f1394348349cac21df7ea00268aa97e463037cd4016ab9fc88ce70d7be4d6b2807a15cd9e606b7d511 DIST vivaldi-stable_6.5.3206.42-1_armhf.deb 102277588 BLAKE2B dd6a610192dcbe115faf96956ba9e4489e5c7f4986bae2cd26c62520f216ba8fb3b6833fba505be703459ce20a0c7ee624cde3e30288c9bfaeb3ae94892a855e SHA512 4c772df5f208f69a910a3b0991b74a0febf8a9059b4b088a668b2a82f28d8f0247c05024f928b326aad2cf21e34c2c49896c3916c1539a69183ce7923f33c90e +DIST vivaldi-stable_6.5.3206.48-1_amd64.deb 106997692 BLAKE2B e8877c250b87fe0bbeff8054aea7173646c3086847cde10c0c84093c31401be9ee1af5fd9466c14984aeab2ae15ebe28729920a0ef1dd7047bcba2197f4cddec SHA512 eda3ed610933b88f4f005408c42b2c31a883ffa62a4cf6759969538ab27c3b49a02dbb93c9b0e47dd84cccf65b806aa35b661d43aeb6020f0a1846ff8c5af04c +DIST vivaldi-stable_6.5.3206.48-1_arm64.deb 100871784 BLAKE2B 8af9de4f30899cce7a45f7c5c1c0ab9bc9e6d2fea8f295b39a157d17e3d6ad24808805d1526eb789cd1c67025ec1b9fd86a28cf5057844368327bfb51190153e SHA512 2cee3406a5a7b8c89942c198143874bc2c7b4fd40ae76016f94493cae4baaad9db7cef46be807933573ee682fd28de494edbe0191c5628d202735afefe86aaee +DIST vivaldi-stable_6.5.3206.48-1_armhf.deb 102282592 BLAKE2B 827f7d544d8927661d33eb60686ff7603ca7aa3090d940784ede9b0eac8c942b1d4ed0588ddf45a7166b815bb6cbb1e38fa5477d2cb860d90e3e9318f2a040df SHA512 f3f3670d31b42183eb7c226a82b8fb065162e72b1321f6556cc2b06819053da5adf72ff1934f7437f020cf3d0dcd3ce40904977f3defa41ce6a281677ff4f836 diff --git a/www-client/vivaldi/vivaldi-6.5.3206.48.ebuild b/www-client/vivaldi/vivaldi-6.5.3206.48.ebuild new file mode 100644 index 000000000000..81b361965cf8 --- /dev/null +++ b/www-client/vivaldi/vivaldi-6.5.3206.48.ebuild @@ -0,0 +1,224 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHROMIUM_VERSION="120" +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 + ku + 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 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 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 + ) + 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. + chromium_remove_language_paks + popd > /dev/null || die + + if use proprietary-codecs; then + 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 ! false; then # use qt6; then (TODO) + 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 +} |