void-packages/srcpkgs/libratbag/template

41 lines
1.0 KiB
Bash

# Template file for 'libratbag'
pkgname=libratbag
version=0.9.905
revision=1
build_style=meson
configure_args="-Dtests=false -Dsystemd-unit-dir=''
-Dsystemd=false"
hostmakedepends="pkg-config git swig"
makedepends="elogind-devel eudev-libudev-devel libglib-devel libevdev-devel
python3-devel"
depends="dbus python3-evdev python3-gobject"
short_desc="DBus daemon to configure gaming mice"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="https://github.com/libratbag/libratbag"
distfiles="https://github.com/libratbag/libratbag/archive/v${version}.tar.gz"
checksum=d8a9a4b90025456700336c4e84a06edfce8deffeb71779ea22e00c27b0fda244
LDFLAGS="-lm"
case "$XBPS_TARGET_MACHINE" in
x86_64*|i686*) ;;
*-musl) broken="Requires gobject introspection" ;;
* ) ;;
esac
post_install() {
vsv ratbagd
vlicense COPYING
}
libratbag-devel_package() {
depends="libratbag-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}