summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2024-10-04 23:04:01 +0100
committerJames Le Cuirot <chewi@gentoo.org>2024-10-04 23:04:01 +0100
commitfee2011cfdd8ad31570170310791a3df78004e15 (patch)
treec1d6fc43fa60996ad58b838ee09a0728802bc76f /www-client
parentwww-client/vivaldi-snapshot: Drop old 6.10.3466.4 (diff)
downloadgentoo-fee2011cfdd8ad31570170310791a3df78004e15.tar.gz
gentoo-fee2011cfdd8ad31570170310791a3df78004e15.tar.bz2
gentoo-fee2011cfdd8ad31570170310791a3df78004e15.zip
www-client/vivaldi: Add version 6.9.3447.51
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.9.3447.51.ebuild226
2 files changed, 229 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index e3edf5b9bdb5..a83347b2da37 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-stable_6.9.3447.44-1_armhf.deb 106147656 BLAKE2B cc72f9b139a3ccdd34
DIST vivaldi-stable_6.9.3447.48-1_amd64.deb 113499756 BLAKE2B 2c8cb9764850bc75d054ccacceb1c4bee667587264be9fa42079a57d3f311e79c20feee3cf74fc4bf1a9bf8f152e9003d12317ce190b8655aa36dab2f7cb5926 SHA512 47cd64d686fb203971b3689d4c9cae1d80d44a303417c39d90933be2f9581b60bcb52e126f5b7bc58e69eb5fef8e9492fc7c9f5c33fb7c219c1f3079972bbfb3
DIST vivaldi-stable_6.9.3447.48-1_arm64.deb 105129348 BLAKE2B 2900169ec3d9967ae610c451f14d107bb1a5dea6863de1072d97077b9a7fd95f284746523f3bd32c438261abd1e8e67ea1915be39cc2dbe49e447c93bc1cfde9 SHA512 f3424d7a2f4682360e3624c0b653de137320894782d27ae39dd80097379662ad78d7ea911acd2fc51436be9e14b40febc43cfa6ae3a08dfd00d2c23e2eff41c9
DIST vivaldi-stable_6.9.3447.48-1_armhf.deb 106149580 BLAKE2B 87b45daf3dd4d8b9cbdf7f4273b7e7591870143139356be195434750fec6bd7c6672ea0284f4c25400e30cb0258d4df561fecce68bf29aca5e74d57dbc38a600 SHA512 6b85e9750b855aabbbb5a20ba899e21c79dfff6ad05f56f2f544a24398744cb59c5b9a0a8330b6888e61616d76bb7e2c55c071da48d5200fd6ff90ce1bf22033
+DIST vivaldi-stable_6.9.3447.51-1_amd64.deb 113576956 BLAKE2B f87581cfc795e17969a4fb2a959b44e798a3892d0718807912f9817b6372c59bd5769ba06f0bb6c7e16fe66e9eb63a5fd1596d01c85012c1db5092d9389af8c4 SHA512 fc146e2ce0436785d5a9a914585fa7c23fbe34234a74dea078c42d4f30227200d848472902bcfe6869072f2c0d2839b66e407a473168b660ce943921b11a2a1c
+DIST vivaldi-stable_6.9.3447.51-1_arm64.deb 105183100 BLAKE2B e20726cc8c7b97139355b26fc1a387a72ed0a59483fded78ac4988a0300ada86060bb5504c067141b5fb6d62b5b6c477b846371be02433e4ecfcf128ee1a4a1d SHA512 25610aef0bb82d4ca3617f225a0badec5150e28bc40ed95037239dee1951a5ae5655c5017fff8a7bb430c20fb91a5b2fa25276707545d82b1d0e11ebee4bb4ae
+DIST vivaldi-stable_6.9.3447.51-1_armhf.deb 106214184 BLAKE2B c5f151781e4021c257d847e2a9e53bf96d013d1fea404907923f1eb5b92579b045bbcad21ecc3b39091b5102bc4424d17152c9655412ecb21719f71a343059a8 SHA512 df0efb4eb09f4416044f89ebd94be0e59a123a04116041e5c3aedab835a0a25f0de28c92a84430f2eb7c41b26b677fd81e0e0ade71927db14ad317bbe105d393
diff --git a/www-client/vivaldi/vivaldi-6.9.3447.51.ebuild b/www-client/vivaldi/vivaldi-6.9.3447.51.ebuild
new file mode 100644
index 000000000000..a0fd66eb84bd
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-6.9.3447.51.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="127"
+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[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
+ )
+ 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
+}