summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libgpiod/libgpiod.inc
Commit message (Collapse)AuthorAgeFilesLines
* libgpiod: disable C++ tests for libgpiod v1.6.xBartosz Golaszewski2024-06-111-4/+0
| | | | | | | | | Catch2 recipe is moving to version 3 of the Catch2 API which will make the C++ tests in libgpiod uncompatible. libgpiod v2 as ported to the new interface but v1.6.x will not be so just disable building the C++ tests. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgpiod: update to v2.1Bartosz Golaszewski2023-11-031-3/+0
| | | | | | | | | | | This is a small release bringing in a bunch of improvements and a couple new interfaces. Details are available in NEWS. We need to move the code in recipes around a bit as the tests now use shunit2. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* remove unused AUTHOR variableMichael Opdenacker2023-08-031-1/+0
| | | | | | | | | No longer used in generating packages Also creates a possible confusion with the recipe maintainer name. Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgpiod: modify RDEPENDS for ptestJoe Slater2023-07-131-1/+1
| | | | | | | | | | | | | | The current use of RDEPENDS to add a dependency on bats results in the QA warning/error lib32-libgpiod package lib32-libgpiod-ptest-dev - suspicious values 'bats-dev' in RRECOMMENDS [multilib] when building lib32-libgpiod with ptest not enabled. We add the dependency only if ptest is enabled. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgpiod: add myself as maintainerBartosz Golaszewski2023-06-041-0/+1
| | | | | | | | | While RECIPE_MAINTAINER doesn't seem to be used anywhere, let's add it in hopes that it will at least make people Cc me on any recipe patches in the future. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgpiod: remove test executables from ${bindir}Bartosz Golaszewski2023-04-201-6/+7
| | | | | | | | | | | | There's no need to put the test executables into ${bindir} as they're already installed into ${PTEST_PATH}. This just pollutes $PATH. Future libgpiod releases will not install test binaries at all, leaving it to the library users. For now: remove them manually after installation. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgpiod: fold libgpiod-src.inc into libgpiod.incBartosz Golaszewski2023-04-141-3/+4
| | | | | | | | | Now that python3-gpiod fetches the sources from pypi, we no longer need to provide the SRC_URI in a separate include. Fold it into the libgpiod.inc used locally only. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgpiod: add a recipe for libgpiod v2.0-rc2Bartosz Golaszewski2023-02-181-0/+61
| | | | | | | | | | This is a recipe for libgpiod v2 release candidate. Let's put common bits and pieces into an .inc file and the source fetching into a separate include that will be later reused by the python bindings that for v2 will be moved into a separate recipe in meta-python. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgpiod: consolidate the recipe filesBartosz Golaszewski2020-10-051-19/+0
| | | | | | | | | | | | After dropping the support for v0.3.x, we no longer need the split into .bb and .inc files. Let's move the contents of libgpiod.inc into libgpiod_1.4.4.bb. While at it: do some refactoring: let's use ${BPN} in the URL, consolidate certain variables and add some explanatory comments. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgpiod: split c++ library to its own packageRasmus Villemoes2020-05-061-0/+3
| | | | | | | | | | | | | I need (some of) the gpiod tools in my initramfs. That, of course, pulls in the workhorse in the form of the libgpiod C library. But it also pulls in the C++ library which is cobundled with libgpiod, which in turn means that libstdc++ gets pulled in, adding about 2.5MB to the initramfs. Fix that by splitting the C++ library to its own package. Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgpiod: put gpio utils into an actual separate packageBartosz Golaszewski2019-11-171-4/+2
| | | | | | | | | | | | | | | | | | Currently tools are built conditionally depending on whether the corresponding PACKAGECONFIG option has been set and, although they live in a separate libgpiod-tools package, the user cannot simply select it - he has to additionally extend PACKAGECONFIG. While this makes sense for python and C++ bindings, the tools don't have any dependencies other the libgpiod. Make libgpiod-tools an actual stand-alone package: always build them but install them only if user selected libgpiod-tools. Disable setting tools in default PACKAGECONFIGS Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> s
* libgpiod: Enable cxx bindings by defaultJames Feist2019-06-151-3/+0
| | | | | | | | | | If we move the packageconfig settings from the shared inc file into the individual version recipes, we can enable the cxx bindings by default for the newer version of libgpiod. Signed-off-by: James Feist <james.feist@linux.intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgpiod: split recipe into .inc and .bb filesBartosz Golaszewski2018-05-011-0/+21
The build works the same for v0.x and v1.x series - leave only the hashes in the .bb file and put everything else into .inc. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Armin Kuster <akuster808@gmail.com>