diff options
author | James Le Cuirot <chewi@gentoo.org> | 2020-12-03 09:22:03 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2020-12-03 09:24:54 +0000 |
commit | 62a4db7d101cfd82bcc2231c42704b9f68a2fe37 (patch) | |
tree | 648d429c5df37cb6003dcf996f94d227f498ee44 /www-client/vivaldi-snapshot | |
parent | sys-apps/apparmor-utils: add python 3.8 support (diff) | |
download | gentoo-62a4db7d101cfd82bcc2231c42704b9f68a2fe37.tar.gz gentoo-62a4db7d101cfd82bcc2231c42704b9f68a2fe37.tar.bz2 gentoo-62a4db7d101cfd82bcc2231c42704b9f68a2fe37.zip |
www-client/vivaldi-snapshot: Add version 3.5.2115.54
Package-Manager: Portage-3.0.11, 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.54.ebuild | 194 |
2 files changed, 198 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index af9ac7e8364f..b21f50f2bba6 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -6,3 +6,7 @@ DIST vivaldi-snapshot_3.5.2115.4-1_amd64.deb 76735612 BLAKE2B f3acf308816272d5f2 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 +DIST vivaldi-snapshot_3.5.2115.54-1_amd64.deb 76776024 BLAKE2B 5050661250633082b6874aaa5126b0948d4c3862f10b15f81eff563b6928c86318993eacfcded2465873fcbf478b853b2f830e9f7b4412604c906fae93447eac SHA512 34aee16f835b5c384ad82cef19b47f300449d613333fed44a604d6d1933666b20904d841535b46aa644dcc3c9c2b99514ce1ee827fbf4081c569541cdf0d58b7 +DIST vivaldi-snapshot_3.5.2115.54-1_arm64.deb 69061304 BLAKE2B 2938837019910b78b8dc78a1209c5794715050cf296490229d48edce5143049f406f0730ce39144219e0054ecb6e26a9b820cd718ca3aa826e163b845076984b SHA512 e3216235ef79fb760134a762db6d281dcbe14c9349564465efb41aeea17f23f15e899a30a8695b8467cba5c137a61240d89e6bd23ba79c24c3aaaf8293b5ff3e +DIST vivaldi-snapshot_3.5.2115.54-1_armhf.deb 68144660 BLAKE2B 4ba405dccdfe832b1362f24735cde7e1226627bbff9dbd1acad06397f3a88343c66d9c73912cc732f2f937a3fb48a109d6c496c2399e42ffc8275012a724992f SHA512 e5397f721b6151aecde196658f77feb79261bc3654b00102485a86f28488f6b55ea23bb020a1e511d818dd7e0121d360306a67a5308857223da8563b12b1f51f +DIST vivaldi-snapshot_3.5.2115.54-1_i386.deb 73577452 BLAKE2B 9c4559e43b58f96fa48008360347d4cdf5c7e8df5593618a2478aa64e26b5a2165536f76f7689f23d7d43d229fb4a4ed773a25d617a10a95bcd8afc2edf8fe9c SHA512 4d6268b7700d50d507e43cb71cfe6031e34ae99b4a150798c658fe6a17e6a98dfd92b324a79f752a837616fda1e632bf864ae10bee7b6439e541cfcb2e313735 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2115.54.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2115.54.ebuild new file mode 100644 index 000000000000..f69da1d681b9 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2115.54.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 +} |