summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2020-12-08 09:19:10 +0000
committerJames Le Cuirot <chewi@gentoo.org>2020-12-08 09:22:07 +0000
commit7514099fff7a4d641911fc5e948a3b571b2b5e54 (patch)
tree2d2b85d3ce7c602bd1c3227e29aec85426ab85b1 /www-client
parentsys-libs/glibc: drop keywords on 2.32-r5 for testing (diff)
downloadgentoo-7514099fff7a4d641911fc5e948a3b571b2b5e54.tar.gz
gentoo-7514099fff7a4d641911fc5e948a3b571b2b5e54.tar.bz2
gentoo-7514099fff7a4d641911fc5e948a3b571b2b5e54.zip
www-client/vivaldi-snapshot: Add version 3.5.2115.71
Package-Manager: Portage-3.0.12, 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.71.ebuild194
2 files changed, 198 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 1aedca26c9cc..fbf877d5d2a1 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -6,3 +6,7 @@ DIST vivaldi-snapshot_3.5.2115.67-1_amd64.deb 76803740 BLAKE2B cc26eb17612c6f199
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
+DIST vivaldi-snapshot_3.5.2115.71-1_amd64.deb 76782912 BLAKE2B 99741b49846193093b6dc2aee1cca3ba56e5be658d9c5f3260b961171267d56fd9071e9ab65a98d6ab564523e4262af72e7ff2f39067974c67ad1c3267aa0802 SHA512 34752c5cdd20a6a2b03fd70a7284d98e434004341637006eb44bda74f44fc256686dd4e8259453eab650421278de543867e7c5d254d4a70f5b81ca4a7dfa1cae
+DIST vivaldi-snapshot_3.5.2115.71-1_arm64.deb 69041316 BLAKE2B 810a43a61a04c3ad6d36e2fe4b2a17a4b0b67413d06ab98e1fb903c170f6fad5ae9aa8fee01221e799fac4fc61cf29718a778487b1e7b7f7938f5d42f8402122 SHA512 48d3b68f3ae8da8355047a1ce737b3d41a0f6b9ed9fd93020c5dcf35986fd88aa9aa2979875ee7724bed3ff2d70352de0c2bd51cb64fd672e84d7759455c0b10
+DIST vivaldi-snapshot_3.5.2115.71-1_armhf.deb 68130280 BLAKE2B 24f10b5a4e82671c73b6f6d30c45011c4718e98cf4d161c09e0b557fdc2d6f9b8389f234e8f38e8fded9da1ef67ecf1c49354e1845468d2e58993cf98e2bc894 SHA512 09b8446ec1b967463d51b99b915f1d9f1755b780396cab622d38fb4ded89141b415e63818fe2c4e0bfa76f3a7b247225d2ae75ce7b1675475f65af5c68f4eb6c
+DIST vivaldi-snapshot_3.5.2115.71-1_i386.deb 73583972 BLAKE2B 149905a822c037b692f48aa7b69ee3ab0b200775c7ea9803f462f98bcda230b777bbb1949383299549fc7bacd0e96bd1d6bfa38c2f300109341f184e5f5f178a SHA512 8802cb2853b79cb2deed601c3441c7198d4969904075e18a2856327a23d1384b3166b5ae1b79dfb3d0048c438bc1849cc48dff3136fed82fc35140e69eb94187
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2115.71.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2115.71.ebuild
new file mode 100644
index 000000000000..f69da1d681b9
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2115.71.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
+}