scrcpy: update to 1.5.

This commit is contained in:
Rasmus Thomsen 2019-01-08 18:22:33 +01:00 committed by maxice8
parent e9310d8ff1
commit 5fadf9cd1a
1 changed files with 11 additions and 7 deletions

View File

@ -1,10 +1,13 @@
# Template file for 'scrcpy'
pkgname=scrcpy
version=1.3
version=1.5
revision=1
#XXX: Just release a new patchversion...
wrksrc="scrcpy-${version}-fixversion"
build_style=meson
configure_args="-Db_lto=true
-Dprebuilt_server=scrcpy-server-v${version}.jar"
-Dbuild_server=false
-Doverride_server_path=/usr/share/scrcpy/scrcpy-server-v${version}.jar"
hostmakedepends="pkg-config"
makedepends="SDL2-devel ffmpeg-devel"
depends="android-tools"
@ -12,12 +15,13 @@ short_desc="Display and control your Android device"
maintainer="SolitudeSF <solitudesf@protonmail.com>"
license="Apache-2.0"
homepage="https://github.com/Genymobile/scrcpy"
distfiles="${homepage}/archive/v${version}.tar.gz
distfiles="${homepage}/archive/v${version}-fixversion.tar.gz
${homepage}/releases/download/v${version}/scrcpy-server-v${version}.jar"
checksum="e0e157341f6c052dc2e50ee6e912cf94df0bdda039759f19abb1eece37345f75
0f9a5a217f33f0ed7a1498ceb3c0cccf31c53533893aa952e674c1571d2740c1"
checksum="79249fb0881c8de6af23ed58e2b31dc6738174d7e49c490ae6e7992f7b3ec2cd
c827f566172a5c5946e63b8378ac93d374dff9e229083e5cd9980df57536947b"
skip_extraction="scrcpy-server-v${version}.jar"
post_extract() {
cp ${XBPS_SRCDISTDIR}/scrcpy-${version}/scrcpy-server-v${version}.jar server
post_install() {
vinstall ${XBPS_SRCDISTDIR}/scrcpy-${version}/scrcpy-server-v${version}.jar \
644 /usr/share/scrcpy/
}