summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2023-11-30 22:56:44 +0000
committerJames Le Cuirot <chewi@gentoo.org>2023-11-30 22:56:44 +0000
commitdfa277ebc3829a73005d8db22854459d8486203e (patch)
tree4089a822c53522e5d8a847393f1ff919ad959de3 /www-client/vivaldi
parentwww-client/vivaldi-snapshot: Drop old 6.4.3160.38 (diff)
downloadgentoo-dfa277ebc3829a73005d8db22854459d8486203e.tar.gz
gentoo-dfa277ebc3829a73005d8db22854459d8486203e.tar.bz2
gentoo-dfa277ebc3829a73005d8db22854459d8486203e.zip
www-client/vivaldi: Add version 6.4.3160.47
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'www-client/vivaldi')
-rw-r--r--www-client/vivaldi/Manifest3
-rw-r--r--www-client/vivaldi/vivaldi-6.4.3160.47.ebuild223
2 files changed, 226 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 7c7207cf80d0..1ab7c70130ec 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-stable_6.4.3160.42-1_armhf.deb 100941112 BLAKE2B 41000cc4b743e7cabc
DIST vivaldi-stable_6.4.3160.44-1_amd64.deb 105650520 BLAKE2B 1b311740f1de24d1e342f22e214146a1c3cff7f3c76d98b0d5f1ba43317b2ed49b7c52d22e9f9875d9119e76cd1cf50e6f02d84087c97a375e2a224f15f94da1 SHA512 373dc3b77802ed49a4806b49a0cade41de1b60b6c2f00b0a64fd2fc44ad388ad099e4554f9d84031d40c64b10896c003b45942b0825cc9669cde942795410815
DIST vivaldi-stable_6.4.3160.44-1_arm64.deb 100312072 BLAKE2B 86075140c6960a541d1b56dc8c95e50d520cd3ec9fc6af60dffd22aaeee1a864c5dd50ac67c6ed311b7a7a6eb71047ab8bee7a00f5d43f205cdf6bfb5289cec5 SHA512 dd4264a8b401397d62915728eaac8f1ba9a00c10e99e8c38d92ba8abdf524435834a212c52be2b2107e4f8428ce6b4997f02882367f756ba420caeb4ad0c4858
DIST vivaldi-stable_6.4.3160.44-1_armhf.deb 100950780 BLAKE2B 5bbdcbbba0dd88db7b39c1717d52fd686d978d382f7a755b454275e19182ce4a80d9650950145b245f7bcaedfc24822de63d63d3d854110e23027ea9f4e67362 SHA512 d26a424fe216eaeb5bd13c502dcde826bd9560678f48cd5b7fd8ef8cfb98aaeb79156501a7db2b82dba2ba58de9861bbaf73f731d9b0945c0a23f4fc0cdbea70
+DIST vivaldi-stable_6.4.3160.47-1_amd64.deb 105651576 BLAKE2B 662c8a469c6cd366a1fbdfceadb5a3ef4437abedd281937963c67755d1eb358ae3c0a0fa0d56f77b47e8bdea425fd90b320e8d2e1174df5bf3d6138d735e4521 SHA512 5aabd916bb78872994bc2083e2b900494d4a4074cd035082e5093780fa370db5a9d7f420d290f1089bf10699018a1e5a79def578cadbc74b7af730a7c6a5fc38
+DIST vivaldi-stable_6.4.3160.47-1_arm64.deb 100314332 BLAKE2B 5fa8fb438ba562ac18f475af120840a815156335f087abb66a469d160bb136103b7b76c11cc2172c31b31a42debccf465a058b603c92a0954a5090549f69b576 SHA512 90fa7d9eff4cb2ef2492cbde4c8e0adc7156d8022c6064dd99f7f90b7badef05a30a9813a0126b0389e95d22a6e4bb787ea199cb3d0ce6bed380d01fd7528123
+DIST vivaldi-stable_6.4.3160.47-1_armhf.deb 100960588 BLAKE2B 6154c7c2e482d10c36d342baa00b8fbf6e2aca229ca9faac2bf2560d3b266f5cc1e39379433edf56b5a8e15e8fbc43c57c5a981b7bccf2f4257edffa6a741c43 SHA512 3c382fecd2bb5fe2a65454ed784fc45c1daa632b2717a9b28c5aaf3770d7a9f8b82cae2b5f80bde7adb7d0d3656fc6b710a1b84ac62f2df8ef8e0c1f2a652aca
diff --git a/www-client/vivaldi/vivaldi-6.4.3160.47.ebuild b/www-client/vivaldi/vivaldi-6.4.3160.47.ebuild
new file mode 100644
index 000000000000..9d522c106aff
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-6.4.3160.47.ebuild
@@ -0,0 +1,223 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHROMIUM_VERSION="114"
+CHROMIUM_LANGS="
+ af
+ am
+ ar
+ az
+ be
+ bg
+ bn
+ ca
+ ca-valencia
+ 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 linux-info 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}_"
+
+SRC_URI="
+ amd64? ( ${VIVALDI_BASE_URI}amd64.deb )
+ arm? ( ${VIVALDI_BASE_URI}armhf.deb )
+ arm64? ( ${VIVALDI_BASE_URI}arm64.deb )
+"
+
+LICENSE="Vivaldi"
+SLOT="0"
+IUSE="gtk proprietary-codecs qt5 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]
+ gtk? ( gui-libs/gtk:4 x11-libs/gtk+:3 )
+ proprietary-codecs? ( media-video/ffmpeg-chromium:${CHROMIUM_VERSION} )
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ )
+ widevine? ( www-plugins/chrome-binary-plugins )
+"
+
+QA_PREBUILT="*"
+CONFIG_CHECK="~CPU_FREQ"
+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
+
+ if ! use qt5; then
+ rm ${VIVALDI_HOME}/libqt5_shim.so || die
+ fi
+
+ if ! false; then # use qt6; then (TODO)
+ rm ${VIVALDI_HOME}/libqt6_shim.so || 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
+}