2018-08-16 13:09:07 +02:00
|
|
|
# Template file for 'libratbag'
|
|
|
|
pkgname=libratbag
|
2018-09-05 04:39:35 +02:00
|
|
|
version=0.9.903
|
2018-08-16 13:09:07 +02:00
|
|
|
revision=1
|
|
|
|
build_style=meson
|
2018-09-05 04:39:35 +02:00
|
|
|
configure_args="-Dtests=false -Dsystemd-unit-dir=''
|
2018-08-16 13:09:07 +02:00
|
|
|
-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"
|
2018-09-05 04:39:35 +02:00
|
|
|
checksum=7d29ff79700a8dbd7bba257f4d86d281808d2f1005799eb0653231df3590f6c5
|
2018-08-16 13:09:07 +02:00
|
|
|
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|