summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2021-04-03 21:00:01 +0100
committerJames Le Cuirot <chewi@gentoo.org>2021-04-03 21:00:01 +0100
commit6d6c3315dec9543047b81c21769186721f3df5d5 (patch)
tree71452011af824609f8f4e75a67e621063bb4ab86 /www-client
parentdev-cpp/abseil-cpp: revbump all, add sublots (diff)
downloadgentoo-6d6c3315dec9543047b81c21769186721f3df5d5.tar.gz
gentoo-6d6c3315dec9543047b81c21769186721f3df5d5.tar.bz2
gentoo-6d6c3315dec9543047b81c21769186721f3df5d5.zip
www-client/vivaldi: Add version 3.7.2218.52
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi/Manifest4
-rw-r--r--www-client/vivaldi/vivaldi-3.7.2218.45.ebuild2
-rw-r--r--www-client/vivaldi/vivaldi-3.7.2218.52.ebuild206
3 files changed, 211 insertions, 1 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index b12e93dfdee5..5d0d3ed9de99 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -10,3 +10,7 @@ DIST vivaldi-stable_3.7.2218.49-1_amd64.deb 79010508 BLAKE2B 157349e26b52c9e55d0
DIST vivaldi-stable_3.7.2218.49-1_arm64.deb 71057264 BLAKE2B ca375153a48dda8d119cd1f747c651de914b6665c287a742cf333b090b7d4ca6439b1354e0ffd49a4e2d187bba73f0155280d9c90eac7e6c7aead9336c12e081 SHA512 4a701cfdbf326e7dd16cfc78d303077409fc30cc0fb8ae3cf7963808fbf20fa03b45ae10653c9d3fa46a899e916e343a9f64e8249642864a124e0ebb30f03ac4
DIST vivaldi-stable_3.7.2218.49-1_armhf.deb 69904972 BLAKE2B 3fe7e29db324993b2afdebd8d8cb8a6c1cac77a8715d46abae9a7b0c191fef0cebe0b7f90647c21bdbed29e8827b1e6f4afdfb3754cbf1bf57f9c238d668c25f SHA512 56be8c105630613f446793c02fa61e1c933118ac268f0568e96ba8cb6082c776f8aa481a246d5d7dc689330e89abd8ebd93b74fa393f54dd5cdac490ac35da16
DIST vivaldi-stable_3.7.2218.49-1_i386.deb 76032348 BLAKE2B db236d2757355ad45f9304df4f3e053ce619b51df45ae966588cea59530561fe50d7733d3a835766b5540a57c4d2b3f6eef556ced6f35b0d93bacddf043877b1 SHA512 ed36281acca5b8fdf92ac49bebea92307ab5fec6b3b828fdfd9a90f0307d0b5e039b282588df897bebb101f12dc021604b01fc6de40c8cb47f88336b4b7f4373
+DIST vivaldi-stable_3.7.2218.52-1_amd64.deb 79024872 BLAKE2B c623c93869b95299fdd7fdeee4eef61f0fa2641085d40dab6028b5784a30208051dfd3ca9ad3d17514a67ddd18912c072d78d44f46699b607653282229b68765 SHA512 b26bc65cde7a96c330cea4ce41673d19e81df82800873933fb9b7cfbc12cb3b980223b18585c1e18b638f4d111b54b7c92b5598b121b89afdc457f234b7dac60
+DIST vivaldi-stable_3.7.2218.52-1_arm64.deb 71083320 BLAKE2B 5ac89302b2f4db14bcf96b2b6b176b7f3a07e896d35be16bf038b1dfd7354113489e9f8f9b46f5767cedff530c013a2e1d3743547d4b2c01bc31e09e22bef4fd SHA512 68564452031783cbbd99b4372c033513a8c12abb83920f65b1dae5a5ca836ace7e6c154882bad0679fed5756950c30d62308da1cf1057a0195a73439336cb5ad
+DIST vivaldi-stable_3.7.2218.52-1_armhf.deb 69906696 BLAKE2B a962c17cdfd8140b36255aaebc1d501e3107bd9f75e6cce1663c13465a5fc1072a1331ba9fd3588d5d26742bf6abf43d741df5dc3b51fe7230f8c6436c6659ed SHA512 04df2b3b66345691e0ddbce16ccdfedceef2c3c64f94c5a8cb968dc4a45f5c86dcffb13a703e89640944143dc22635a0d3dc2ea82c33a80b1ef7e2890375c205
+DIST vivaldi-stable_3.7.2218.52-1_i386.deb 76005772 BLAKE2B 892361c317c15aaa07c9dfa49c87d6f107d1cd4be8a4f68f7d307585c5c5345d5f457e1095c66aef425ab7738dee21b0d2dcd3842ec4c8e79476b368d9acac0e SHA512 fe617721b67f00207e8005bf12d61d9b72975697d70a9d610e87ac8e9cbcd285f1c83d49727f310e26a123942a5757b39b590fd59c6159367e9de85f4d2360de
diff --git a/www-client/vivaldi/vivaldi-3.7.2218.45.ebuild b/www-client/vivaldi/vivaldi-3.7.2218.45.ebuild
index 538ae5a7c6c4..232d99b73e99 100644
--- a/www-client/vivaldi/vivaldi-3.7.2218.45.ebuild
+++ b/www-client/vivaldi/vivaldi-3.7.2218.45.ebuild
@@ -105,7 +105,7 @@ SRC_URI="
LICENSE="Vivaldi"
SLOT="0"
-KEYWORDS="-* amd64 ~arm ~arm64 x86"
+KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86"
IUSE="proprietary-codecs widevine"
RESTRICT="bindist mirror"
diff --git a/www-client/vivaldi/vivaldi-3.7.2218.52.ebuild b/www-client/vivaldi/vivaldi-3.7.2218.52.ebuild
new file mode 100644
index 000000000000..232d99b73e99
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-3.7.2218.52.ebuild
@@ -0,0 +1,206 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CHROMIUM_LANGS="
+ af
+ am
+ ar
+ az
+ 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
+ kab
+ kn
+ ko
+ ku
+ lt
+ lv
+ mk
+ ml
+ mr
+ ms
+ nb
+ nl
+ nn
+ pa
+ pl
+ pt-BR
+ pt-PT
+ ro
+ ru
+ sc
+ sk
+ sl
+ sq
+ sr
+ sr-Latn
+ 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
+
+ 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
+}