From 705c9f71182d2deae8e09441cc1a9fa6563e3303 Mon Sep 17 00:00:00 2001 From: mobinmob Date: Fri, 29 Dec 2023 13:14:58 +0200 Subject: [PATCH] anydesk: update to 6.3.0. Also: - include some changes from MechDR for armv7 support. --- srcpkgs/anydesk/template | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/srcpkgs/anydesk/template b/srcpkgs/anydesk/template index eaec4b93ad6021..bdba3feb78c71f 100644 --- a/srcpkgs/anydesk/template +++ b/srcpkgs/anydesk/template @@ -1,8 +1,8 @@ # Template file for 'anydesk' pkgname=anydesk -version=6.2.1 +version=6.3.0 revision=1 -archs="x86_64" +archs="x86_64 armv7l armv7hf" create_wrksrc=yes hostmakedepends="patchelf" depends="hicolor-icon-theme gtkglext" @@ -14,11 +14,20 @@ homepage="https://anydesk.com/remote-desktop" nopie=yes restricted=yes -distfiles="https://download.anydesk.com/linux/anydesk_${version}-1_x86_64.rpm - https://download.anydesk.com/linux/anydesk-${version}-amd64.tar.gz" -checksum="68f8395a0c84f2560ffa425497fbf9846a61bb2dbc4b1010a8ffca7856514ab2 - 96a7ded2144ecdaff381c34e49eee3275caaaac00847e91abf5e7783706c989c" - +case "${XBPS_TARGET_MACHINE}" in + x86_64) + distfiles="https://download.anydesk.com/linux/anydesk_${version}-1_amd64.deb + https://download.anydesk.com/linux/anydesk-${version}-amd64.tar.gz" + checksum="30f6e44cea28428d1cb645055fae72cf166f63318e0c94f2c12d18a3614ce30c + b1e3337d35ce19af93963829988b2014e8acfbbf6bd1b5adfb8bc7dcd6fee452" + ;; + armv7*) + distfiles="https://download.anydesk.com/rpi/anydesk_${version}-1_armhf.deb + https://download.anydesk.com/linux/anydesk-${version}-amd64.tar.gz" + checksum="10a8f442877d65458c800da2a4c772532c178a675c55604cca66156a5c812e1a + b1e3337d35ce19af93963829988b2014e8acfbbf6bd1b5adfb8bc7dcd6fee452" + ;; +esac do_build() { patchelf --remove-needed libpangox-1.0.so.0 usr/bin/anydesk @@ -27,5 +36,5 @@ do_build() { do_install() { vlicense "${pkgname}-${version}"/copyright rm -rf "${pkgname}-${version}" - vcopy "*" / + vcopy usr / }