void-packages/srcpkgs/scrcpy/template
prspkt 2ff3c62cd9 scrcpy: update to 1.10.
Signed-off-by: prspkt <prspkt@protonmail.com>
2019-11-12 02:10:10 +01:00

24 lines
914 B
Bash

# Template file for 'scrcpy'
pkgname=scrcpy
version=1.10
revision=1
build_style=meson
configure_args="-Dcompile_server=false
-Dprebuilt_server=/usr/share/scrcpy/scrcpy-server-v${version}.jar"
hostmakedepends="pkg-config"
makedepends="SDL2-devel ffmpeg-devel"
depends="android-tools"
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
${homepage}/releases/download/v${version}/scrcpy-server-v${version}.jar"
checksum="71bd3b01f26233d73b91c0953ce004bd3195bcfd0c83b76c269094fb06e5ffa5
cbeb1a4e046f1392c1dc73c3ccffd7f86dec4636b505556ea20929687a119390"
skip_extraction="scrcpy-server-v${version}.jar"
post_install() {
vinstall ${XBPS_SRCDISTDIR}/scrcpy-${version}/scrcpy-server-v${version}.jar \
644 /usr/share/scrcpy/ scrcpy-server.jar
}