void-packages/srcpkgs/scrcpy/template
2019-01-20 23:30:44 -02:00

26 lines
953 B
Bash

# Template file for 'scrcpy'
pkgname=scrcpy
version=1.6
revision=1
#XXX: Just release a new patchversion...
build_style=meson
configure_args="-Db_lto=true
-Dbuild_server=false
-Doverride_server_path=/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="b41925d087420cbe24d7fa901cbb537f492c28c50d875fcf738e7fe4b26d7d05
08df924bf6d10943df9eaacfff548a99871ebfca4641f8c7ddddb73f27cb905b"
skip_extraction="scrcpy-server-v${version}.jar"
post_install() {
vinstall ${XBPS_SRCDISTDIR}/scrcpy-${version}/scrcpy-server-v${version}.jar \
644 /usr/share/scrcpy/
}