summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2020-11-27 18:30:43 +0000
committerJames Le Cuirot <chewi@gentoo.org>2020-11-27 18:30:43 +0000
commit0e1dc568670b2b439951463aa0c36a3237403aea (patch)
tree6d9732a4364f3c9ded092e7b703ab299d9ea4c57 /www-client
parentdev-db/mysql-connector-c: drop old (diff)
downloadgentoo-0e1dc568670b2b439951463aa0c36a3237403aea.tar.gz
gentoo-0e1dc568670b2b439951463aa0c36a3237403aea.tar.bz2
gentoo-0e1dc568670b2b439951463aa0c36a3237403aea.zip
www-client/vivaldi-snapshot: Add version 3.5.2115.31
Package-Manager: Portage-3.0.10, 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/Manifest4
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2115.31.ebuild194
2 files changed, 198 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index f4090dbe035d..746483290aeb 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -2,6 +2,10 @@ DIST vivaldi-snapshot_3.5.2115.21-1_amd64.deb 76722964 BLAKE2B bf28f46d3bf78f35b
DIST vivaldi-snapshot_3.5.2115.21-1_arm64.deb 68986432 BLAKE2B eb9e9f31e1da49b01679f91d5cb263e5b8532f3d8010f32bc18181b547eb6e7dff50590773fce3a735f2df3e879ef47ef2fba5a3a86762881a91fd69935e6d0e SHA512 4199ca5d7aa2e587aecfded39cb0feccd556527e6d2d666e8121b0a04d15a162ffa2a0b52d363a9c2e48d1d314427fff7deaceb95689fc4040380dda272f30fd
DIST vivaldi-snapshot_3.5.2115.21-1_armhf.deb 68075732 BLAKE2B bccb22efc245472badc4fde9262aa406ff557e0dad1cb169c0a266ceb28bfb0f537abfd365244b1d303dc7690302ba94b5db9c036b42e2b5520177b5371bf46a SHA512 a79e78c5fbd41210e0649a987c1a00b3ec5db7d057af1aba0635d0091d29bfdbe497b5f89c30a9c3b62d4726d2ceb66cab3b67620f8d7137159c9ac03af6e2bb
DIST vivaldi-snapshot_3.5.2115.21-1_i386.deb 73544088 BLAKE2B 8dd7c121583069fa5afdcc7267ae22ff0ebed1f4ee426a4ef68cf08352cf4de4b59d66c385c5204f4fd7f68bef7b025c55775aca9cff3a08b814c625bb8b96df SHA512 8d66aa4bb7d151a40eec25e71d5a82a5111a0f05e18ff46e4deedce47165d9258761134d43c6054c6a4d249d928697b6a1f31c7bfde9934ab45669e6a877bca4
+DIST vivaldi-snapshot_3.5.2115.31-1_amd64.deb 76755116 BLAKE2B c753133052355dee546149f2fb6a157e9c2327d1921dfdfd426911fd41c422d1dfb519ba2e3ca0dfc9ad1ef76ac3f256fbfcc116df3c628da05fd47e1c11555d SHA512 70d3fb8ff41dd22a2561ba301f206520ea3971d525aa2d8d41a061f6b2df1c36923090a4df27e4bc1e556fac8989865c95ebd1187f00f68610a14bd2517d2812
+DIST vivaldi-snapshot_3.5.2115.31-1_arm64.deb 69011568 BLAKE2B 07ea92f1324511b7e2089765f6a3f5d6bb29edf7629d82216c4fa444c67cc9bc26219e8776c1234073b9ebcbcd9a241c0210f906ce87d66c444e1804d656dab7 SHA512 e74c9db0c09f5d0bcdcf4a2f03ee6b8d36ad72ee8d87b3f30ff1a356cd7ebd911b38eceaa8e3300e5a001cdd67c5a58e8213fe8c738da789e65bf1a16902b66d
+DIST vivaldi-snapshot_3.5.2115.31-1_armhf.deb 68096004 BLAKE2B e7e3adc1df568a0af47a93b88cd7ecafdded85b0cddd48b31287b5d7818dfe4d8d76861cc359ab0a09d2ef458b8a1d4055099ee7ae88a7eb7f4615241ac55007 SHA512 be77ee3eaac939be1e561002c3a04d3195fee01eb2aa6f2e57234f03983e669d38614f71455341edc6e9370ff23d45d0393304b77cea1240519a4621def2f0e4
+DIST vivaldi-snapshot_3.5.2115.31-1_i386.deb 73552004 BLAKE2B fb959512a0c4f8b98f117c03fb2e2c10c76c6c6f768e099b31d5fede51676605f4a0b53a5c9cabde90e28f24215acc1397464cb5afbc2a9665e3feabf8298cee SHA512 9936f968e2f0a6a40cdfa516ca53b63d1134ecada3e9fc78b68769f436658d658703d35f762005a8546bee9c6c469ac16b6ed78ff60baecbf24944aff3f48810
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
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2115.31.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2115.31.ebuild
new file mode 100644
index 000000000000..f69da1d681b9
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2115.31.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
+}