Skip to content

Commit

Permalink
anydesk: update to 6.3.0.
Browse files Browse the repository at this point in the history
Also:
- include some changes from MechDR for armv7 support.
  • Loading branch information
mobinmob authored and classabbyamp committed Jan 16, 2024
1 parent 96bad06 commit 705c9f7
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions srcpkgs/anydesk/template
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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
Expand All @@ -27,5 +36,5 @@ do_build() {
do_install() {
vlicense "${pkgname}-${version}"/copyright
rm -rf "${pkgname}-${version}"
vcopy "*" /
vcopy usr /
}

0 comments on commit 705c9f7

Please sign in to comment.