diff options
author | James Le Cuirot <chewi@gentoo.org> | 2021-03-06 09:18:42 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2021-03-06 09:18:42 +0000 |
commit | 04a41270d18391263ddbd86bdc164f7709878f02 (patch) | |
tree | 6d827ef04019a362e2994d08c0ca2ad351e40f8d /www-client | |
parent | dev-libs/stfl: add support for python 3.9 (diff) | |
download | gentoo-04a41270d18391263ddbd86bdc164f7709878f02.tar.gz gentoo-04a41270d18391263ddbd86bdc164f7709878f02.tar.bz2 gentoo-04a41270d18391263ddbd86bdc164f7709878f02.zip |
www-client/vivaldi-snapshot: Add version 3.7.2218.3
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/vivaldi-snapshot/Manifest | 4 | ||||
-rw-r--r-- | www-client/vivaldi-snapshot/vivaldi-snapshot-3.7.2218.3.ebuild | 202 |
2 files changed, 206 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index b27a7dac0943..2e24a8465592 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -6,3 +6,7 @@ DIST vivaldi-snapshot_3.7.2209.3-1_amd64.deb 78672360 BLAKE2B 799c9dd56d0b425dbb DIST vivaldi-snapshot_3.7.2209.3-1_arm64.deb 70757212 BLAKE2B 587c1e88e9522ac32328c1e08645e54bd2fa9d21618a4806962d5fa41643a1ec5487b0d6a23deb553e8ad936c5c81e52149fe41ed138c8266007cdbc484eb1d1 SHA512 c5abf5eac3911fefaa64fb1ced6f6a24ff327f71e4fb99c0948cf3af07078dcd0c1137435bf7b2033071a6dc009ad0d03d4285b1b41ebf04fd78ebbc12eae007 DIST vivaldi-snapshot_3.7.2209.3-1_armhf.deb 69583268 BLAKE2B cf6e931a398c8b58b03634fdbdefbe2d5bd4c7b84456ee4bda1757819cdbee7ce8de7159a2b222fce1ca34318e1ffa5fa4f0bc7652580d2ded6709f8dafc7c1d SHA512 909923b020bf37f0922e60d0e32fa245143f65d4accb888e2a9c303826af072afb022bb52895d05491e4238da0f2bf58efb2ec7099e719aec22361addebfd8e7 DIST vivaldi-snapshot_3.7.2209.3-1_i386.deb 75693932 BLAKE2B 80381463774a15b8e9f7af74b8b12e2ee9f8cf4135edeaf55311cd9132d2bb7a03a8ba27c26d502ebc749d146a38d0f5f889018a60837c0e5f221096c6137d5f SHA512 47da7f78e739dcbc00c5614791caa5dca8029f0428ccb2d894bd6a6a0a3d461c1359c558d6384b921e52c769f31bd9a89a6dcd27b1b7c91a65ee3f663ca01cb6 +DIST vivaldi-snapshot_3.7.2218.3-1_amd64.deb 78724140 BLAKE2B 8f939c2723a7ae2e580cf9285c13d7434b62805fef26c494aceb4307aed1f51f4b6bc77203423ca464baf6b10029fb486afe805cfacb5bef35199db33106ee12 SHA512 6c4e6d16877441d3b5dc2945592cdd48f45217ca52fefb88d681296658ded86b670ae3e14b4d1b929e89e13e3b408df8aa12d2ceea8f3689d2383af21c87bd13 +DIST vivaldi-snapshot_3.7.2218.3-1_arm64.deb 70800716 BLAKE2B 579d53a12c6eefa8c69fda681876f9216a78cc960db6a9043065a698b0e26d0a2a7cf9ee52fc2cdfa0b19599f17aa9cfcab3ac94921899f771389a276f501713 SHA512 f0b59a3a96d463c78185aef41597b013b5c2c95583c51f0023d1af994bb643811318a606fdc2600df7e001740487dc942aceae4e8613103210277c2f38e0a7c7 +DIST vivaldi-snapshot_3.7.2218.3-1_armhf.deb 69635832 BLAKE2B 4b8ed5c5b7a454dc4def3c4c6ac7971b125c85bc6a6f8d0cbc2ac5b10df36623adf099f0fb54fb0cbe29859d582f62dc47eb247971b82ebc89ce229439332b35 SHA512 cb59e237239e70f3c317e27f76da7d087291d825b472041548dc0303f384fa4fbd2ccae7138377090207ad8ccce82706f123cb95d718a79b4a8c55a02a9d4566 +DIST vivaldi-snapshot_3.7.2218.3-1_i386.deb 75736164 BLAKE2B 02bec228bb256a910edf8567448603b6d5645146324fb48b75fa10995ac679393454cd2d17dda75e6d730e060e502fa45d1498468896e5dab650f6b4d89421de SHA512 e8aaf7fd1d2cff38fe3de69d27521f12519373d17323e75ed747c5313e3819ac8d2d1facd863c8590db8910870dc7477b42c9d5e1c95c78199c98b2c2fc535b4 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.7.2218.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.7.2218.3.ebuild new file mode 100644 index 000000000000..e3d12da4e30f --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.7.2218.3.ebuild @@ -0,0 +1,202 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CHROMIUM_LANGS=" + af + am + ar + 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 + kn + ko + ku + lt + lv + mk + ml + mr + ms + nb + nl + nn + pl + pt-BR + pt-PT + ro + ru + sc + sk + sl + sq + sr + sv + sw + ta + te + th + tr + uk + 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 + +VIVALDI_BASE_URI="https://downloads.vivaldi.com/${VIVALDI_PN#vivaldi-}/${VIVALDI_PN}_${PV%_p*}-${DEB_REV}_" +SRC_URI=" + amd64? ( ${VIVALDI_BASE_URI}amd64.deb ) + arm64? ( ${VIVALDI_BASE_URI}arm64.deb ) + arm? ( ${VIVALDI_BASE_URI}armhf.deb ) + x86? ( ${VIVALDI_BASE_URI}i386.deb ) +" + +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86" +IUSE="proprietary-codecs widevine" +RESTRICT="bindist mirror" + +RDEPEND=" + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + media-libs/speex + net-print/cups + sys-apps/dbus + sys-libs/libcap + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libXScrnSaver + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/pango[X] + proprietary-codecs? ( media-video/ffmpeg:0/56.58.58[chromium(-)] ) + 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 ${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/${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 \ + /${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 + + [[ ${PN} = vivaldi-snapshot ]] && + dosym ${PN} /${VIVALDI_HOME}/vivaldi +} |