summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2021-04-16 09:09:34 +0100
committerJames Le Cuirot <chewi@gentoo.org>2021-04-16 09:09:34 +0100
commiteeb9657ead55cda8714da0de9cc61b57b8de2888 (patch)
tree5cbdc0193b040135cda9cf90acc629f0c3b48d02 /www-client
parentmedia-libs/rubberband: removed obsolete 1.9.0 (diff)
downloadgentoo-eeb9657ead55cda8714da0de9cc61b57b8de2888.tar.gz
gentoo-eeb9657ead55cda8714da0de9cc61b57b8de2888.tar.bz2
gentoo-eeb9657ead55cda8714da0de9cc61b57b8de2888.zip
www-client/vivaldi: Add version 3.7.2218.55
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.55.ebuild206
2 files changed, 210 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 6e529858516d..1a8b071c5b79 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -10,3 +10,7 @@ DIST vivaldi-stable_3.7.2218.52-1_amd64.deb 79024872 BLAKE2B c623c93869b95299fdd
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
+DIST vivaldi-stable_3.7.2218.55-1_amd64.deb 78991908 BLAKE2B 182b928e28d44ceaee4fa7ac4aff07f0dbb184d0ee45c64436c3aa0fbc9a1cfc785df9d1505bc7997760a2500170ed99b45724ff10c25d2118c46345733637ae SHA512 f6cf4c51294f0c3a28d4cbd5ad0cb6fbb4f06dcb5be020868af676783e487dd309993c2fb83f9130f4525bd80d6ff01284d6e43ffd073c568b2002e53cbb0ad3
+DIST vivaldi-stable_3.7.2218.55-1_arm64.deb 71066872 BLAKE2B 67c55e0744e698fde621081362e6d53d87647f3dc99a32cfe280f8d728284741f5a3cc7564511a2ea3f459233628fe1d657f1109b09eb3e6c512668737b3745d SHA512 3878579a944a2c27b60af0cf05ba8db29deff76eca6a2be3aa6f9986f16654d5a4f8d46e920154cd2b8d9ee322a672babe1f44ffcbd44e7e5c50d05e3e87aab8
+DIST vivaldi-stable_3.7.2218.55-1_armhf.deb 69908068 BLAKE2B c6506f27615b4c3f6ded7f2cd7ca47aecb7f3a6f91f4870b530c8cde14a5bf375afccf9e7d34362488271efe45950b1a1a9beaaf9fe51b49ba1913dfd12ddaf6 SHA512 5436850d55a91ba383d5598938b78b9bc5c454b939183b7d7aac9f632cf2b91e935b39c666a7978a858cd7393dc9fe2cbaec6d2ad62fbfc10cd61c6d6455cd65
+DIST vivaldi-stable_3.7.2218.55-1_i386.deb 75304460 BLAKE2B 8abf00497eed0c46fb3856cda24a5a6674c262eaed7b81b7b9e8ab583deec93da0525754b9c42ede090987e589c214715a45e65f2c50231ef8be5a175a5c5b3b SHA512 d8db5e4bd824fedb49d6434283eec6ccbbae5838388182d5ca4abcb996e8be3cc20dbb2a8efdc116c198900ffa92d4fda066b9065503e5e275393d819760bcb5
diff --git a/www-client/vivaldi/vivaldi-3.7.2218.55.ebuild b/www-client/vivaldi/vivaldi-3.7.2218.55.ebuild
new file mode 100644
index 000000000000..232d99b73e99
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-3.7.2218.55.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
+}