36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
# Template file for 'libratbag'
|
|
pkgname=libratbag
|
|
version=0.18
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-Dtests=false -Dsystemd-unit-dir=''
|
|
-Dsystemd=false -Db_ndebug=false"
|
|
hostmakedepends="pkg-config git swig"
|
|
makedepends="elogind-devel eudev-libudev-devel libglib-devel libevdev-devel
|
|
python3-devel json-glib-devel libunistring-devel"
|
|
depends="dbus python3-evdev python3-gobject"
|
|
checkdepends="dbus python3-gobject python3-evdev"
|
|
short_desc="DBus daemon to configure gaming mice"
|
|
maintainer="classabbyamp <void@placeviolette.net>"
|
|
license="MIT"
|
|
homepage="https://github.com/libratbag/libratbag"
|
|
distfiles="https://github.com/libratbag/libratbag/archive/v${version}.tar.gz"
|
|
checksum=8a7f8bf00c21ef5ad534e2804ed537f2fc6521a3932dd822c438e561a85a1bcd
|
|
make_check=extended # needs system dbus
|
|
make_check_pre="dbus-run-session"
|
|
|
|
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"
|
|
}
|
|
}
|