# Template file for 'scrcpy' pkgname=scrcpy version=3.0.2 revision=1 build_style=meson configure_args="-Dcompile_server=false -Dprebuilt_server=/usr/share/scrcpy/scrcpy-server-v${version}" hostmakedepends="pkg-config" makedepends="SDL2-devel ffmpeg6-devel" depends="android-tools" short_desc="Display and control your Android device" maintainer="SolitudeSF " license="Apache-2.0" homepage="https://github.com/Genymobile/scrcpy" distfiles="https://github.com/Genymobile/scrcpy/archive/v${version}.tar.gz https://github.com/Genymobile/scrcpy/releases/download/v${version}/scrcpy-server-v${version}" checksum="5ab92d091f308679fe81851666acec1b161e6810ac73eb9bade705ade285e109 e19fe024bfa3367809494407ad6ca809a6f6e77dac95e99f85ba75144e0ba35d" skip_extraction="scrcpy-server-v${version}" post_install() { vinstall ${XBPS_SRCDISTDIR}/scrcpy-${version}/scrcpy-server-v${version} \ 644 /usr/share/scrcpy/ scrcpy-server }