# Template file for 'scrcpy' pkgname=scrcpy version=3.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="9902a3afd75f9a5da64898ac06ffaf77065dd713a58f47a408630b98f03ba9ce b920e0ea01936bf2482f4ba2fa985c22c13c621999e3d33b45baa5acfc1ea3d0" skip_extraction="scrcpy-server-v${version}" post_install() { vinstall ${XBPS_SRCDISTDIR}/scrcpy-${version}/scrcpy-server-v${version} \ 644 /usr/share/scrcpy/ scrcpy-server }