From b19957052e09786df89a96befd2270a44b4f5670 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Mon, 25 Mar 2019 15:05:26 +0100 Subject: 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 Signed-off-by: Khem Raj --- meta-oe/recipes-support/libgpiod/libgpiod_0.3.3.bb | 2 ++ meta-oe/recipes-support/libgpiod/libgpiod_1.2.1.bb | 16 ---------------- meta-oe/recipes-support/libgpiod/libgpiod_1.3.bb | 17 +++++++++++++++++ 3 files changed, 19 insertions(+), 16 deletions(-) delete mode 100644 meta-oe/recipes-support/libgpiod/libgpiod_1.2.1.bb create mode 100644 meta-oe/recipes-support/libgpiod/libgpiod_1.3.bb diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_0.3.3.bb b/meta-oe/recipes-support/libgpiod/libgpiod_0.3.3.bb index 09fb65a082..96615ebf24 100644 --- a/meta-oe/recipes-support/libgpiod/libgpiod_0.3.3.bb +++ b/meta-oe/recipes-support/libgpiod/libgpiod_0.3.3.bb @@ -1,4 +1,6 @@ require libgpiod.inc +PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev" + SRC_URI[md5sum] = "2aa1e1a80c3c919ae142ab9a55fb59ca" SRC_URI[sha256sum] = "b773e557af1a497f786825462a776b7bf90168e67ee0a5bc5d2473a5674dc38c" diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_1.2.1.bb b/meta-oe/recipes-support/libgpiod/libgpiod_1.2.1.bb deleted file mode 100644 index d7fd55d797..0000000000 --- a/meta-oe/recipes-support/libgpiod/libgpiod_1.2.1.bb +++ /dev/null @@ -1,16 +0,0 @@ -require libgpiod.inc - -DEPENDS += "autoconf-archive-native" - -SRC_URI[md5sum] = "e6c222512a0d1994a069ebfd2e0a56fd" -SRC_URI[sha256sum] = "736d8b511ad247c2acb01b592f2bbe5e757e14e1d8347b2d80683081ab4b31b8" - -PACKAGECONFIG[cxx] = "--enable-bindings-cxx,--disable-bindings-cxx" - -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}" 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}" -- cgit 1.2.3-korg