* [Buildroot] [PATCH] package/libiio: bump to version v0.23
@ 2021-08-23 8:43 Paul Cercueil
2021-08-24 21:54 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Paul Cercueil @ 2021-08-23 8:43 UTC (permalink / raw)
To: buildroot; +Cc: Paul Cercueil, michael.hennerich
Bump to the upstream version v0.23.
In versions > 0.21, the CMake script doesn't auto-enable features
according to what it detects in the environment; options have to be
explicitely enabled. Update the libiio.mk script accordingly.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
package/libiio/libiio.hash | 2 +-
package/libiio/libiio.mk | 12 +++++++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/package/libiio/libiio.hash b/package/libiio/libiio.hash
index dd85ffa695..b0a901ca98 100644
--- a/package/libiio/libiio.hash
+++ b/package/libiio/libiio.hash
@@ -1,3 +1,3 @@
# Locally calculated
-sha256 81c414d5c47b715d9bc9275b9fabbfd9e9483e60c035f3001b5977932049595d libiio-0.19.tar.gz
+sha256 df1577740ea93dca732e7d7c04786600cb083117901dee793f3d38980754af00 libiio-0.23.tar.gz
sha256 102900208eef27b766380135906d431dba87edaa7ec6aa72e6ebd3dd67f3a97b COPYING.txt
diff --git a/package/libiio/libiio.mk b/package/libiio/libiio.mk
index af5b27ba5f..aec251e9a1 100644
--- a/package/libiio/libiio.mk
+++ b/package/libiio/libiio.mk
@@ -4,7 +4,7 @@
#
################################################################################
-LIBIIO_VERSION = 0.19
+LIBIIO_VERSION = 0.23
LIBIIO_SITE = $(call github,analogdevicesinc,libiio,v$(LIBIIO_VERSION))
LIBIIO_INSTALL_STAGING = YES
LIBIIO_LICENSE = LGPL-2.1+
@@ -54,9 +54,19 @@ else
LIBIIO_CONF_OPTS += -DWITH_IIOD_USBD=OFF
endif
+ifeq ($(BR2_PACKAGE_LIBAIO),y)
+LIBIIO_DEPENDENCIES += libaio
+LIBIIO_CONF_OPTS += -DWITH_AIO=ON
+else
+LIBIIO_CONF_OPTS += -DWITH_AIO=OFF
+endif
+
# Avahi support in libiio requires avahi-client, which needs avahi-daemon and dbus
ifeq ($(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_DBUS),yy)
LIBIIO_DEPENDENCIES += avahi
+LIBIIO_CONF_OPTS += -DHAVE_DNS_SD=ON
+else
+LIBIIO_CONF_OPTS += -DHAVE_DNS_SD=OFF
endif
ifeq ($(BR2_PACKAGE_LIBIIO_BINDINGS_PYTHON),y)
--
2.32.0
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH] package/libiio: bump to version v0.23
2021-08-23 8:43 [Buildroot] [PATCH] package/libiio: bump to version v0.23 Paul Cercueil
@ 2021-08-24 21:54 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2021-08-24 21:54 UTC (permalink / raw)
To: Paul Cercueil; +Cc: buildroot, michael.hennerich
On Mon, 23 Aug 2021 09:43:03 +0100
Paul Cercueil <paul@crapouillou.net> wrote:
> Bump to the upstream version v0.23.
>
> In versions > 0.21, the CMake script doesn't auto-enable features
> according to what it detects in the environment; options have to be
> explicitely enabled. Update the libiio.mk script accordingly.
>
> Signed-off-by: Paul Cercueil <paul@crapouillou.net>
> ---
> package/libiio/libiio.hash | 2 +-
> package/libiio/libiio.mk | 12 +++++++++++-
> 2 files changed, 12 insertions(+), 2 deletions(-)
Applied to next, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-08-24 21:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-23 8:43 [Buildroot] [PATCH] package/libiio: bump to version v0.23 Paul Cercueil
2021-08-24 21:54 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.