summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2024-01-18 21:22:07 +0000
committerJames Le Cuirot <chewi@gentoo.org>2024-01-18 21:24:20 +0000
commit5b72a73ac42653c020b707d49507f39cf65171c1 (patch)
tree56aa9ea93ce9402a2aa25831e455b64bd70ae33f /www-client
parentapp-misc/spire: add 1.8.7 (diff)
downloadgentoo-5b72a73ac42653c020b707d49507f39cf65171c1.tar.gz
gentoo-5b72a73ac42653c020b707d49507f39cf65171c1.tar.bz2
gentoo-5b72a73ac42653c020b707d49507f39cf65171c1.zip
www-client/vivaldi: Add version 6.5.3206.55
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-6.5.3206.55.ebuild224
2 files changed, 227 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index d26b97b48118..6248d96c2f1d 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-stable_6.5.3206.50-1_armhf.deb 102279324 BLAKE2B 805084c8e944a22195
DIST vivaldi-stable_6.5.3206.53-1_amd64.deb 106990300 BLAKE2B 24d2556454d35826995be43f54bed4d679ff6859ff0ac69eaaf644fb325a91035fd0043048e6345416c727a6ce02ab3871abd48cabc4456caafa16a1fbba1cc2 SHA512 eaa1a62c796a34de6de5046ff247b5aebe0c558068c8d1690c30e2250ce9faa18b5c9944648e46ca049bd847ac0086115a42b080a51b2538022a5bf39a2f3881
DIST vivaldi-stable_6.5.3206.53-1_arm64.deb 100854724 BLAKE2B 76bf62fca8265982d8e683a6f74e3b30ce606f1c96c02f776b7e5065724177e6c10d340e1f75b5103c2ce969db4d3e81aeda5365383550d86a0fccaa94e98a29 SHA512 842358cda63bc14485e5ecb7298357641a0420cd63a2497cea179dfe69d76495dc54dccf7b716b4d1ab66c90e7f2dac85af10f67b9844c9e928fa51b4764d8ff
DIST vivaldi-stable_6.5.3206.53-1_armhf.deb 102296752 BLAKE2B 077413b9b729d857aff362380df02b8022648e379de9cad444dab4b6c5579582f771cd06d3f9aab54b32a19f9556f14643be88aa4426e6b4d3fb8f673379f9f8 SHA512 af7cbad230e34e29f90eed47b5afdeca305c4535080f0c72ebd3cf9d0c0f6524687128bdba1dc95010be5bfa1367322e27cff390b92d5096eaa193bcc8f173b1
+DIST vivaldi-stable_6.5.3206.55-1_amd64.deb 106977300 BLAKE2B 9adef9c66bf26b118c8206306962e173073d488de5faeb887cbe6d1bc6912dac9f53ae8337a8fc5d19ee83f91eda54a3e2a16c5852a90123a40d4011f63aacca SHA512 d25c70dbb84b114dbaab0a80db5d553abb753f7a62a3d6eaa3215458d7b4f968cdbe50a1bfd6f42f00e5e2b420a9be59f7b4383650de14f316c4d1c19ad2e444
+DIST vivaldi-stable_6.5.3206.55-1_arm64.deb 100873888 BLAKE2B a9e1aae83a50aa99f6a170141b9b3fd9916d24398868c4f2d17f1d2e4c1806d8f17586b4a38641758caa1901efdc2f9b6f0327e72812bfeb5ab8370a48808227 SHA512 d75e324cbd559176d061f9dc6c7f4212d46d6b10897163e9e9fa5f2daa67308a8fe3ff596b46297695300acf2e6cbe6d09a5552a7843d589a60169abf94355aa
+DIST vivaldi-stable_6.5.3206.55-1_armhf.deb 102286752 BLAKE2B 301a41bc56616bf495e7f4da3960646968d42658e23cae4c732cbc278a692dd7d6cbd80e0450f9b7657d009b57709fdcd30c5c288b51acdcf51dfc79c0ed9848 SHA512 60a8e082a90541281bd4e90086276488c8671afd8ac7258af9da6a22ae60ebe0b672001584a7bde4786fd1cb62ac0bd6f6889933349e9d6107436e8267be2633
diff --git a/www-client/vivaldi/vivaldi-6.5.3206.55.ebuild b/www-client/vivaldi/vivaldi-6.5.3206.55.ebuild
new file mode 100644
index 000000000000..ea7dea4f525e
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-6.5.3206.55.ebuild
@@ -0,0 +1,224 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHROMIUM_VERSION="120"
+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="ffmpeg-chromium gtk proprietary-codecs qt5 widevine"
+RESTRICT="bindist mirror"
+#REQUIRED_USE="ffmpeg-chromium? ( proprietary-codecs )"
+
+RDEPEND="
+ >=app-accessibility/at-spi2-core-2.46.0:2
+ 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? (
+ !ffmpeg-chromium? ( >=media-video/ffmpeg-6.1-r1:0/58.60.60[chromium] )
+ ffmpeg-chromium? ( 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$(usex ffmpeg-chromium .${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
+}