26 lines
953 B
Bash
26 lines
953 B
Bash
# Template file for 'scrcpy'
|
|
pkgname=scrcpy
|
|
version=1.7
|
|
revision=1
|
|
#XXX: Just release a new patchversion...
|
|
build_style=meson
|
|
configure_args="-Db_lto=true
|
|
-Dbuild_server=false
|
|
-Doverride_server_path=/usr/share/scrcpy/scrcpy-server-v${version}.jar"
|
|
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}.jar"
|
|
checksum="d447b51097929854e5ac1cf96410450def6a0e3637e544caead7a5b9ada811be
|
|
ee86ec8424f7dc50cacdf927312bdb46e0aa0d68611da584dc4b16d8057bc25e"
|
|
skip_extraction="scrcpy-server-v${version}.jar"
|
|
|
|
post_install() {
|
|
vinstall ${XBPS_SRCDISTDIR}/scrcpy-${version}/scrcpy-server-v${version}.jar \
|
|
644 /usr/share/scrcpy/
|
|
}
|