summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2022-10-06 21:19:08 +0100
committerJames Le Cuirot <chewi@gentoo.org>2022-10-06 21:19:08 +0100
commit635b4aebd92ac19b297fd641552c8a547c574937 (patch)
tree4609c6bdea4b6e57d30a522d4b7255426160d9d9 /www-client
parentwww-client/vivaldi: Drop old 5.4.2753.47-r1 (diff)
downloadgentoo-635b4aebd92ac19b297fd641552c8a547c574937.tar.gz
gentoo-635b4aebd92ac19b297fd641552c8a547c574937.tar.bz2
gentoo-635b4aebd92ac19b297fd641552c8a547c574937.zip
www-client/vivaldi-snapshot: Add version 5.5.2805.30
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-5.5.2805.30.ebuild207
2 files changed, 210 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 204fd49bb3e0..2d58d6804bba 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-snapshot_5.5.2805.21-1_armhf.deb 90264704 BLAKE2B a507b99587d97fb10
DIST vivaldi-snapshot_5.5.2805.26-1_amd64.deb 100998880 BLAKE2B 3620422abe96a36a8943659008a068d844455986c5775a67d4138f47540569f85b7fc0c0474b30a6b73477e3b2f494e845167d439ad95f64640b3898c4b37209 SHA512 a78b303a813af3564521dd334e587009701bea5f79165e553487b8aa384da321b543e65bd21d04c667f7dc1009d4b09ce0c87a67519172f60233025210cb0129
DIST vivaldi-snapshot_5.5.2805.26-1_arm64.deb 90940052 BLAKE2B 89dc6743ba17246f85763372ddec755792fb9e5a711131c0a85d74889f761f64a23612272edfab4b9085ee76719afdbcb5dd6a7aec4fda910e5ab90fdb89fd73 SHA512 457be6137031db063c74c2e52b83929c1f68e2f325b94f5497d108e2255c4d1eae0e622f9303ef35394edc9954667809f65e1b8cd4e1bc520928273a3455700a
DIST vivaldi-snapshot_5.5.2805.26-1_armhf.deb 90266572 BLAKE2B fd11978f6e431e72b4a5d7c76e3b88814da7cb2f9e106c6fb89ba4a00e40d6ff7e564a47b093c82baba8ebe903ca1033e57223ab2cffa2814cc33ee8c3b874eb SHA512 1d97e1b7a3dd680b3f141cca8a13092285f96f4ea7c01a41344f624397d0f8ffe2f60e26ab4f9676aec394433f8a32fe1c69dc189cf7a52aa831e5f3d13546d8
+DIST vivaldi-snapshot_5.5.2805.30-1_amd64.deb 100991512 BLAKE2B 439dbe3702e937cf71e8ef3a28c42a54c8a9ff6387bd38dc704751c1fcec5e7a4a0aa065dfaf5c69ca8a9c31833968ee0d26f29cdd7495afdd843299a2a31c76 SHA512 a2ebf0d84c7f356475f41d1226bddb991d4e9e34dcae765441322474e000961d908b46db0d0383ac36768451120d25dab680dcab6058ce2c70b5873e368018d8
+DIST vivaldi-snapshot_5.5.2805.30-1_arm64.deb 90941448 BLAKE2B 6669190424960c3d27c56c94939e176ea19e281369dc69b97b5d0fee1c6a4570d192146105a0e5fe406d53fba4eb2ddc8a167c677b8cef3707011af2db9f5455 SHA512 35e764a03c85e9b69390a78099dc3863514da6df7c3e534c7de29bd43243ebe021d332740cca8224c2f0a07b88224dd43582c2919e1b82592fbaf566ed9ebc77
+DIST vivaldi-snapshot_5.5.2805.30-1_armhf.deb 89325068 BLAKE2B 1eac5ff149f402d61d704ed8e734cd0b968e6084ab1d88ced724ff0e0faa27fa52ac29bfe8a96a4df10094fa263208faa948ea89e98a6ba437f0784f65428085 SHA512 976e7935f384754dda867f320b29460baa65e7e6aef3102c8359f1ed13a4278febe5f6e75a9ec6f49201bf2e8c75b70a24d93c7196f7b555d972b1191a876390
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-5.5.2805.30.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.5.2805.30.ebuild
new file mode 100644
index 000000000000..82e87d9746ea
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.5.2805.30.ebuild
@@ -0,0 +1,207 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHROMIUM_VERSION="102"
+CHROMIUM_LANGS="
+ af
+ am
+ ar
+ az
+ be
+ bg
+ bn
+ ca
+ 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 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}_"
+
+RE="\bamd64\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" amd64? ( ${VIVALDI_BASE_URI}amd64.deb )"
+RE="\barm\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" arm? ( ${VIVALDI_BASE_URI}armhf.deb )"
+RE="\barm64\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" arm64? ( ${VIVALDI_BASE_URI}arm64.deb )"
+RE="\bx86\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" x86? ( ${VIVALDI_BASE_URI}i386.deb )"
+
+LICENSE="Vivaldi"
+SLOT="0"
+IUSE="proprietary-codecs widevine"
+RESTRICT="bindist mirror"
+
+RDEPEND="
+ || (
+ >=app-accessibility/at-spi2-core-2.46.0:2
+ ( app-accessibility/at-spi2-atk dev-libs/atk )
+ )
+ 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]
+ || ( gui-libs/gtk:4 x11-libs/gtk+:3 )
+ proprietary-codecs? ( media-video/ffmpeg-chromium:${CHROMIUM_VERSION} )
+ widevine? ( www-plugins/chrome-binary-plugins )
+"
+
+QA_PREBUILT="*"
+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
+
+ 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.${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
+}