void-packages/srcpkgs/antimicrox/template

28 lines
942 B
Bash

# Template file for 'antimicrox'
pkgname=antimicrox
version=3.3.1
revision=1
build_style=cmake
hostmakedepends="pkg-config extra-cmake-modules itstool gettext qt5-qmake
qt5-host-tools"
makedepends="qt5-tools-devel SDL2-devel libXi-devel libXtst-devel libX11-devel
qt5-x11extras-devel"
short_desc="Map keyboard buttons and mouse controls to a gamepad"
maintainer="fosslinux <fosslinux@aussies.space>"
license="GPL-3.0-or-later"
homepage="https://github.com/AntiMicroX/antimicrox"
changelog="https://raw.githubusercontent.com/AntiMicroX/antimicrox/master/CHANGELOG.md"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=df1df587691568190a1cfa024f85e842c3883f9c58e6a7e883d42976584f728d
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" libexecinfo-devel"
configure_args+=" -DCMAKE_EXE_LINKER_FLAGS=-lexecinfo"
fi
antimicro_package() {
build_style=meta
depends="${sourcepkg}"
short_desc+=" - transitional dummy package"
}