summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2021-03-11 20:36:48 +0000
committerJames Le Cuirot <chewi@gentoo.org>2021-03-11 20:38:13 +0000
commit62c352214b8b3bae4cdb7178e3726103516dec92 (patch)
tree84db8ddbd6889e70e6a3589ef8bec8ef56194932 /www-client
parentnet-p2p/nicotine+: 3.0.2 version bump. (diff)
downloadgentoo-62c352214b8b3bae4cdb7178e3726103516dec92.tar.gz
gentoo-62c352214b8b3bae4cdb7178e3726103516dec92.tar.bz2
gentoo-62c352214b8b3bae4cdb7178e3726103516dec92.zip
www-client/vivaldi-snapshot: Add version 3.7.2218.21
Package-Manager: Portage-3.0.17, 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/Manifest4
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-3.7.2218.21.ebuild202
2 files changed, 206 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 298810043702..2f28ab2410f6 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -2,6 +2,10 @@ DIST vivaldi-snapshot_3.6.2165.32-1_amd64.deb 77537504 BLAKE2B 5104b2ca7878512af
DIST vivaldi-snapshot_3.6.2165.32-1_arm64.deb 69777460 BLAKE2B 3bd957ecd1547d79183b955ecbc8aa6d53e9966c8f03810b5f40ac91b5752022f6c91111ab3680f220ba1f8ac1a7748f366a5b0a26ce528fa00cb1be87ec4b3a SHA512 98f2061f5f32be702e55927e58ef8af03bbb5f16c2d6fbd9f4959b9b9732313c3663f4b720243505fbff3f58677a06e49957754efb03fa28b02065edbe338682
DIST vivaldi-snapshot_3.6.2165.32-1_armhf.deb 68597612 BLAKE2B de4c564394972fb9a85b02541adc67c0841b0b21c00367883527e383af80988969ab6a9c0abc64bb55a7ecad83a1b626f8a62ae383d7818e464f9aac1a3b78af SHA512 efa2a53144791e1bf42515932cc08b3308755feb797c00d64a283880b4c0e9d2aefaa0d7fd0d44eb3354e3bf289b0a087381af62202430dcf0fbae9e58c5a2d8
DIST vivaldi-snapshot_3.6.2165.32-1_i386.deb 73641588 BLAKE2B 49c95c3d8cd90d1eb69b46df7e99cc5a267a6e0f1ea051e011f9e032fb130b4db63b542015192ebac72840aed11abb650d0b221b84b387cbf72ca4e1432d0bfd SHA512 5dda40708f005862ae214a87d14f5f88f3673615402f07fb1c3317d40cdfb922ace38d897ec3bf88a0975b3f95045cf4d7022a3a3e06fc8edf49c85e9990b68f
+DIST vivaldi-snapshot_3.7.2218.21-1_amd64.deb 78724156 BLAKE2B eeb11f2eb7e5c623230e95b55803cafdc00c90ab101a85af184488951f8172245dfb112a801be53847813c766283433e9124814d11eaaed9543842ec026ff4ac SHA512 65196ba00b3ad3fe1e78f328f56416767218024cd933631bee250a0205b0dc467a91e2649e8a3f3001859c21d58df267276b21e3bb14cce5129db556881db1c4
+DIST vivaldi-snapshot_3.7.2218.21-1_arm64.deb 70803824 BLAKE2B 3ce81f9357088471bf1c2ea944b002dc4a9b55ccedbda4e59e973f8adbadd48f13b685b6450b223f6304d5401ed5b4d75542e4e0ef2f584d5ca338cb4b6545c6 SHA512 33dd8a2012bb3576ccef734c7105a8c3e749a0a793d12d1fb4a973b85c1f9e3f16073de83defea0008e3d27129f74da3f2f1087bcbd3509f3c4d79e2aa26a361
+DIST vivaldi-snapshot_3.7.2218.21-1_armhf.deb 69637784 BLAKE2B 7c908d00745561408663585db30ca8696413834694c439c58c204c0a5e4359ffaf7d9c2295bb64be23850059deabc00aaca20ca81f0ffb7491cea1c8e1895b5f SHA512 baac2832c4b8fffac111b94c3312dc9a82e5404ca02804862065fab66ab4aaa11e08435cc663dbaaac4dc56276825aeaa1b46a0b7c5d63dd384c3e56063b484b
+DIST vivaldi-snapshot_3.7.2218.21-1_i386.deb 75750952 BLAKE2B acca5066a510c218f40c8b40d47347a0f4afd56958e36f3e7530a0fb93cc356dbafb8198fc5326bb86f77d86e76a3f5c5131f2505b42a1045d75fc0f61877f69 SHA512 e2e7f8e9196fb03abd8beedf37ccb0942ed21615ea6ba48e695867903411b5becd65bad66cdc22c38ea276b2a1266c3a03c18a755e659d651db52cec8b794675
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
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.7.2218.21.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.7.2218.21.ebuild
new file mode 100644
index 000000000000..f68f8efe2b3b
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.7.2218.21.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 ~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
+}