40 lines
1.0 KiB
Bash
40 lines
1.0 KiB
Bash
# Template file for 'libratbag'
|
|
pkgname=libratbag
|
|
version=0.9.904
|
|
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=08a3255760b95dd491437060577c7a2a48cbf488cf859014778d712da64d7de2
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
x86_64*|i686*) ;;
|
|
*) broken="Requires gobject introspection"
|
|
esac
|
|
fi
|
|
|
|
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"
|
|
}
|
|
}
|