void-packages/srcpkgs/antimicro/template

19 lines
636 B
Bash

# Template file for 'antimicro'
pkgname=antimicro
version=2.23
revision=1
build_style=cmake
configure_args="-DUSE_SDL_2=ON"
hostmakedepends="pkg-config itstool"
makedepends="qt5-tools-devel libXtst-devel SDL2-devel"
short_desc="GUI program used to map keyboard keys and mouse controls to a gamepad"
maintainer="7185 <7185@free.fr>"
license="GPL-3"
homepage="https://github.com/AntiMicro/antimicro"
distfiles="https://github.com/AntiMicro/antimicro/archive/${version}.tar.gz"
checksum=ef309170612da805992f9194f1973bf38a3174a0856856afedab67f9d927a9ef
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-tools-devel"
fi