25 lines
943 B
Bash
25 lines
943 B
Bash
# Template file for 'scrcpy'
|
|
pkgname=scrcpy
|
|
version=2.5
|
|
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="https://github.com/Genymobile/scrcpy/archive/v${version}.tar.gz
|
|
https://github.com/Genymobile/scrcpy/releases/download/v${version}/scrcpy-server-v${version}"
|
|
checksum="9a29ac5171dd81c250337d9b0500f1edbaf01044645b35f8993a191ffbb8597f
|
|
1488b1105d6aff534873a26bf610cd2aea06ee867dd7a4d9c6bb2c091396eb15"
|
|
skip_extraction="scrcpy-server-v${version}"
|
|
|
|
post_install() {
|
|
vinstall ${XBPS_SRCDISTDIR}/scrcpy-${version}/scrcpy-server-v${version} \
|
|
644 /usr/share/scrcpy/ scrcpy-server
|
|
}
|