# Template file for 'scrcpy' pkgname=scrcpy version=1.3 revision=1 build_style=meson configure_args="-Db_lto=true -Dprebuilt_server=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 " 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="e0e157341f6c052dc2e50ee6e912cf94df0bdda039759f19abb1eece37345f75 0f9a5a217f33f0ed7a1498ceb3c0cccf31c53533893aa952e674c1571d2740c1" skip_extraction="scrcpy-server-v${version}.jar" post_extract() { cp ${XBPS_SRCDISTDIR}/scrcpy-${version}/scrcpy-server-v${version}.jar server }