diff options
author | James Le Cuirot <chewi@gentoo.org> | 2020-11-24 21:50:06 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2020-11-24 22:19:14 +0000 |
commit | 24eda206bea435affe570b6ac4ef870319b8d918 (patch) | |
tree | 3fb3897dbd4c60251ab5cdc8e10a89684343a4fe /www-client/vivaldi-snapshot | |
parent | dev-python/importlib_metadata: bump to 3.1.0 (diff) | |
download | gentoo-24eda206bea435affe570b6ac4ef870319b8d918.tar.gz gentoo-24eda206bea435affe570b6ac4ef870319b8d918.tar.bz2 gentoo-24eda206bea435affe570b6ac4ef870319b8d918.zip |
www-client/vivaldi-snapshot: Add version 3.5.2115.4
Package-Manager: Portage-3.0.10, Repoman-3.0.1
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'www-client/vivaldi-snapshot')
-rw-r--r-- | www-client/vivaldi-snapshot/Manifest | 4 | ||||
-rw-r--r-- | www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2115.4.ebuild | 194 |
2 files changed, 198 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 3fce795db912..22fab6dee13a 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -6,3 +6,7 @@ DIST vivaldi-snapshot_3.5.2110.3-1_amd64.deb 76322716 BLAKE2B 5b659e4fede5006037 DIST vivaldi-snapshot_3.5.2110.3-1_arm64.deb 68579824 BLAKE2B 52110e4b5b18771b97c4e114aa2f99e4681ea9ae0ea90b11dfaa4cb6549d6cd03b7e6fcdbedf1e433f2e59cba1b042620d081b25a75f3c04fc0c10159cf98750 SHA512 7f05001ad96aabde3fe70e7a6be5d8fa23b46c14bbe6d69f5b8b77fd30ae58fed55d7680916d037e51bbd97836cbcfc6583bb98f6ee0ac0fdcdc60a847d43238 DIST vivaldi-snapshot_3.5.2110.3-1_armhf.deb 67678904 BLAKE2B 9839d71df8299a0d84b2ec6cf5e3a4aab22a4e7e9e6136edfffb4779943cf69fb7dfb8ce47c01cb345a92a56cd01443d20bf3cbd40fb0b7fbb36cada3c54fb71 SHA512 22a8e1a85fdc00291311e78b0c75c9aca6cdb060fb46677244ab8ab39793fbe290496ff9df640fab4e5504a43e3ffb293fcc1f5596178494e460c9e9abb6f623 DIST vivaldi-snapshot_3.5.2110.3-1_i386.deb 73163460 BLAKE2B 84c33d2fe509889235dc2b0a03063328aea19c3908d84e418a34b65a6d4dd3f929724b3dff544c55aa4df333152e87e0e226087cabb09b64ce16b3b5403967ab SHA512 e860ded27d62043b36bb6bc1bcf80246e6569e617a77a2d72afce6312804ea16cb43d63fa5971246bef26dcd4cc7a1d5ea46c256100ca44a091d132b6ed8678a +DIST vivaldi-snapshot_3.5.2115.4-1_amd64.deb 76735612 BLAKE2B f3acf308816272d5f2e5c8612141423dbc32fa0b14a22d5980db0fe7eb06586e4bc85a5e7073c1cae1bc82deefed38e80de298f63251c3e362f61b580969d8b9 SHA512 3ef95ad76885c6b4cf0d28c2f6aaf7c0affe1a5826fc318d44d2ae37507feea796a639caf0cbe788df52b94affa6a909e0c6551877d16c0664a6bbe9c276c0c3 +DIST vivaldi-snapshot_3.5.2115.4-1_arm64.deb 68981904 BLAKE2B 713bda870eaa2e25b0636778b8ba95d47ed750a3b66b0d7e02cb52690ce577d98f0c3fdd65d8ee32c2fcd8a93c7488377e774d018c277a858f2f1613f947f807 SHA512 8ae76a9cd010729fef458321e93ed9e7c359a3d81f767490766545a855dd66e32c6de6406216e73106ffc3dd4ab662fcb1e5372a86fb1bd6d5503c1815d39e84 +DIST vivaldi-snapshot_3.5.2115.4-1_armhf.deb 68073008 BLAKE2B ff91480512edca9b120fea7152772ff3f566f14df75263f912a019c64f92106428ed926d89712b651ae0a948d1c76fb8ea9dbecab28152eb71aa0016213aa6ee SHA512 734c6beeb98793ce942de220f103f2bcf1675c2bfd03192ed7ff30e8ba6aed17e3af75ffe8e7a084ec2174e0a5a3383bcd8c3fe1d26383b4216e93b061d2e934 +DIST vivaldi-snapshot_3.5.2115.4-1_i386.deb 73553096 BLAKE2B 62c8e7718671bd0bfec37be3f33da682abe7706a19743714f9aa3dc31f6d384bbf9e86558570033a0d65318d2bc8ae51a358f01332bbe12bdefd1b087ec8d1e7 SHA512 2fa625a33d5790fc7580bd395f63680432fc3642aa98db5f88b497492d9b888412afed296b38db76939edd1710f31b589f0442f602e4731d0740f71854c62293 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2115.4.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2115.4.ebuild new file mode 100644 index 000000000000..f69da1d681b9 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2115.4.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 +} |