-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
anydesk: update to 6.3.0, add armv7 support #47656
Closed
Closed
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,36 @@ | ||
# 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" | ||
short_desc="Fast remote desktop application" | ||
maintainer="mobinmob <[email protected]>" | ||
license="custom:Proprietary" | ||
#Free for personal use. Terms and conditions:https://anydesk.com/en/terms | ||
# Free for personal use. Terms and conditions: https://anydesk.com/en/terms | ||
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" | ||
checksum="30f6e44cea28428d1cb645055fae72cf166f63318e0c94f2c12d18a3614ce30c" | ||
;; | ||
armv7*) | ||
distfiles="https://download.anydesk.com/rpi/anydesk_${version}-1_armhf.deb" | ||
checksum="10a8f442877d65458c800da2a4c772532c178a675c55604cca66156a5c812e1a" | ||
;; | ||
esac | ||
|
||
do_build() { | ||
patchelf --remove-needed libpangox-1.0.so.0 usr/bin/anydesk | ||
} | ||
|
||
do_install() { | ||
vlicense "${pkgname}-${version}"/copyright | ||
rm -rf "${pkgname}-${version}" | ||
vcopy "*" / | ||
echo "See: https://anydesk.com/en/terms" > LICENSE | ||
vlicense LICENSE | ||
vcopy usr / | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not an acceptable license. Fetch the web content at build time place that content in the LICENSE file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with T&C like (it's not just a copyright licence) this the ones that apply are usually the ones that exist at the present moment, not what existed at build time, so for packages like this and chrome and discord I've moved them to this style.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You agree to the terms when you install the software. Unless those terms expressly include a clause that you agree to abide by any future changes to the terms, the provider is not able to change the terms after the fact. Regardless, it would be most appropriate to capture the terms as they exist when they are enacted.
If there's an argument that build and install time might be materially different (which is less likely to be true for restricted packages), the right thing to do is fetch the license in an INSTALL script.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The license is included in the generic Linux build only, which is x64 only. I just opted for a cleaner resolution (suggested by @classabbyamp) in which both of the builds are fetched from the deb packages, which do not include the license file.
As it's a service based software, I presume the license and T&C might change over time, so in order to be up to date with the license/T&C, it's best to refer the user to the web page, instead of looking at an older license file which is not up to date.
The software is backwards compatible (can work/connect) with older versions of it, up to 2 or 3 major versions behind the current build, so it is actually more practical to include the current "state of affairs" rather than what used to be "the norm" at install time.
The Windows installer has no T&C/license acceptance when installing (maybe it has, but I haven't noticed to be honest). The Debian builds as well (they don't even have the license file in the packages, only the generic Linux builds have that), so I really don't see a problem if the user is just pointed at a web page to look at the current state of legal affairs regarding using the software.