05439148e4
* First patch for getting data from RAW sensors. (Purism) * Second patch is for mount-matrix passing. (digetx) Useful for most Tegra devices, including AL3010 sensor. First patch merged, second patch queued for a merge. Ref: https://github.com/hadess/iio-sensor-proxy/pull/292 Ref: https://github.com/hadess/iio-sensor-proxy/pull/299 Signed-off-by: David Heidelberg <david@ixit.cz>
50 lines
1.8 KiB
Text
50 lines
1.8 KiB
Text
# Forked from Alpine for RAW light sensor input and rotation matrix patches
|
|
pkgname=iio-sensor-proxy
|
|
pkgver=9999
|
|
_pkgver=2.8
|
|
pkgrel=2
|
|
pkgdesc="IIO sensors to D-Bus proxy"
|
|
url="https://developer.gnome.org/iio-sensor-proxy/1.0/"
|
|
arch="all"
|
|
license="GPL-2.0-or-later"
|
|
makedepends="eudev-dev libgudev-dev glib-dev autoconf automake libtool gtk+3.0-dev"
|
|
subpackages="$pkgname-doc $pkgname-openrc"
|
|
source="https://github.com/hadess/iio-sensor-proxy/releases/download/$_pkgver/iio-sensor-proxy-$_pkgver.tar.xz
|
|
iio-sensor-proxy.initd
|
|
0001-Revert-build-Check-for-.pc-files-before-using-them.patch
|
|
292.patch
|
|
299.patch"
|
|
builddir="$srcdir/$pkgname-$_pkgver"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
autoreconf -if
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var \
|
|
--with-geoclue-user=geoclue
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
|
|
}
|
|
|
|
sha512sums="2631ca1bc3fc115d392772010c0e879750cdb1f8d3bb247483527481232c9107212d2c8cbf3bdc30942ef3bd34f4e5c56f168367cafcb8d6381b47ff908014c8 iio-sensor-proxy-2.8.tar.xz
|
|
b0f2875074ff1211faeca3e29b32f60c5604ca31b6dac3d4d99f057ed32e2453aefc4495c34cf3885badacc7168b6c032f3d084052db52977bbe8438e76eac5f iio-sensor-proxy.initd
|
|
5480763f85cb22fd7b1b791609baa3a4b251fc30a025b40aee2de584fa114686bf181a87a249ba4b0cb9080881ff55498baa7e496513bc39fa1af7c43253c465 0001-Revert-build-Check-for-.pc-files-before-using-them.patch
|
|
4848226fc95dfb89b3e2fd49268b69fef12c56b59feb02743c608aa2c707dadfe782717d9006a40db0158d6ef041df2bf24907912e311f4840ee0bbb585e6dad 292.patch
|
|
8785adb63b35bcd12028607dbc813779d4091629da79f35e8519b782ca5c3ca3fc960ea2ca7d73492e22ec7fad08cf978b0d14df5a5ee4afdec20078a7b4ac75 299.patch"
|