scrcpy: update to 1.11

This commit is contained in:
teldra 2019-11-25 17:19:09 +01:00 committed by Helmut Pozimski
parent 88b2c55534
commit a72e95a6f7

View file

@ -1,10 +1,10 @@
# Template file for 'scrcpy'
pkgname=scrcpy
version=1.10
version=1.11
revision=1
build_style=meson
configure_args="-Dcompile_server=false
-Dprebuilt_server=/usr/share/scrcpy/scrcpy-server-v${version}.jar"
-Dprebuilt_server=/usr/share/scrcpy/scrcpy-server-v${version}"
hostmakedepends="pkg-config"
makedepends="SDL2-devel ffmpeg-devel"
depends="android-tools"
@ -13,12 +13,12 @@ maintainer="SolitudeSF <solitudesf@protonmail.com>"
license="Apache-2.0"
homepage="https://github.com/Genymobile/scrcpy"
distfiles="${homepage}/archive/v${version}.tar.gz
${homepage}/releases/download/v${version}/scrcpy-server-v${version}.jar"
checksum="71bd3b01f26233d73b91c0953ce004bd3195bcfd0c83b76c269094fb06e5ffa5
cbeb1a4e046f1392c1dc73c3ccffd7f86dec4636b505556ea20929687a119390"
skip_extraction="scrcpy-server-v${version}.jar"
${homepage}/releases/download/v${version}/scrcpy-server-v${version}"
checksum="86fccd2190a14c7f3024edf922229919803dee774f91c85fdee54029e179f270
ff3a454012e91d9185cfe8ca7691cea16c43a7dcc08e92fa47ab9f0ea675abd1"
skip_extraction="scrcpy-server-v${version}"
post_install() {
vinstall ${XBPS_SRCDISTDIR}/scrcpy-${version}/scrcpy-server-v${version}.jar \
644 /usr/share/scrcpy/ scrcpy-server.jar
vinstall ${XBPS_SRCDISTDIR}/scrcpy-${version}/scrcpy-server-v${version} \
644 /usr/share/scrcpy/ scrcpy-server
}