summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2021-12-18 09:01:14 +0000
committerJames Le Cuirot <chewi@gentoo.org>2021-12-18 09:01:14 +0000
commita19d7c469c5ee3ec83a199fd15907e5dc19a7530 (patch)
treec4e0da659cd93c7a17f2609c7795e96d1487b883 /www-client
parentdev-python/pyghmi: Bump to 1.5.31 (diff)
downloadgentoo-a19d7c469c5ee3ec83a199fd15907e5dc19a7530.tar.gz
gentoo-a19d7c469c5ee3ec83a199fd15907e5dc19a7530.tar.bz2
gentoo-a19d7c469c5ee3ec83a199fd15907e5dc19a7530.zip
www-client/vivaldi: Add version 5.0.2497.32
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi/Manifest3
-rw-r--r--www-client/vivaldi/vivaldi-5.0.2497.32.ebuild204
2 files changed, 207 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 0dc1b7a74655..04506b6500b0 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-stable_4.3.2439.71-1_armhf.deb 78982608 BLAKE2B daa48324f4c596b55a8
DIST vivaldi-stable_5.0.2497.30-1_amd64.deb 86960372 BLAKE2B c6ad22a7c38add81fbe85b5e595b42181805afe9d269e966b979dc3d4450cf3bb201c99443c6c115b6d0a522df1c2790f30b14331105877db9d8912926de0449 SHA512 5972132967ddae93aa88f5c744fb5bb590f332d6cbbd509e8fb505c5728d676295dc99a07fecea5f52ffffaaa6c7911736b4e509631d859c498d07ddce0e97d4
DIST vivaldi-stable_5.0.2497.30-1_arm64.deb 81599492 BLAKE2B 5c0b38fbee0b40eaf8fb149635769472a4d6ee74e3504f86474c9b6b04d1cb89b4a7411a74a3626937f11152e16f7b067450c560951f26cd8b4e811e6c12c059 SHA512 9311c6d8a3901c20b57a5d10d416f38814c9b92353e351548dbc4749731a665f2cdb055e836cc0afd1a622b9db132662e473fda9b6970de48389ff949731b5e6
DIST vivaldi-stable_5.0.2497.30-1_armhf.deb 77932544 BLAKE2B 00a85e593e07f3517167198a8cdf261eaabe09e4b098cd4c958bfe209c7b01842dadfe428ca310d1997295906e477b13fab491ada73e3ab5b3017081781158a5 SHA512 c686ec6a7fb9fac881d310385ae9c81f7d0b132517b65e89baa46aab2537d1edfce028d4ec8564316dbc8b38ab10b81e3c69253d33773f0b9e12f0fc6b2282d1
+DIST vivaldi-stable_5.0.2497.32-1_amd64.deb 86965852 BLAKE2B e0fb6b6c972e8cc8dc9b8dc8dc33f7a105c7de0f30df3ea2f2c0c7c0c9de16b7999818418076e34515332176b41a2f1991b0957fc89546b6e3215f7369ff3158 SHA512 d021e5f16e4bb1bc8ff11bc395352c6bef1af46dcd092e1d344ea471203a6a01a452c5027b0501a220459f250da70c15257f123d3e647d1032f9a573ad2b1b3e
+DIST vivaldi-stable_5.0.2497.32-1_arm64.deb 81576300 BLAKE2B a27b363e5cbf00964dc2e76407e20edfb9edddf5e710274efb00acdd1d8b63f764d668251c79b8e0163f90b9d8e7f0005a94b352e46bda0073af548be6d3dc47 SHA512 176099420748d76be3d7e6ac99b37f5715c081638da89c43344bc91a935552bded078039022feb12d23155531075296be1d328044151bdd915f18ec072ccc9c3
+DIST vivaldi-stable_5.0.2497.32-1_armhf.deb 77941764 BLAKE2B 1018304591bd9d465a706a5175949f5c06abf26de8aacb97a9b42c9cbafd3c1015b7a173de308deb66c472f3460527d503ea96fd3fd6f28c60f2e0ee0333188e SHA512 9926d6c15e2295cd6ecb801a2b232de7a774dc07c8864458c5a290dc7b607bd0e5211f9678334728e4a9617a79105c25618c8e91931630c641df83608111a145
diff --git a/www-client/vivaldi/vivaldi-5.0.2497.32.ebuild b/www-client/vivaldi/vivaldi-5.0.2497.32.ebuild
new file mode 100644
index 000000000000..0d11b47c0083
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-5.0.2497.32.ebuild
@@ -0,0 +1,204 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHROMIUM_VERSION="96"
+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
+
+KEYWORDS="-* ~amd64 ~arm ~arm64"
+VIVALDI_BASE_URI="https://downloads.vivaldi.com/${VIVALDI_PN#vivaldi-}/${VIVALDI_PN}_${PV%_p*}-${DEB_REV}_"
+
+RE="\bamd64\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" amd64? ( ${VIVALDI_BASE_URI}amd64.deb )"
+RE="\barm\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" arm? ( ${VIVALDI_BASE_URI}armhf.deb )"
+RE="\barm64\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" arm64? ( ${VIVALDI_BASE_URI}arm64.deb )"
+RE="\bx86\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" x86? ( ${VIVALDI_BASE_URI}i386.deb )"
+
+LICENSE="Vivaldi"
+SLOT="0"
+IUSE="proprietary-codecs widevine"
+RESTRICT="bindist mirror"
+
+RDEPEND="
+ app-accessibility/at-spi2-atk:2
+ app-accessibility/at-spi2-core:2
+ dev-libs/atk
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/nspr
+ dev-libs/nss
+ media-libs/alsa-lib
+ media-libs/mesa[gbm(+)]
+ net-print/cups
+ sys-apps/dbus
+ x11-libs/cairo
+ x11-libs/libdrm
+ x11-libs/libX11
+ x11-libs/libxcb
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libxkbcommon
+ x11-libs/libXrandr
+ x11-libs/pango[X]
+ proprietary-codecs? ( media-video/ffmpeg-chromium:${CHROMIUM_VERSION} )
+ 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 -vf ${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/${VIVALDI_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.${CHROMIUM_VERSION} \
+ /${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
+
+ case ${PN} in
+ vivaldi) dosym ${VIVALDI_PN} /usr/bin/${PN} ;;
+ vivaldi-snapshot) dosym ${PN} /${VIVALDI_HOME}/vivaldi ;;
+ esac
+}