All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/libgpiod: bump version to 1.6
@ 2020-10-29 11:06 buildroot at heine.tech
  2020-10-29 12:50 ` Thomas Petazzoni
  2020-11-02 10:21 ` [Buildroot] [PATCH v2] package/libgpiod: bump version to 1.4.5 Michael Nosthoff
  0 siblings, 2 replies; 22+ messages in thread
From: buildroot at heine.tech @ 2020-10-29 11:06 UTC (permalink / raw)
  To: buildroot

From: Michael Nosthoff <buildroot@heine.tech>

* when kernel headers are <5.5 fall back to version 1.4.4
* set url to kernel.org as github is unmaintained and outdated

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
---
 package/libgpiod/Config.in     | 2 +-
 package/libgpiod/libgpiod.hash | 3 ++-
 package/libgpiod/libgpiod.mk   | 7 ++++++-
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/package/libgpiod/Config.in b/package/libgpiod/Config.in
index 63a7cb6e78..293eef6c89 100644
--- a/package/libgpiod/Config.in
+++ b/package/libgpiod/Config.in
@@ -5,7 +5,7 @@ config BR2_PACKAGE_LIBGPIOD
 	  This is a C library that abstracts the GPIO character
 	  device operations on linux.
 
-	  https://github.com/brgl/libgpiod
+	  https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/
 
 if BR2_PACKAGE_LIBGPIOD
 
diff --git a/package/libgpiod/libgpiod.hash b/package/libgpiod/libgpiod.hash
index f0009a7510..b05b4ae231 100644
--- a/package/libgpiod/libgpiod.hash
+++ b/package/libgpiod/libgpiod.hash
@@ -1,4 +1,5 @@
 # From https://www.kernel.org/pub/software/libs/libgpiod/sha256sums.asc
-sha256 21ae8fd1f8dafc2eb2ba50e652390cf533d21351419a7426255895cb52e21b1c  libgpiod-1.4.1.tar.xz
+sha256 f1cda2789e6a13a92aefc012a76e5a7cc57a1b402d66f71df8719ee314b67699  libgpiod-1.4.4.tar.xz
+sha256 62908023d59e8cbb9137ddd14deec50ced862d8f9b8749f288d3dbe7967151ef  libgpiod-1.6.tar.xz
 # Hash for license file
 sha256 ce64d5f7b49ea6d80fdb6d4cdee6839d1a94274f7493dc797c3b55b65ec8e9ed  COPYING
diff --git a/package/libgpiod/libgpiod.mk b/package/libgpiod/libgpiod.mk
index 2474ab90a2..d5b38a6149 100644
--- a/package/libgpiod/libgpiod.mk
+++ b/package/libgpiod/libgpiod.mk
@@ -4,7 +4,12 @@
 #
 ################################################################################
 
-LIBGPIOD_VERSION = 1.4.1
+# starting with 1.5 libgpiod depends on Headers >= 5.5
+ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_5),y)
+LIBGPIOD_VERSION = 1.6
+else
+LIBGPIOD_VERSION = 1.4.4
+endif
 LIBGPIOD_SOURCE = libgpiod-$(LIBGPIOD_VERSION).tar.xz
 LIBGPIOD_SITE = https://www.kernel.org/pub/software/libs/libgpiod
 LIBGPIOD_LICENSE = LGPL-2.1+
-- 
2.25.1

^ permalink raw reply related	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2020-12-02 16:57 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-29 11:06 [Buildroot] [PATCH] package/libgpiod: bump version to 1.6 buildroot at heine.tech
2020-10-29 12:50 ` Thomas Petazzoni
2020-10-29 13:06   ` Michael Nosthoff
2020-10-29 13:12     ` Bartosz Golaszewski
2020-10-29 13:13     ` Thomas Petazzoni
2020-10-29 13:41       ` Bartosz Golaszewski
2020-10-30  7:53         ` Michael Nosthoff
2020-10-30  8:19           ` Thomas Petazzoni
2020-10-30  8:42             ` Bartosz Golaszewski
2020-10-30  9:15               ` Thomas Petazzoni
2020-10-30  9:25                 ` Bartosz Golaszewski
2020-10-30  9:34                   ` Thomas Petazzoni
2020-10-30 10:16                     ` Bartosz Golaszewski
2020-10-30 10:41                       ` Thomas Petazzoni
2020-10-30 10:53                         ` Bartosz Golaszewski
2020-11-03 20:25                           ` Arnout Vandecappelle
2020-11-03 20:56                             ` Bartosz Golaszewski
2020-11-30 20:31                               ` Bartosz Golaszewski
2020-12-02 16:57                                 ` Nicolas Cavallari
2020-10-30  8:25           ` Bartosz Golaszewski
2020-11-02 10:21 ` [Buildroot] [PATCH v2] package/libgpiod: bump version to 1.4.5 Michael Nosthoff
2020-11-02 10:27   ` [Buildroot] [PATCH v3] " Michael Nosthoff

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.