summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2023-12-12 10:22:39 +0000
committerJames Le Cuirot <chewi@gentoo.org>2023-12-12 10:22:39 +0000
commit467e5f69863fe8d4524310aadc2c881b734bb84a (patch)
tree4e417138aa4b9d8e13f4b9ec227a6e83da74ae08 /www-client
parentdev-python/scipy: remove unused patch(es) (diff)
downloadgentoo-467e5f69863fe8d4524310aadc2c881b734bb84a.tar.gz
gentoo-467e5f69863fe8d4524310aadc2c881b734bb84a.tar.bz2
gentoo-467e5f69863fe8d4524310aadc2c881b734bb84a.zip
www-client/vivaldi-snapshot: Add version 6.5.3206.33
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi-snapshot/Manifest3
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-6.5.3206.33.ebuild224
2 files changed, 227 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 9d992cca01f7..19f28311e13d 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -7,3 +7,6 @@ DIST vivaldi-snapshot_6.5.3206.24-1_armhf.deb 102242064 BLAKE2B 430d87cb115abe59
DIST vivaldi-snapshot_6.5.3206.29-1_amd64.deb 106760208 BLAKE2B 68ff92af1e5b60cc3c048eb9e0dd1cfeca7ad556341a01ca4a1709d079d4ee6f23a559c7cd03e96913b3fb9eecfea4e5cc0e703bd770ab2697810ea8fc09a1ba SHA512 5def4d22abba6352bf20157c42b347ec3f2762c8f38c05032ff93db550367897cc265607e5f6a33ae058e0482e3b0eb518cc78754c67521095aad080afa77de1
DIST vivaldi-snapshot_6.5.3206.29-1_arm64.deb 100824792 BLAKE2B 51585bdc72acea5d18035a76cf7ccbf136b78a4b1c863de4c869bf91c5f236dc45e562fb87094d995c14997d22936f45de4fadaa98206dec29d56b9e267136a3 SHA512 8b15c477bcec65ae3235b4b987a19db5a4037237298bd33e3a164f3ee2608eb0b2798cdf57fbf4d5e980381383506140537a48d1a40c4dd40adbaf016c78821a
DIST vivaldi-snapshot_6.5.3206.29-1_armhf.deb 102259264 BLAKE2B 4b413ae0561c18559eda8b21cf22fc5b6005879eb23a3ae206d81deb6238fa14342160cd75a1398a2bf9488e939d870d131373ecedca9f7282828a698ed906c8 SHA512 4e0bf530c37c7c0e39279c1cf9141aac62043aea92d34081478e1528c3c4caf0aed469a2a4120cad49a6048ddcd0c4516f9b2169e63602213342a0b694a3b780
+DIST vivaldi-snapshot_6.5.3206.33-1_amd64.deb 106764976 BLAKE2B 6e729b11894a84f3c97e98a442bc34372c1ccf1e8a7fffa1b5e49ca274db7622fb89f3ff447a011a9ef2a8c2fb7eddc434acd083c1dead5420c685a57320f1ff SHA512 dd803247dc42c2fb3de96c4db09e40f5f7ac11a52b01c2daa151cdeb1d8aa6946f9990c6f2627777825147bdfc7ed563d51b62e54e413d17108210c80f090d9b
+DIST vivaldi-snapshot_6.5.3206.33-1_arm64.deb 100813748 BLAKE2B 7bbe0545412af9db0f9d0a675e58f93d440dfd916381c7a9fc33c4107ed1568c6d1de11fa030e01c5542626aa24077893e33f65e9fa5209dbd2da1f6cea2c7d5 SHA512 3f3bd53ac3dc32c0187fb757f3c6eee898d93195f18b044d182b74995d09dcd0fb36f75cd5d145c1ed80ad90ab7d115a5911ec17691e2ae98b23850528844b10
+DIST vivaldi-snapshot_6.5.3206.33-1_armhf.deb 102263852 BLAKE2B c6aa16c576f058d14beb555ee877a7a36b4b184fe47e499a29202ad2f4d94aa7d717d03c25a56c7ef6c1b368cf728d1b2db1a4e66b4b8f4ecc02f670032e6eee SHA512 36933762994acd7ef3a898256e9a94ccd833cbb5012dc3b405199e3bb9511de8321a9bf3b1f8b6cf6493dd857dc5016628bf007df66ada3c1dc396ee68755116
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-6.5.3206.33.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-6.5.3206.33.ebuild
new file mode 100644
index 000000000000..1cb4e268a82f
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-6.5.3206.33.ebuild
@@ -0,0 +1,224 @@
+# Copyright 1999-2023 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
+}