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