aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libgpiod/libgpiod_1.3.bb
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2019-03-25 15:05:26 +0100
committerKhem Raj <raj.khem@gmail.com>2019-03-26 09:43:57 -0700
commitb19957052e09786df89a96befd2270a44b4f5670 (patch)
treebcfa3c19a51db615ab7aa6dfc482a24df1e789e0 /meta-oe/recipes-support/libgpiod/libgpiod_1.3.bb
parentcea36fd86db622818b9285fd42c8a4c0918e7d43 (diff)
downloadmeta-openembedded-contrib-b19957052e09786df89a96befd2270a44b4f5670.tar.gz
libgpiod: bump version to v1.3
There are several new features in this release. The one that impacts the recipe is the option to install the test executable to bindir using the new options (--enable-install-tests). This requires separate PACKAGECONFIG entries for 0.x and 1.x series. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/libgpiod/libgpiod_1.3.bb')
-rw-r--r--meta-oe/recipes-support/libgpiod/libgpiod_1.3.bb17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_1.3.bb b/meta-oe/recipes-support/libgpiod/libgpiod_1.3.bb
new file mode 100644
index 0000000000..e513a33bda
--- /dev/null
+++ b/meta-oe/recipes-support/libgpiod/libgpiod_1.3.bb
@@ -0,0 +1,17 @@
+require libgpiod.inc
+
+DEPENDS += "autoconf-archive-native"
+
+SRC_URI[md5sum] = "9f7530a5d56f070ba0af78d6ba077973"
+SRC_URI[sha256sum] = "6ec837f23e8f2196e5976dec4ac81403170830075e7f33ede1394eaf67f2e962"
+
+PACKAGECONFIG[cxx] = "--enable-bindings-cxx,--disable-bindings-cxx"
+PACKAGECONFIG[tests] = "--enable-tests --enable-install-tests,--disable-tests --disable-install-tests,kmod udev"
+
+PACKAGECONFIG[python3] = "--enable-bindings-python,--disable-bindings-python,python3"
+inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3native', '', d)}
+
+PACKAGES =+ "${PN}-python"
+FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"
+RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '',d)}"
+RRECOMMENDS_${PN}-python += "${RRECOMMENDS_PYTHON}"