vivaldi: update to 5.7.2921.60

skip libqt5_shim.so as runtime dependency
don't download EULA, link to it instead
This commit is contained in:
Ramdziana F Y 2023-02-17 18:07:26 +07:00 committed by classabbyamp
parent 11c67e846c
commit 261dc5b522
2 changed files with 7 additions and 12 deletions

View File

@ -0,0 +1 @@
see https://vivaldi.com/privacy/vivaldi-end-user-license-agreement/

View File

@ -1,33 +1,30 @@
# Template file for 'vivaldi'
pkgname=vivaldi
version=5.6.2867.62
version=5.7.2921.60
revision=1
_release=1
archs="x86_64 aarch64 armv7l"
hostmakedepends="curl python3-html2text python3-setuptools"
depends="desktop-file-utils hicolor-icon-theme xz"
short_desc="Advanced browser made with the power user in mind"
maintainer="Orphaned <orphan@voidlinux.org>"
# EULA: https://vivaldi.com/privacy/vivaldi-end-user-license-agreement/
# Privacy Policy: https://vivaldi.com/privacy/browser/
license="custom:Proprietary"
homepage="https://vivaldi.com"
_licenseUrl="https://vivaldi.com/privacy/vivaldi-end-user-license-agreement/"
repository=nonfree
restricted=yes
nostrip=yes
skiprdeps="/opt/vivaldi/libqt5_shim.so"
case "$XBPS_TARGET_MACHINE" in
x86_64)
distfiles="https://downloads.vivaldi.com/stable/vivaldi-stable_${version}-${_release}_amd64.deb"
checksum=a79a2409dbc406eacbd5482a2cc06109de1c68f6e2380d5666b23d4c2e63ea88
checksum=85eb0eddb76b6e40b7963c4e3e7d6c0f78b03fd7498f796103637c230a816bf1
;;
aarch64)
distfiles="https://downloads.vivaldi.com/stable/vivaldi-stable_${version}-${_release}_arm64.deb"
checksum=6894766d727c7456b253eeb8657ce243b5fa980e09e177c0e3ba30bb9f926921
checksum=ef888b3e9dd6976c57e0a24396ee7d38f3847b229807be0a992d6fc5b19fef4a
;;
armv7l)
distfiles="https://downloads.vivaldi.com/stable/vivaldi-stable_${version}-${_release}_armhf.deb"
checksum=9b01450c19785d54f9b060363d9de1245a3e578b214c46f9487d590de3aba942
checksum=6f42722f41cecfb443d896de9ebeb7e11e044792d751f589dec5e0477f1d7365
;;
*)
broken="No distfiles available for this target"
@ -58,8 +55,5 @@ do_install() {
}
post_install() {
curl ${_licenseUrl} \
| sed -n '/main id="main"/,/\/main/p' \
| html2text > EULA.md
vlicense EULA.md
vlicense ${FILESDIR}/EULA
}