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