25 lines
944 B
Bash
25 lines
944 B
Bash
# Template file for 'scrcpy'
|
|
pkgname=scrcpy
|
|
version=4.0
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-Dcompile_server=false
|
|
-Dprebuilt_server=/usr/share/scrcpy/scrcpy-server-v${version}"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="SDL3-devel ffmpeg6-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="a62bc2639e1d56b3e7ebaa20d8deb4947dd02954b3362bdebe2ef9f7eae41b00
|
|
84924bd564a1eb6089c872c7521f968058977f91f5ff02514a8c74aff3210f3a"
|
|
skip_extraction="scrcpy-server-v${version}"
|
|
|
|
post_install() {
|
|
vinstall ${XBPS_SRCDISTDIR}/scrcpy-${version}/scrcpy-server-v${version} \
|
|
644 /usr/share/scrcpy/ scrcpy-server
|
|
}
|