30 lines
1.0 KiB
Bash
30 lines
1.0 KiB
Bash
# Template file for 'iio-sensor-proxy'
|
|
pkgname=iio-sensor-proxy
|
|
version=3.5
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-Dsystemdsystemunitdir=/usr/lib/systemd/system/
|
|
-Dgeoclue-user=_geoclue2"
|
|
hostmakedepends="pkg-config glib-devel libxml2"
|
|
makedepends="libgudev-devel polkit-devel"
|
|
checkdepends="python3-dbusmock python3-psutil umockdev-devel gtk+3-devel"
|
|
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"
|
|
changelog="https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/raw/master/NEWS"
|
|
distfiles="https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/archive/${version}/${pkgname}-${version}.tar.gz"
|
|
checksum=8689425f2287626a95d95b1e1e5b62e497d09dd08cf411084ed22166d4a49da5
|
|
|
|
if [ "$XBPS_CHECK_PKGS" ]; then
|
|
configure_args+=" -Dtests=true -Dgtk-tests=true"
|
|
fi
|
|
|
|
post_patch() {
|
|
vsed -i -e 's/cls.has_fr = True/cls.has_fr = False/' tests/integration-test.py
|
|
}
|
|
|
|
post_install() {
|
|
vsv iio-sensor-proxy
|
|
}
|