28 lines
971 B
Bash
28 lines
971 B
Bash
# Template file for 'antimicrox'
|
|
pkgname=antimicrox
|
|
version=3.3.2
|
|
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="https://github.com/AntiMicroX/antimicrox/archive/${version}.tar.gz"
|
|
checksum=9f5b51655fb5bac9259e553bc3f001f4d31088f83ee0f90f0c136e58c10e9724
|
|
|
|
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"
|
|
}
|