void-packages/srcpkgs/scrcpy/template
2018-07-01 19:30:18 +02:00

23 lines
841 B
Bash

# Template file for 'scrcpy'
pkgname=scrcpy
version=1.2
revision=2
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 <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="d340e3a0aa1625161bc00068ffccbe291b7866729a5fff7ff859904480ec0df3
cb39654ed2fda3d30ddff292806950ccc5c394375ea12b974f790c7f38f61f60"
skip_extraction="scrcpy-server-v${version}.jar"
post_extract() {
cp ${XBPS_SRCDISTDIR}/scrcpy-${version}/scrcpy-server-v${version}.jar server
}