Package Details: libiio-git v0.15.r0.g6ecff5d-1

Git Clone URL: https://aur.archlinux.org/libiio-git.git (read-only, click to copy)
Package Base: libiio-git
Description: Library for interfacing with IIO devices
Upstream URL: https://github.com/analogdevicesinc/libiio
Licenses: LGPL2.1
Conflicts: libiio
Provides: libiio
Submitter: linkmauve
Maintainer: darsor
Last Packager: darsor
Votes: 1
Popularity: 0.000000
First Submitted: 2016-05-20 20:51 (UTC)
Last Updated: 2018-07-11 05:14 (UTC)

Required by (12)

Sources (1)

Latest Comments

EndlessEden commented on 2021-08-27 19:12 (UTC) (edited on 2021-08-27 19:46 (UTC) by EndlessEden)

Please remove the proceeding "v" in the version. it confuses package manager, and gets treated as if versioning is greater than 0.64. breaking compatibility.

please add "'libiio.so'" to the provides, as applications link directly against it and its a dependency. (examples being libad9361)

please add -DCMAKE_BUILD_TYPE=none \ -DMATLAB_BINDINGS=ON \ -DPYTHON_BINDINGS=ON \ -DWITH_MAN=ON \

to be compliant with arch maintained version.

darsor commented on 2018-07-11 05:18 (UTC)

@potatoe, thanks for looking into that, you are correct. I've added the CMake option in the PKGBUILD. Test it out, and let me know if it still doesn't work.

potatoe commented on 2018-07-10 15:02 (UTC)

The MATLAB bindings seem to be incompatible with DESTDIR builds and cause the entire packaging step to just hang (make install tries to have matlab run an installation script in /usr/share/libiio/matlab, matlab can't find it, matlab hangs). Unfortunately the matlab bindings are automatically enabled if cmake detects matlab is installed.

It would be great if you could add a '-DMATLAB_BINDINGS=OFF \' line to the cmake options in the PKGBUILD to make this able to build on machines with matlab in the path.

darsor commented on 2018-02-03 22:23 (UTC) (edited on 2018-02-03 22:25 (UTC) by darsor)

This package was useful for installing libiio on my raspberry pi, but I had to modify the PKGBUILD a bit. It's missing some important things.

I created a modified PKGBUILD here: https://gist.github.com/darsor/a0c405f3c20dbcf657935067b563de13

Here's what I changed: 1. Added the package description 2. Added armv6h architecture (for raspberry pi 2) 3. Changed the URL to point to the upstream github page 4. Added the license 5. Added provides/conflicts for libiio (so you can't have libiio and libiio-git installed at the same time) 6. Added all the dependencies.

The build process is unchanged. Please update the PKGBUILD.