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