summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2022-10-06 21:15:34 +0100
committerJames Le Cuirot <chewi@gentoo.org>2022-10-06 21:15:34 +0100
commitdf03c7eaf662ecd1096462b6756bc222436844f0 (patch)
treecfb5fbe9eec326aba67889d5f702f7d2466be6c7 /www-client
parentsys-devel/clang-common: Multiple config improvements (diff)
downloadgentoo-df03c7eaf662ecd1096462b6756bc222436844f0.tar.gz
gentoo-df03c7eaf662ecd1096462b6756bc222436844f0.tar.bz2
gentoo-df03c7eaf662ecd1096462b6756bc222436844f0.zip
www-client/vivaldi: Add version 5.5.2805.32
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.5.2805.32.ebuild207
2 files changed, 210 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 030c200b9936..53211fcac0d7 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-stable_5.4.2753.47-1_armhf.deb 88396408 BLAKE2B 8e0c660886b63dd13c7
DIST vivaldi-stable_5.4.2753.51-1_amd64.deb 97623688 BLAKE2B b0c90228893a39280db7aa51365eab2eae4b1558bfeca98aa28b168c19cb8323e6de5b4c6f7c0a275a635cc8063243733a7dd661498e09998476a14cd46fc924 SHA512 705f1239c4048629c525cf8e05434e51f911a51fb59c8200335029586c98d6ca6941e2e23a129eb7e3df3da2eb7dc3e12d96c5efc6640016924aec348c08562a
DIST vivaldi-stable_5.4.2753.51-1_arm64.deb 87869712 BLAKE2B 2adc9f8e8873fc579bc731a183394fb3673327a2c42f06572995b75b11fe0f8eea5b1222f6fc14f933be31aeb13a8c06022f0d996a1aead8a35e30e6becb049f SHA512 352a4375e7c49f5aa5fe81c4f28e7ddfd16433d5c6d61ad61e1e200efd0a47b73cbcc045f40391a08cc83b67af4b63be091b5b5cc54492cc70338ddc075f32f3
DIST vivaldi-stable_5.4.2753.51-1_armhf.deb 88402652 BLAKE2B b87909d28ad454e700bc9f3cd2f7e403ba9f69d8110ef243e7ad711a7707e98f4ce89e947b089472b471a2e1f01f7dd46f84984a41b20030f43c682000e0c585 SHA512 2584e22d0b376c29c7ffc3b7449a6a4e2044a23c79aac3ccc59972928ccd496f18d721591a4bf10b4cb61699ef12986c567591d438ed1ec439c8a5a7db33e008
+DIST vivaldi-stable_5.5.2805.32-1_amd64.deb 101005528 BLAKE2B e2e45821944a02416ba64797c70822bbc64e1bf7ac36de75f7af8b62434c988d01e1a0aecd80e62ee787fa0129d7318337dff94e469d5a98c2498e5e0c8f96cf SHA512 04621e8ed3ae32a60cc983b131972cb524bab32eb27f81a558ea922f8759cc3669dbd1f40c0b2ef7829ecf4b1b5ebe5bdcae3efeb903c6b781ba9b575fc445ac
+DIST vivaldi-stable_5.5.2805.32-1_arm64.deb 90918080 BLAKE2B 938e4abb14c5ced6a95cf2c1103ac1ad89cfe4e05a4deb03b71a4e4b8647f36a74a116d1ef0489917c016bbf068b86baf6d728b7f5a48ddf66aa1f8181288538 SHA512 e708acf9db3734203654102d3201cbf446c7b963f119385c7d0f40222b6d8506566e59c3e186d42368f7c3fe7ccfee08e4fb66b2a3d8f0f82ba4e5832a3cd390
+DIST vivaldi-stable_5.5.2805.32-1_armhf.deb 90294488 BLAKE2B 1565fcb97f83f77fd79d18af54c137f5d2275fcce5ced800e2c7458ebbca2ef18ff0d72aacf3e7cfe430c0e31624d43d6f3c9924e44e504c49d4ab7a26c78e63 SHA512 e926eabe0de122e65a53f4f210a2bb2a5d92919df8baba0215b6e7804db34cf53cc4af87e9b068ec06ec3bdf53dd38d88e1ff9d1306857d4c20f24c794ebbbea
diff --git a/www-client/vivaldi/vivaldi-5.5.2805.32.ebuild b/www-client/vivaldi/vivaldi-5.5.2805.32.ebuild
new file mode 100644
index 000000000000..82e87d9746ea
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-5.5.2805.32.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
+}