summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2022-12-05 23:56:46 +0000
committerJames Le Cuirot <chewi@gentoo.org>2022-12-05 23:56:46 +0000
commit6a22e052a7c1cbfa16158e5daeef09530d8214c3 (patch)
tree7b5e41785958a9b41f69ad844a538171c91cafc5 /www-client
parentpackage.mask: Extend old glibc mask, bug 867952 (diff)
downloadgentoo-6a22e052a7c1cbfa16158e5daeef09530d8214c3.tar.gz
gentoo-6a22e052a7c1cbfa16158e5daeef09530d8214c3.tar.bz2
gentoo-6a22e052a7c1cbfa16158e5daeef09530d8214c3.zip
www-client/vivaldi: Add version 5.5.2805.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.5.2805.50.ebuild207
2 files changed, 210 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index bfe0d91dd8bc..519e7ff6de21 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-stable_5.5.2805.44-1_armhf.deb 90304364 BLAKE2B 91dd85a133bd290f3bd
DIST vivaldi-stable_5.5.2805.48-1_amd64.deb 101014816 BLAKE2B 73b2345b4fdc0e4e64bb1cc229a78ef2e1fd940b4a6b9339e6512099e1d06ec6475ca4ebf2e61bd6bdd3ace1238016bde4fa1006c8f46e0f8df3fec9a1b5bd04 SHA512 63834b78d58e867e13a0465cfcc2c8f92a8b189e04684db3955adf5d9d6e9857f389e33bf7967b9d90589b4bbe490fd7c02d1fe6a27ca3b5eec537e611465f9c
DIST vivaldi-stable_5.5.2805.48-1_arm64.deb 90952376 BLAKE2B 049201c1dfc480d94fd76c61242d31eb9b195fdc55189b8baaa3be837e279ff9461cc670e42e55f9a94eec054d7ecc75813274ff2c2f224b25c7804c3601ca5d SHA512 317461cc5e23fcd7af2d3eba3e6df226c50ae6748cd296269a7d3eda5ce0977c1ee7ff442ad87d2fb381103cf08ae3b2448f22b4128009b085a93a27382e3cd4
DIST vivaldi-stable_5.5.2805.48-1_armhf.deb 90299920 BLAKE2B c4153c4bf0be3d65b7a6e0309dd24393aa3908de68e914ff2d377ee3e6bdad6bcbe6cfa77fc86a843c2a9986c0b9d02b6e093f905b67e69b70a9c2783e01b453 SHA512 f67905c8804e78d25188cfda42403cf69f9c8a6f957c049b4264fdf2797d199000ae342be6380770e1b29613876e21c11e772217750c48837a6aba6e79dddf59
+DIST vivaldi-stable_5.5.2805.50-1_amd64.deb 101024132 BLAKE2B f5369555468a97509c61f955106d9bd0ec996303f22e8e5d917718e8a7be4901ca1e3f9e1710c6480f0ff75d5e4a4e661d0a4c743c98bb30e3773000239f70c5 SHA512 0bface1a7279bc2d8d8fe1b756d9e10fc24747c53b180783a652eef15d5479bed981ad8d2aab90698d8cac560d5b0cd3d9ccf08e9c8838ed199b6cbdb9479c20
+DIST vivaldi-stable_5.5.2805.50-1_arm64.deb 90957324 BLAKE2B b489409752c124cc4c61027165a40175b58a2343f63aebe5ac38a52e1df2cdda6b1c51c9454244cba89f19b9c8cab1db785fb2506497adf93f76aba775c983cb SHA512 ee06c2174ba79e5eeb89fab5bccd077b218190158f0d9f432101f11937af5e9a0e8247b98278090ebbfe364144f8235cc80187810558e14d76fe2a330d8f7899
+DIST vivaldi-stable_5.5.2805.50-1_armhf.deb 90313028 BLAKE2B fc0052c9420876cfe98f8fa672f4be28cf3cdfa7781a41760625bbafb7c59bcf68383a7800b2e8a8e7d99d1a11a388b6802cb6cb2a3776622c24f6a9f4eb9c93 SHA512 436b28af483d399d385ead98c6d75b55a62e4b8ceeb110db2d5fcfea1b8e934789853870507757462e666f15703f463a401c3c4e757e30f577909d867c6bc47e
diff --git a/www-client/vivaldi/vivaldi-5.5.2805.50.ebuild b/www-client/vivaldi/vivaldi-5.5.2805.50.ebuild
new file mode 100644
index 000000000000..82e87d9746ea
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-5.5.2805.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
+}