24 lines
818 B
Bash
24 lines
818 B
Bash
# Template file for 'iio-sensor-proxy'
|
|
pkgname=iio-sensor-proxy
|
|
version=3.3
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-Dsystemdsystemunitdir=false"
|
|
hostmakedepends="gtk-doc pkg-config git gnome-common autoconf-archive glib-devel libtool"
|
|
makedepends="libgudev-devel gtk+3-devel"
|
|
checkdepends="dbus python3-dbus python3-psutil"
|
|
short_desc="IIO accelerometer sensor to input device proxy"
|
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://gitlab.freedesktop.org/hadess/iio-sensor-proxy"
|
|
distfiles="${homepage}/-/archive/${version}/${pkgname}-${version}.tar.gz"
|
|
checksum=3f761f3603b3c5b76125f96a48d4001c24f368b6021ba1e06414cac6a5d17c44
|
|
|
|
do_check() {
|
|
dbus-run-session ninja -C build test
|
|
}
|
|
post_install() {
|
|
vsv iio-sensor-proxy
|
|
mv $DESTDIR/usr/libexec/* $DESTDIR/usr/bin
|
|
}
|