All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH 1/2] libgpiod: update to 1.1
@ 2018-05-23 18:23 Martin Hundebøll
  2018-05-23 18:23 ` [meta-oe][PATCH 2/2] libgpiod: add packageconfig for python bindings Martin Hundebøll
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Hundebøll @ 2018-05-23 18:23 UTC (permalink / raw)
  To: openembedded-devel

Add native dependency on autoconf-archive as it is now used by the
libgpiod autotools.

Signed-off-by: Martin Hundebøll <mnhu@prevas.dk>
---
 meta-oe/recipes-support/libgpiod/libgpiod_1.0.1.bb | 4 ----
 meta-oe/recipes-support/libgpiod/libgpiod_1.1.bb   | 6 ++++++
 2 files changed, 6 insertions(+), 4 deletions(-)
 delete mode 100644 meta-oe/recipes-support/libgpiod/libgpiod_1.0.1.bb
 create mode 100644 meta-oe/recipes-support/libgpiod/libgpiod_1.1.bb

diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_1.0.1.bb b/meta-oe/recipes-support/libgpiod/libgpiod_1.0.1.bb
deleted file mode 100644
index 51499fd72..000000000
--- a/meta-oe/recipes-support/libgpiod/libgpiod_1.0.1.bb
+++ /dev/null
@@ -1,4 +0,0 @@
-require libgpiod.inc
-
-SRC_URI[md5sum] = "2ca0c3eb17d69e367b6f6a109ca86e41"
-SRC_URI[sha256sum] = "972924195367f5fb045c023d65340c4b7dfc8764499516be446553865208dedc"
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_1.1.bb b/meta-oe/recipes-support/libgpiod/libgpiod_1.1.bb
new file mode 100644
index 000000000..c2e11ad38
--- /dev/null
+++ b/meta-oe/recipes-support/libgpiod/libgpiod_1.1.bb
@@ -0,0 +1,6 @@
+require libgpiod.inc
+
+DEPENDS += "autoconf-archive-native"
+
+SRC_URI[md5sum] = "80237a047a9d653a14c5d71e5ce9d641"
+SRC_URI[sha256sum] = "9758466468a7ef3f5e30c182c1303abef6241e665cda4d82a64328a7474838c1"
-- 
2.17.0



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

* [meta-oe][PATCH 2/2] libgpiod: add packageconfig for python bindings
  2018-05-23 18:23 [meta-oe][PATCH 1/2] libgpiod: update to 1.1 Martin Hundebøll
@ 2018-05-23 18:23 ` Martin Hundebøll
  2018-06-06  7:47   ` Bartosz Golaszewski
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Hundebøll @ 2018-05-23 18:23 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Martin Hundebøll <mnhu@prevas.dk>
---
 meta-oe/recipes-support/libgpiod/libgpiod_1.1.bb | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_1.1.bb b/meta-oe/recipes-support/libgpiod/libgpiod_1.1.bb
index c2e11ad38..1bda8bc3a 100644
--- a/meta-oe/recipes-support/libgpiod/libgpiod_1.1.bb
+++ b/meta-oe/recipes-support/libgpiod/libgpiod_1.1.bb
@@ -4,3 +4,11 @@ DEPENDS += "autoconf-archive-native"
 
 SRC_URI[md5sum] = "80237a047a9d653a14c5d71e5ce9d641"
 SRC_URI[sha256sum] = "9758466468a7ef3f5e30c182c1303abef6241e665cda4d82a64328a7474838c1"
+
+PACKAGECONFIG[python3] = "--enable-bindings-python,--disable-bindings-python,python3,python3-core"
+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} += "${RRECOMMENDS_PYTHON}"
-- 
2.17.0



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

* Re: [meta-oe][PATCH 2/2] libgpiod: add packageconfig for python bindings
  2018-05-23 18:23 ` [meta-oe][PATCH 2/2] libgpiod: add packageconfig for python bindings Martin Hundebøll
@ 2018-06-06  7:47   ` Bartosz Golaszewski
  0 siblings, 0 replies; 3+ messages in thread
From: Bartosz Golaszewski @ 2018-06-06  7:47 UTC (permalink / raw)
  To: Martin Hundebøll; +Cc: openembedded-devel

2018-05-23 20:23 GMT+02:00 Martin Hundebøll <mnhu@prevas.dk>:
> Signed-off-by: Martin Hundebøll <mnhu@prevas.dk>
> ---
>  meta-oe/recipes-support/libgpiod/libgpiod_1.1.bb | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_1.1.bb b/meta-oe/recipes-support/libgpiod/libgpiod_1.1.bb
> index c2e11ad38..1bda8bc3a 100644
> --- a/meta-oe/recipes-support/libgpiod/libgpiod_1.1.bb
> +++ b/meta-oe/recipes-support/libgpiod/libgpiod_1.1.bb
> @@ -4,3 +4,11 @@ DEPENDS += "autoconf-archive-native"
>
>  SRC_URI[md5sum] = "80237a047a9d653a14c5d71e5ce9d641"
>  SRC_URI[sha256sum] = "9758466468a7ef3f5e30c182c1303abef6241e665cda4d82a64328a7474838c1"
> +
> +PACKAGECONFIG[python3] = "--enable-bindings-python,--disable-bindings-python,python3,python3-core"
> +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} += "${RRECOMMENDS_PYTHON}"
> --
> 2.17.0
>

Thanks! Could you maybe do the same for C++ bindings?

Bart


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

end of thread, other threads:[~2018-06-06  7:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-23 18:23 [meta-oe][PATCH 1/2] libgpiod: update to 1.1 Martin Hundebøll
2018-05-23 18:23 ` [meta-oe][PATCH 2/2] libgpiod: add packageconfig for python bindings Martin Hundebøll
2018-06-06  7:47   ` Bartosz Golaszewski

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.