summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2024-12-15 22:42:32 +0000
committerJames Le Cuirot <chewi@gentoo.org>2024-12-15 22:45:44 +0000
commit76b5bce1d6c49b360325cc8e3d242ac8bda03b37 (patch)
tree30a484dcbe21a36c8cd860ac1a6e8a4aac2a77a2
parentsys-apps/plocate: add 1.1.23 (diff)
downloadgentoo-76b5bce1d6c49b360325cc8e3d242ac8bda03b37.tar.gz
gentoo-76b5bce1d6c49b360325cc8e3d242ac8bda03b37.tar.bz2
gentoo-76b5bce1d6c49b360325cc8e3d242ac8bda03b37.zip
www-client/vivaldi-snapshot: Add version 7.1.3550.4
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
-rw-r--r--www-client/vivaldi-snapshot/Manifest6
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-7.1.3550.4.ebuild226
2 files changed, 232 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 180f5f210c16..616dab3a65ef 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -1,6 +1,12 @@
DIST vivaldi-snapshot_7.1.3510.4-1_amd64.deb 121045440 BLAKE2B d3cfd0e20228d1bf77ec42462ec58cf4888c0eb923ad5a6f7df86fb79b65666ecbf60f92f9adce04b31b78cce70789a26a4072982c36633c114bca2c924a1f69 SHA512 fe2464cf7b583ca6bbf2fa47060613667bc82d2ba2e54714c5189d534108af734afe5fc25ed9c4744e95593a3afaa6db115dc560c841f8d8c360157097690d80
DIST vivaldi-snapshot_7.1.3510.4-1_arm64.deb 112938880 BLAKE2B f3931831317b918c43f9771fd454bdd09143e5e33e4d5a4236ef8c9c2aa8f911f393167c28ca6d663b7fc4a841dd8cbf0d0af2c5f834df5336840cbd5ae42c96 SHA512 cc5f8376d438be8159afcb384e7340be6f155f1c7a67492aa3f17776150e209cbdb8b984bb97a8974a54ae8ac4ceae0a08a82b5af0d0b3592e88cb669b76b425
DIST vivaldi-snapshot_7.1.3510.4-1_armhf.deb 114060140 BLAKE2B 4984f711277bbe3127fe00f3f18a3c5984cafb68a6a127936a69bb45c587052e89fe2226e24545d03b61fb245f28a63b4c8c6739be450bea1e8cbc2543bab373 SHA512 c2eafc604cedb0e8dc00421ea0926dce5a523e9f678049565f6c74147acf963be04f5a64424dfec9c9dee2331cf52b07d112376711b18c2073ee8f3d0e50573a
+DIST vivaldi-snapshot_7.1.3518.4-1_amd64.deb 121033964 BLAKE2B b8e091d2df7c35147340236f1e6f04ba14bb06fa2fddf735cd0c160b678228d034d0bf0509cc122452d1894f90b9f11a0bd7cdfed6130505da89d9101e4fc8e5 SHA512 0c974a9e0023477a15c4fa35227a22cf03ffc04c9097a896b0e8fcc4e08bba630641c486ec59d4ab31fda9b9ded17b10fa17ead714b86590329ece7bec91925d
+DIST vivaldi-snapshot_7.1.3518.4-1_arm64.deb 112925364 BLAKE2B e33d04fadc32372e2c74c9281deeb20ac7a1993919f70b974f8c40a15fb3e0346a562cd424077f87c0e23e55f6fc07f63d4390341a1261e2d4b5956242fd10f3 SHA512 750d51ee2cbc6bffd406622d54c60006f113151acd183beaebf8b22f511beec887854839319a4b76b889121ef225439a92fbb3ef8abe0307a557c5bf2ac27a0e
+DIST vivaldi-snapshot_7.1.3518.4-1_armhf.deb 114075232 BLAKE2B c7187c73c80f3a698ddfd9d617907b168aa15f5971df15694f509f71565f6b1990cc48d01df90aef8ddcffb0024f3b741afd21e1d9bb38aafb0481b524276f67 SHA512 7cb66f28fca2c4e37bc982daee268e28f2420c097a1efc275ecacae0532a07779dc467e8c2b763a5d107f1e69c04d55bf34bdb609375455ab7fca0439beade3c
DIST vivaldi-snapshot_7.1.3527.3-1_amd64.deb 121007844 BLAKE2B aaad775ce4410d9774e96e309d5c37d75552aa533fbc2fb9a8d05482a75e9f078ef3691438089b0080202bfdce415a10e6d25ca2a383bdd56d1b89247f4e8e71 SHA512 cdd5818427dc25f3660e4e16019597ccd7229bb0d5e940852df1c7e5130fe22d94f5ade24c968534261ef9bef8913514e51286ca17b63c6ca07c3fc8a4683b6a
DIST vivaldi-snapshot_7.1.3527.3-1_arm64.deb 112952768 BLAKE2B bed39c28f3b6029d78289f3c504de49310b5a9bcd4d3af3579bcfaba4f57f98ec6386d4df47efadeed1e736c5d5f88c8c346c5ec75655c99aa42f24395d4efb0 SHA512 22564448fff9707f1e8ed1e910db77040b83fb2f4f6e903694e1abee48278566a1c922182d412e5de92a14be6d9ea4f87850340996f5ea7ea663f461f4438356
DIST vivaldi-snapshot_7.1.3527.3-1_armhf.deb 114104520 BLAKE2B 42140a4ba241014a12cfeab1dd00f4982bb74f031dc82f6a5e05f2c53236f8757e3f79d81351b4b71c86730e8ea6d078693e4f6d47d5e74818ff7c7ca6113e8c SHA512 134a7ff43e4e6e347444376d42bc498a7f2df48167f82cea1b204f646d565660da8feb94e073af8a1511e5d8a1093bec02ffe8b916103198aa01c0d2c3477bc4
+DIST vivaldi-snapshot_7.1.3550.4-1_amd64.deb 121584684 BLAKE2B c5bf0a141764bd221812c6e10866ec9b5c3dc2c841d73f7e2db51229f42914a82f8bc811204230a3058fee18c0e6b846caf7bef368b39dec6cf6aa49eb7ba96d SHA512 e31fb4730b07507f70f1c2ce806cf77b8a4533849b3cc53941a442ef746f5829c2257a458d3146a650dddad9880a6246c8bb2045c95859326d09148dc1c8b3f4
+DIST vivaldi-snapshot_7.1.3550.4-1_arm64.deb 113676640 BLAKE2B 3d4c20dc4ef6684403266436b15588af5a21a6855def06315a32369c3a2438738de5c7afc4084c4ec0069574f6d61c01f466d70c70e976135eea1e6c38ee44b2 SHA512 00a64ab9ca3144a94f409f649f79218449e9e281a83512ba4bb88b0c501e9bc10a2d973a65b7ed4b50b4685ed6e6933d2aa1f173ef7e7b976c34b8a21eeed258
+DIST vivaldi-snapshot_7.1.3550.4-1_armhf.deb 114767348 BLAKE2B 1d23ee82b6a3df2e65bf40e938ca0ee9479878375399a5ea37ea6c0b99b55f8a6649798e5949a3248093daae1f2bf4260ca3df143b72e60f317b6994e782e61a SHA512 b2f9313cb266d4dc71ded2239fe5c53b57385d27feea728675018113ef9334a2daa140fbc760d37bb237eb91acd3a3950628b5ce36754a0404d05042ce9c413b
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-7.1.3550.4.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-7.1.3550.4.ebuild
new file mode 100644
index 000000000000..284be765fc30
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-7.1.3550.4.ebuild
@@ -0,0 +1,226 @@
+# Copyright 1999-2024 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 qt5 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} )
+ )
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ )
+ 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
+
+ if ! use qt5; then
+ rm ${VIVALDI_HOME}/libqt5_shim.so || die
+ fi
+
+ 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
+}