25 lines
894 B
Bash
25 lines
894 B
Bash
# Template file for 'scrcpy'
|
|
pkgname=scrcpy
|
|
version=1.13
|
|
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 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}"
|
|
checksum="6f65a22b495240358a56f84098edc48e9e396eab20b6130538088d96eb7e36f0
|
|
5fee64ca1ccdc2f38550f31f5353c66de3de30c2e929a964e30fa2d005d5f885"
|
|
skip_extraction="scrcpy-server-v${version}"
|
|
|
|
post_install() {
|
|
vinstall ${XBPS_SRCDISTDIR}/scrcpy-${version}/scrcpy-server-v${version} \
|
|
644 /usr/share/scrcpy/ scrcpy-server
|
|
}
|