summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2022-12-21 23:15:55 +0000
committerJames Le Cuirot <chewi@gentoo.org>2022-12-21 23:15:55 +0000
commitf243ac12ec29048fe3fc3459de16354d5c49dab4 (patch)
tree126558f458fa26c44fc7b5d136608f8cf007ad65 /www-client
parentdev-libs/weston: Drop old 10.0.2 (diff)
downloadgentoo-f243ac12ec29048fe3fc3459de16354d5c49dab4.tar.gz
gentoo-f243ac12ec29048fe3fc3459de16354d5c49dab4.tar.bz2
gentoo-f243ac12ec29048fe3fc3459de16354d5c49dab4.zip
www-client/vivaldi: Add version 5.6.2867.50
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.6.2867.50.ebuild207
2 files changed, 210 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 72af63ee8477..2309bd47d05d 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-stable_5.6.2867.40-1_armhf.deb 91092176 BLAKE2B 6ef918a818b757a1e9c
DIST vivaldi-stable_5.6.2867.46-1_amd64.deb 101317084 BLAKE2B 5acc513d386f921336a2cf77b7cbd6494c0dddf1f7b7ce716af60b7a3ebfea2bfdc2912c995620e785646159f10a2de0f992f01ea7f3c0c1dad4023affe4659a SHA512 6aa8e115c3da09a250ed09a7543b37f43cfa40fadaa360fa0ecb90e896b358de56e8e94fa25c457d8b10e078a230323a35b13558ac47f259564bec97c26b3c05
DIST vivaldi-stable_5.6.2867.46-1_arm64.deb 90960060 BLAKE2B 3e4773b47f6b3f4735388f3b4df3b387998cb6e47363bdd692a337deff8862dd4ed8572171df0b1003e45c3cd4b8f5a668f9616bf650bf058fd277cd3add3637 SHA512 9259849be4c103bfe2f25b4e6b870ea32643a90d6d4b1b9fe14563b996981fff8767cc1896a23b7890bff27d5b8c3b80912f9f3887d4753f925f5ac720f7039b
DIST vivaldi-stable_5.6.2867.46-1_armhf.deb 91091520 BLAKE2B b00f1b762168a666b10a58ee66c3e0ce97278265c29408db4608c08c279c89c076c62dea954a9bf9a364d3b74631100538829c5067970fcf18c1e9e9fe63fa27 SHA512 174aae76e72c7dfa6c2a6d07e4a61cc036b0588848b0545d48268399176c23f706c4eafd3136d89ade28f33baa35fd3608b28b757a8e74c3ff985d7e604c6102
+DIST vivaldi-stable_5.6.2867.50-1_amd64.deb 101326336 BLAKE2B 74fccbe8b2eaf2199f502e0c5fd8ff1cf2b9015c74ca650a7f4a4b002e07a16d6ba34e0c181233d5b663b41b2223f703978704993b65e7279cd4ab201cb421a8 SHA512 40f657bff760db6a97a4aef94c72312a62bd7a7d19438e5b1ecfbd7a4fdfa4b01c4f8734b32f081fae520368150ee5d7ed8809c4d3c09dd8405c41f9c3207e58
+DIST vivaldi-stable_5.6.2867.50-1_arm64.deb 90942328 BLAKE2B a131ab4788b08d09af17b7269ac1cb84487f0c7dd60a0eceb91cab59cb434bd517d73e332af1efc13f2c27a7c749b3a96c5171491ec3afad0b0c2391b3683715 SHA512 4b4fdf03ae2e0a027a01efef64b50ee7897475afe2e432735d77aee4d1b69681d2254f6f33c8a742d5fc17bbef1542b4577a356117adcad19d24ed49194cae5b
+DIST vivaldi-stable_5.6.2867.50-1_armhf.deb 91102248 BLAKE2B d6c763467daaf40953923ebb92a62a45171ff96a77caef77d0474f4bff5eb25e80b63ffed5820ca726d23c03ea4c7cd06386591b69eb0e09ef0207b244875879 SHA512 c2a9e4ca54446d4ac03a1fdaa630bbf7ba4324199451a88784b750c85c2e050fb89a1645d458a84763dd905613a28ff715837cc6653f45cd525bb2eb6856c5cb
diff --git a/www-client/vivaldi/vivaldi-5.6.2867.50.ebuild b/www-client/vivaldi/vivaldi-5.6.2867.50.ebuild
new file mode 100644
index 000000000000..82e87d9746ea
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-5.6.2867.50.ebuild
@@ -0,0 +1,207 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHROMIUM_VERSION="102"
+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
+ ur
+ 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-core-2.46.0:2
+ ( app-accessibility/at-spi2-atk 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]
+ || ( gui-libs/gtk:4 x11-libs/gtk+:3 )
+ 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
+}