diff options
author | James Le Cuirot <chewi@gentoo.org> | 2020-12-05 11:29:36 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2020-12-05 11:29:36 +0000 |
commit | 5921210719fdb234fc3134319a8c1c1e5d5af7ba (patch) | |
tree | 7195e4c1b9c2c15407f30a0495124c6a17bd7488 /www-client | |
parent | dev-python/tinycss2: Mark ALLARCHES (diff) | |
download | gentoo-5921210719fdb234fc3134319a8c1c1e5d5af7ba.tar.gz gentoo-5921210719fdb234fc3134319a8c1c1e5d5af7ba.tar.bz2 gentoo-5921210719fdb234fc3134319a8c1c1e5d5af7ba.zip |
www-client/vivaldi-snapshot: Add version 3.5.2115.67
Package-Manager: Portage-3.0.11, Repoman-3.0.1
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.5.2115.67.ebuild | 194 |
2 files changed, 198 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index cdc0c5b1775d..b85f9c8b1c85 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -6,3 +6,7 @@ DIST vivaldi-snapshot_3.5.2115.63-1_amd64.deb 76791600 BLAKE2B bdd9fa9847fc12686 DIST vivaldi-snapshot_3.5.2115.63-1_arm64.deb 69047684 BLAKE2B 024562eb45bf181bc23bcaea90543c0d1731d3a3e2f71ac0901c119e470986ef25e99662725dec77488a9568f8c837d110a9316cb1b3a3ef333ab3bdfd4517d4 SHA512 976a24004d846ea3d665690a435e0805b8fafe0660479c9520f7dea8002c668f8881b1aeccb723d5fad8f952e87ae1c8ef23e22676e152b6c5077cfd1fdbb16e DIST vivaldi-snapshot_3.5.2115.63-1_armhf.deb 68124956 BLAKE2B 0e0ac854f0194706fe9eabac14ccfdd0f74aa6c5addbc71ac37a81dd01bcbf95a3888097f76c3d5276eb73c3e046d16be19575e31b1d84b1aa3241444e3dcab1 SHA512 e93af0ce0386973e9b63125b2af786114f97420c86a472807e0915704c76a181b4cdf5c81895739b908b8bb522dca48ccc4dd9b03a4cac16f99fd057c6c650e7 DIST vivaldi-snapshot_3.5.2115.63-1_i386.deb 73575640 BLAKE2B e2f4f427f38756aa5fd044cb6d83a8fa8062629338a75bf2a9861e8b3f35d1593f0777ad257422be1ebfc9b6840af36b38fce0431289d3497c4eac847f4841fd SHA512 bbdbe7931e2263052ab8d2d03c707e98f7924d4a6d38e498a8b10a65e7776d7877e0fcb335eefbf41cb537241df5276dc346e2d20090c5b91238e376172143d4 +DIST vivaldi-snapshot_3.5.2115.67-1_amd64.deb 76803740 BLAKE2B cc26eb17612c6f1997ad5bfa738baf82bdc179967d2bedabfa11266f68b2752b82a97fe90a56ce65b46f8ada30a405940b40a19dfba32b4159956fe6a16fa7be SHA512 e850c15f684f5ae10f19788c89fe86747b79f89a7b40e86d027c3d3c4af5c4375105eb3485e7a1105fa44323bcfb3634f8664243846b7afa2d690397bfe1d6a4 +DIST vivaldi-snapshot_3.5.2115.67-1_arm64.deb 69026260 BLAKE2B 2d8465c33b56103d1eb57d8b78c5757a9f229dedc4ac37fe851e4db0c17424e8e59ec47873ccfb9b59030f4953080eafa88225e369cc7201b6863c932102a718 SHA512 908f0ebfe33640dd4af6a9148b3bbd31ded386b56e009174e5e59c329411da582a0e3907ce24bd01bd0f45208f17ae955efd75a4bbb29b1027a164c5ab9732be +DIST vivaldi-snapshot_3.5.2115.67-1_armhf.deb 68126168 BLAKE2B 1e23d2c6a03ee96c65bbb314780083296ea9a2eab7d725fead8d89291ba593b7abd4e6ee8c66c066085e6dc73c74da57e058d250727b08bb2c08ee32e85deae3 SHA512 dc7f50bb6421b0a6c13a8282b97a8ad362c7cf976a34a9de5a46c886eec53c9337563cf078779e51eaa2b27d7f329ab7beb83cbfae54046f174a860d9ebf4561 +DIST vivaldi-snapshot_3.5.2115.67-1_i386.deb 73582040 BLAKE2B 4248f973271239a410d8f0baa2fffc665e710d18c606ac553af1366f075ee4955203dd54310df36243030e26ed7db763180a65b26e2bdaf0c18ee91756641813 SHA512 f5b322131bb3bfe92876660eced53de8aa435505e1ced5d8654a14bc1fbce4edbcf5f3d6a20165baf39b6e846422e31e7e52e7bde5d3937c7741496a8f8201fc diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2115.67.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2115.67.ebuild new file mode 100644 index 000000000000..f69da1d681b9 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2115.67.ebuild @@ -0,0 +1,194 @@ +# Copyright 1999-2020 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 + + 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}/lib/libffmpeg.so + fi + + if use widevine; then + dosym ../../usr/$(get_libdir)/chromium-browser/WidevineCdm \ + /${VIVALDI_HOME}/WidevineCdm + else + rm "${ED}"/${VIVALDI_HOME}/WidevineCdm || die + fi +} |