summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libgpiod/libgpiod_2.0.bb
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-03-02 16:44:42 +0100
committerKhem Raj <raj.khem@gmail.com>2023-03-02 17:45:37 -0800
commitdfcbbdfc486179f6ed0d4ea9b777236b20f7fc45 (patch)
tree34859357c451d927927879d702ce8cd3c986f52f /meta-oe/recipes-support/libgpiod/libgpiod_2.0.bb
parentdd5b211eaea39806cfef9bee0d5f5b074bc61cf5 (diff)
downloadmeta-openembedded-dfcbbdfc486179f6ed0d4ea9b777236b20f7fc45.tar.gz
libgpiod: update to v2.0
The final v2.0 release is out so update the recipe. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/libgpiod/libgpiod_2.0.bb')
-rw-r--r--meta-oe/recipes-support/libgpiod/libgpiod_2.0.bb21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_2.0.bb b/meta-oe/recipes-support/libgpiod/libgpiod_2.0.bb
new file mode 100644
index 000000000..becc9adb2
--- /dev/null
+++ b/meta-oe/recipes-support/libgpiod/libgpiod_2.0.bb
@@ -0,0 +1,21 @@
1require libgpiod.inc
2
3LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later & CC-BY-SA-4.0"
4LIC_FILES_CHKSUM = " \
5 file://LICENSES/GPL-2.0-or-later.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
6 file://LICENSES/LGPL-2.1-or-later.txt;md5=4b54a1fd55a448865a0b32d41598759d \
7 file://LICENSES/CC-BY-SA-4.0.txt;md5=fba3b94d88bfb9b81369b869a1e9a20f \
8"
9
10SRC_URI[sha256sum] = "f74cbf82038b3cb98ebeb25bce55ee2553be28194002d2a9889b9268cce2dd07"
11
12S = "${WORKDIR}/libgpiod-2.0"
13
14# We must enable gpioset-interactive for all gpio-tools tests to pass
15PACKAGECONFIG[tests] = "--enable-tests --enable-gpioset-interactive,--disable-tests,kmod util-linux glib-2.0 catch2 libedit"
16PACKAGECONFIG[gpioset-interactive] = "--enable-gpioset-interactive,--disable-gpioset-interactive,libedit"
17
18FILES:${PN}-tools += "${bindir}/gpionotify"
19FILES:${PN}-ptest += "${libdir}/libgpiosim.so.*"
20
21RRECOMMENDS:${PN}-ptest += "kernel-module-gpio-sim"