diff options
author | James Le Cuirot <chewi@gentoo.org> | 2022-12-07 09:02:49 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2022-12-07 09:02:49 +0000 |
commit | 0b9ad3da2a681a346039839b55a033653b347b47 (patch) | |
tree | 76c0aadb2eb83b75e96a4a641495afb99f61aebd /www-client | |
parent | net-im/mattermost-desktop-bin: drop 5.1.1-r2 (diff) | |
download | gentoo-0b9ad3da2a681a346039839b55a033653b347b47.tar.gz gentoo-0b9ad3da2a681a346039839b55a033653b347b47.tar.bz2 gentoo-0b9ad3da2a681a346039839b55a033653b347b47.zip |
www-client/vivaldi-snapshot: Add version 5.6.2867.32
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-5.6.2867.32.ebuild | 207 |
2 files changed, 210 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 9b880df40743..5b8951c29707 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -4,3 +4,6 @@ DIST vivaldi-snapshot_5.6.2867.22-1_armhf.deb 91068076 BLAKE2B a918c874860f433dc DIST vivaldi-snapshot_5.6.2867.29-1_amd64.deb 101318868 BLAKE2B 497f737007aa6f1eed519ddba6467da4987f28bfdec0319ca1c924c905269208353e9836b4ce0a6e3a0ca8776b28d367bb0e6df150230d53771d8eb5504710be SHA512 85fdeb29c5143e4d86c9a6d2725bb567647251550a89179ff3d911f6ba538ae0b3a81fa6198e30f19787b5fb52bed2e524e587ab32ca67223094e750c5a034e6 DIST vivaldi-snapshot_5.6.2867.29-1_arm64.deb 90932908 BLAKE2B bd81ef65b633269fbb97fd740af4df90d7a356cb199c0d06b25e8aededc9b33791c2cb68cd356b76e40ad77cdcd62963c751a94307411fc804fac2e0fa22d6e4 SHA512 e39947441af79188b15e97353963b49cf1da7fc87afc24b0f183cc4f695be8a08bdbe576156eb474a912f6ae79558922385a0765e043e2a5c7ff1f6c931a1dfb DIST vivaldi-snapshot_5.6.2867.29-1_armhf.deb 91071132 BLAKE2B daf29e86d578d63634c6e062fe39f39869a690d9a39400b52527ed70fb70ada083894a78a50eeae4d9f057ff1457a70dd2dbf856fb982bfefcfa86c92ba349f1 SHA512 79d833b9a85f4a7e748d80f28e99c3e342b29c5979aed55c2a5b851e9376908e3d0c2292b9949699a7a1fe2c8ac90086e1e6ba7da82140630ef63c188b12a444 +DIST vivaldi-snapshot_5.6.2867.32-1_amd64.deb 101313616 BLAKE2B c623d335dcfbb313a2de0d18658e75d3a2bb818c08035374f1903fe90fbcfd54c524ae6a670965ec2ab6fbf9f90017f635896271bf2351b14fd37b3ebca15dc0 SHA512 e8145137a56529245d743dc405628ac066a74ff5dafaded273855b2d655d8c481aaa01ff040de89722bb0e5ca67988e87859fe1cf437b6cc8312369a024f975e +DIST vivaldi-snapshot_5.6.2867.32-1_arm64.deb 90946192 BLAKE2B d604f4bcac4a13033d19331130214c7e8d33073fe748d8822e52896a7ccb53decf5d078bed6544a61614ed0f907bbf26fbdabe85f75d2e345d9929234aaa7701 SHA512 8f1a4b9b4b6a3a93d4746acb2e7c87de110e6b3c811817575e3c421695f3231952719e97d14950cafa8beedf1de359dcf88755af4b0e258b485cdbc75a3d7375 +DIST vivaldi-snapshot_5.6.2867.32-1_armhf.deb 91077136 BLAKE2B 7cc546a408a1d6bc37fdcc5e2e9f5d5ded8e30504c21c120d8fec3c0074f48085d4d3cd90d3b92038b5f168b41db67ac988b02e0ecb898ce543c5258834546b4 SHA512 24fc0b166b38cd02ce277497686abca4178a0b2a245cbe7872c9be0c004cdc6f7818b16746736915e9e41680930082675f6c4aaeb796022b55541499153ee0b7 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-5.6.2867.32.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.6.2867.32.ebuild new file mode 100644 index 000000000000..82e87d9746ea --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.6.2867.32.ebuild @@ -0,0 +1,207 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHROMIUM_VERSION="102" +CHROMIUM_LANGS=" + af + am + ar + az + be + bg + bn + ca + 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 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}_" + +RE="\bamd64\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" amd64? ( ${VIVALDI_BASE_URI}amd64.deb )" +RE="\barm\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" arm? ( ${VIVALDI_BASE_URI}armhf.deb )" +RE="\barm64\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" arm64? ( ${VIVALDI_BASE_URI}arm64.deb )" +RE="\bx86\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" x86? ( ${VIVALDI_BASE_URI}i386.deb )" + +LICENSE="Vivaldi" +SLOT="0" +IUSE="proprietary-codecs widevine" +RESTRICT="bindist mirror" + +RDEPEND=" + || ( + >=app-accessibility/at-spi2-core-2.46.0:2 + ( app-accessibility/at-spi2-atk dev-libs/atk ) + ) + 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] + || ( gui-libs/gtk:4 x11-libs/gtk+:3 ) + proprietary-codecs? ( media-video/ffmpeg-chromium:${CHROMIUM_VERSION} ) + widevine? ( www-plugins/chrome-binary-plugins ) +" + +QA_PREBUILT="*" +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 + + 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.${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 +} |