[arch-commits] Commit in libiio/trunk (PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Sat Mar 21 18:38:41 UTC 2020


    Date: Saturday, March 21, 2020 @ 18:38:40
  Author: ffy00
Revision: 602988

add python bindings (0.19-2)

Modified:
  libiio/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-21 18:38:32 UTC (rev 602987)
+++ PKGBUILD	2020-03-21 18:38:40 UTC (rev 602988)
@@ -2,13 +2,14 @@
 
 pkgname=libiio
 pkgver=0.19
-pkgrel=1
+pkgrel=2
 pkgdesc="Interface to the Linux Industrial Input/Output (IIO) Subsystem"
 arch=('x86_64')
 url="https://github.com/analogdevicesinc/libiio"
 license=('LGPL2.1')
 depends=('glibc' 'libaio' 'libserialport' 'libusb-1.0.so' 'libxml2')
-makedepends=('cmake')
+optdepends=('python: Python bindings')
+makedepends=('cmake' 'python')
 provides=('libiio.so')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/analogdevicesinc/${pkgname}/archive/v${pkgver}.tar.gz")
 sha512sums=('c904f517f95919caeedc0d1ddf80003233df2296364771216ef853d3b92f273ae7cdf4e7f972fa88f1483b25e762f749efe5117fa3f2b026b3adc5c5ab403b0a')
@@ -21,6 +22,7 @@
         -DUDEV_RULES_INSTALL_DIR=/usr/lib/udev/rules.d \
         -DSYSTEMD_UNIT_INSTALL_DIR=/usr/lib/systemd/system \
         -DWITH_SYSTEMD=ON \
+        -DPYTHON_BINDINGS=ON \
         -Bbuild \
         .
   make -C build VERBOSE=1



More information about the arch-commits mailing list