summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2025-01-09 23:00:26 +0000
committerJames Le Cuirot <chewi@gentoo.org>2025-01-09 23:08:28 +0000
commit2abc0af16e757595818a9444b28ccbb0cd0d7122 (patch)
tree21dd1192d361e15da350863acfc2d1b38e189ca6 /www-client
parentapp-admin/syslog-ng: Stabilize 4.8.1-r1 ppc64, #947772 (diff)
downloadgentoo-2abc0af16e757595818a9444b28ccbb0cd0d7122.tar.gz
gentoo-2abc0af16e757595818a9444b28ccbb0cd0d7122.tar.bz2
gentoo-2abc0af16e757595818a9444b28ccbb0cd0d7122.zip
www-client/vivaldi-snapshot: Add version 7.1.3570.3
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-7.1.3570.3.ebuild220
2 files changed, 223 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index b00316e71646..04e5017053d4 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-snapshot_7.1.3550.4-1_armhf.deb 114767348 BLAKE2B 1d23ee82b6a3df2e6
DIST vivaldi-snapshot_7.1.3554.3-1_amd64.deb 121585032 BLAKE2B 24d7dd94bf1dfafc2726b0a8f5ccedf3adffe913905306503d926b2aa2243ddfaefdd38071c86d02168b1792c48a45b41d31b1db0e7a8cffe502265903f90473 SHA512 fd12b1db457dbe728aa26b9aa4bb82ecfbe65c8ed0761767136429bf85c2049a317e109f8cdde3000f3904810be36fb144b19baf07358e68c2a51b24be425a03
DIST vivaldi-snapshot_7.1.3554.3-1_arm64.deb 113712444 BLAKE2B 46c6659ce7b24f8d63c3e7deda6b267c7e3c68338b80ed513fb055b813bb1d164cc7c822547e10620e2b1bd5ea4fc571d50dd247807d5254f196d38167179936 SHA512 ab5fea9372aab1e2ebc0f7d494aa5b79c3bea17ef5ff603456f75cf9e2a2cfc6492ece20f8cb194729318b89f0b8f0545fee1bfd9e822adbe00741dc9a9f77d3
DIST vivaldi-snapshot_7.1.3554.3-1_armhf.deb 114778124 BLAKE2B ecd9458dd17c65ac38b9bf0bd73a4b71d38e2e1293220d6a7af298705c8f25f3565c66b3bd4dcaf6930e8e4763bea2beaf850e58fc72aed6e19807a574bcac68 SHA512 952c24ed5040fc2061d54a4610b3d9da01e59ed37bed626ddb6b2877a5f45a0aae34618e6337789df353150efe2aa6d1d56699c926669dcc0f5db1764e4bee73
+DIST vivaldi-snapshot_7.1.3570.3-1_amd64.deb 121835656 BLAKE2B 1a5f1e0b8f617d3dd6f45a1d0a49317d072a186ae31c1f2967228d9626e96dcf092436a4e48f6f6287c22d2ec2a628312e3c7b5b881050213990a87604657e34 SHA512 2b106e74b03d521432fa4673c67d088eda8ec1bf27521050c6488693bd7b9f5a23bec63fe133ea84250b27b8b5aea0bb2afe8fb7468f3fa306efa28159749c70
+DIST vivaldi-snapshot_7.1.3570.3-1_arm64.deb 113747528 BLAKE2B b3cbcdd4fb3697c5e0e454846f245d1df30c664006d8b658291080d7dd30e8c4c8de25cfbb40151278a49af6ba5fb768594c3ee971d5d545594df3a2adaee15d SHA512 9a5a147a1cb0268b144a6c2c7906e83bcf10dec12619b9427a9211d7e2ffdcd1a53f327b7a82782ad97dfe53418171afeac0091dfb1bccafd42ad09c29dadc07
+DIST vivaldi-snapshot_7.1.3570.3-1_armhf.deb 114832316 BLAKE2B 80502f6ec18170ddd499e0adfe43196016a04f1d21a6c139af112407bf08fca750d50d5c168b4b2997965208125ea762a04288d4192d4c938126cb1c9e285ca3 SHA512 14d8583590a44b95f68922406f6b3604490e590fbb0175151ccd2b4a88a9cad92c2b8ac5b13d4ad19c78771ea48dfb46fe9151a4a370eb2a4366a8ede952fabd
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-7.1.3570.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-7.1.3570.3.ebuild
new file mode 100644
index 000000000000..545ea51d964a
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-7.1.3570.3.ebuild
@@ -0,0 +1,220 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHROMIUM_VERSION="132"
+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
+ 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 toolchain-funcs 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
+
+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 )
+"
+
+S="${WORKDIR}"
+LICENSE="Vivaldi"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm ~arm64"
+IUSE="ffmpeg-chromium gtk proprietary-codecs qt6 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
+ 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} )
+ )
+ qt6? ( dev-qt/qtbase:6[gui,widgets] )
+ widevine? ( www-plugins/chrome-binary-plugins )
+"
+
+QA_PREBUILT="*"
+CONFIG_CHECK="~CPU_FREQ"
+
+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.
+ rm kmr.pak || die # No flag for Kurmanji.
+ chromium_remove_language_paks
+ popd > /dev/null || die
+
+ if use proprietary-codecs; then
+ einfo Bundled $($(tc-getSTRINGS) ${VIVALDI_HOME}/lib/libffmpeg.so | grep -m1 "^FFmpeg version ")
+ rm ${VIVALDI_HOME}/lib/libffmpeg.so || die
+ rmdir ${VIVALDI_HOME}/lib || die
+ fi
+
+ # Qt5 is obsolete now.
+ rm ${VIVALDI_HOME}/libqt5_shim.so || die
+
+ if ! use qt6; then
+ 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
+}