24 lines
894 B
Bash
24 lines
894 B
Bash
# Template file for 'scrcpy'
|
|
pkgname=scrcpy
|
|
version=1.14
|
|
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="45353b6e6cf1efbc8aadf2a51103242460562f6a55c6772037f492716b3fca07
|
|
1d1b18a2b80e956771fd63b99b414d2d028713a8f12ddfa5a369709ad4295620"
|
|
skip_extraction="scrcpy-server-v${version}"
|
|
|
|
post_install() {
|
|
vinstall ${XBPS_SRCDISTDIR}/scrcpy-${version}/scrcpy-server-v${version} \
|
|
644 /usr/share/scrcpy/ scrcpy-server
|
|
}
|