summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2021-05-02 11:03:03 +0100
committerJames Le Cuirot <chewi@gentoo.org>2021-05-02 11:03:03 +0100
commit20491fa2a610ef5cdacf46da3a5bb97172e763d2 (patch)
tree4117f9ddb4c069e42153d702c88ec17cb368db5d /www-client
parentwww-servers/nginx: remove libressl support (diff)
downloadgentoo-20491fa2a610ef5cdacf46da3a5bb97172e763d2.tar.gz
gentoo-20491fa2a610ef5cdacf46da3a5bb97172e763d2.tar.bz2
gentoo-20491fa2a610ef5cdacf46da3a5bb97172e763d2.zip
www-client/vivaldi: Add version 3.8.2259.37
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/Manifest6
-rw-r--r--www-client/vivaldi/vivaldi-3.8.2259.37.ebuild206
2 files changed, 211 insertions, 1 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 2b4f8584a4fe..920e6d799cea 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -6,7 +6,11 @@ DIST vivaldi-stable_3.7.2218.55-1_amd64.deb 78991908 BLAKE2B 182b928e28d44ceaee4
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
-DIST vivaldi-stable_3.7.2218.58-1_amd64.deb 78992560 BLAKE2B da8f3eacd8d0c826006e960f0b501bd85c677aabc1dfe9c1f054870c02dd895d8d32b88a9197508bc4036c781be9d39b9d5a42fe1a43aefcb59f054a08d2d636 SHA512 25766509c377244abac4fc4f0fd20d18e04651c1cca475918dfccf4030da988ccf4f36650bc17ba9efb60c9404846af823820297948dfd815b6cfe719ffd837f
+DIST vivaldi-stable_3.7.2218.58-1_amd64.deb 78375024 BLAKE2B 51f37e34acaf85829298a73a05e4bfc7888e21fe2f85d246c53c82360ae3c2de5e05100a89d6cc8a658006608a333a1e1f5d076939fbdd6f3af0c5c5cb4d220a SHA512 0e217e57dc232640fa9808cfad7d98545ad81a2ab2e1e03b1002a60ba0c2d7ed006ffe60ce2aa53d131973f374807ae49592b5231d575155165dfe1269ffc9e9
DIST vivaldi-stable_3.7.2218.58-1_arm64.deb 71046428 BLAKE2B 8f0dd3e845f2e4587d238c8f48447e514ac7605acab8d67f30c30ce2df04fae600382218087aea68f75621887f5a71506389c81f9b31614e20d3d7611d7bfe0e SHA512 2126c24ae8a7e4370f4ced2b37580871394de1f38a02b88d24c974ee23c13a4264ca8c11e0c5b7ad542812531898d9ee425657d9c7eeba4e08c718c07c7337bd
DIST vivaldi-stable_3.7.2218.58-1_armhf.deb 69900368 BLAKE2B a85b97405c80dd10907d9b0b9846b8c2b1101346cdce4b19ddeb1192de64c49056e086903829b30b9e6bb4928c3de500138cda460596dff7c2505fae0661d6ca SHA512 2d37b2080dbacbd6986e9d346be4e0aefd48a25f039668e2c1e697a025c294e4f945fdd3d86ae34688335e0d2b496355461756ae650e0b0fd212fbd983494ae0
DIST vivaldi-stable_3.7.2218.58-1_i386.deb 76040556 BLAKE2B 4710993024a401a8b9e25dd5cae55d5e5077423a7f7bba7af55150675d7848427f6bdca1fa8666f338b7609cbb11254c75df901e3c33fc6b75c5824c17808b71 SHA512 d5a8658d80aa8a4b5ec38491f3a4f6fb16c5a0de7934d4f7f518efaee36afc1d9585695c121f5cd65d961ae134c7cae0cd6bf0b07858ef2f906d715ca424ead4
+DIST vivaldi-stable_3.8.2259.37-1_amd64.deb 82408824 BLAKE2B d5384a2c5bae8235268cb4799273c772c31b864e2a4526b3fba10a4f345157649f291486228326eb2d1a1a91653ed3d322597c73399935964b756de2fa20ed91 SHA512 f0f7fd2960d3e1d2c1eb2e7dd59af0f585c570adf598e444c7b6261ba950dc07080a8a4fe4a6bc810ce95dbda49db3e717413990dcf40b643fca5a524fd2b1d4
+DIST vivaldi-stable_3.8.2259.37-1_arm64.deb 74027768 BLAKE2B 782f7d59f628695af995e6f9de180a338a9c9185bdc867d80e48286264a7f78c52b863efa407bd255b2f4b62e29a4496f1775fe554d1addfe999997920d8c1a9 SHA512 f0d87a1ea8d4d0e923b497d531ee72604be041c8d8e2deb11d6ed74906a1f0d5a799e691157bd9b4d04acb8578f27b31aec517b4b98db680e64764b3f7ad7de1
+DIST vivaldi-stable_3.8.2259.37-1_armhf.deb 72625208 BLAKE2B e3c7de41d071e0a5742ee8ef51ab7906df2a3ca75ff720f562109db2240826376c9c0948b3fbc8a87ae3ce514c567efff41d5d06dca8ff9b819ac8edad7941b8 SHA512 6589504a1ae49dfc73005253a39390c88317a83013b4040c77bc4665404749a9e8e6733b9453110024395a1bc125e36b13376b4fef3184bc9b5d033b1b2a70f0
+DIST vivaldi-stable_3.8.2259.37-1_i386.deb 79531084 BLAKE2B c57a5c25050df27532c8b56dc37865f705f97819234e6865ba6c8ce38f34de4f4c76d8c31a96f7ad9adcba4958578d37c2f3bbc9861d74c4326bc8263e53d8b1 SHA512 3cb633caf6545ec3c949051f577781203fb15ab68b2f910c644ff4a9568995b3af41fabaab33f4c4882e9bb38607333a33386720efe7b80b3b1fce9218e5817f
diff --git a/www-client/vivaldi/vivaldi-3.8.2259.37.ebuild b/www-client/vivaldi/vivaldi-3.8.2259.37.ebuild
new file mode 100644
index 000000000000..232d99b73e99
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-3.8.2259.37.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
+}