From 92a9a3adda432ad2b7af58e08f5493ed6dc81196 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 22 Sep 2023 11:16:57 +0100 Subject: gentoo auto-resync : 22:09:2023 - 11:16:57 --- dev-libs/libgpiod/Manifest | 6 +++- dev-libs/libgpiod/libgpiod-1.6.4.ebuild | 52 ++++++++++++++++++++++++++++++ dev-libs/libgpiod/libgpiod-2.0.2.ebuild | 56 +++++++++++++++++++++++++++++++++ dev-libs/libgpiod/metadata.xml | 5 ++- 4 files changed, 117 insertions(+), 2 deletions(-) create mode 100644 dev-libs/libgpiod/libgpiod-1.6.4.ebuild create mode 100644 dev-libs/libgpiod/libgpiod-2.0.2.ebuild (limited to 'dev-libs/libgpiod') diff --git a/dev-libs/libgpiod/Manifest b/dev-libs/libgpiod/Manifest index 4c39b219dc03..34d031657598 100644 --- a/dev-libs/libgpiod/Manifest +++ b/dev-libs/libgpiod/Manifest @@ -1,3 +1,7 @@ DIST libgpiod-1.6.3.tar.xz 326068 BLAKE2B eda5409f2db3914ede92690589643211eca3002f8dc53a7c48213602f28158084c8eb8061319923f7a51c7d91650ff58b81b059323b5b9133a28b0bb04f6904d SHA512 f7e48662d02904f3f25976d61aa2cf4af0b8a52f65f184f23dfb6916bde9b86634b211f2696d3459a4f902ba5a79621b2fc47d18d487fd7a159018fe8933e370 +DIST libgpiod-1.6.4.tar.xz 334552 BLAKE2B 3bf52dab263638967e0f59c858e22f3d8ec1c9565ba1edd665dff580a883fbc6aa49a944e6df4da8fca9c2df873e222ed4e055c9792ee27d4562b3c2d0c65b79 SHA512 23ea27147039ae34505263dbfbb3ca9985fc671d26e489ccaf150543d4e853f709393f46a8a5a1e682fa91378163bd2db6c689159ef73c3a8d1eeea422eacda0 +DIST libgpiod-2.0.2.tar.xz 408672 BLAKE2B aa63edc12ad4a473dcf753160d4c6d8b1ebe7b99afe6fa60b968975e10f943d57bd75ff039732d3c26be6ff5e044ce8e0638ea3e21625e4d298b6005bf442a3a SHA512 3e92fe8b52da20abc89dd857a10f0e7fef77663a7a6cbcd7471f49843d54e9a053fa150a3f5b200f220a1a40c2ded010c271deba796fbc0775010d980a7083f1 EBUILD libgpiod-1.6.3-r4.ebuild 1175 BLAKE2B 923b428c143c3640f71a66f1ecde97a49c6633437f445b19a83e40138e21147a4a653eeeefbe375ede291a1736823fa7b3bfeb5eae81961e7a8006add6db0336 SHA512 5ec466695703f6a6c2bc2a7bd852cbcace62e37b4dbe6dc7fc7897f483f7b77123bede6f8cea95dcc61a68a4a894ead137bfbf7c692b31386b21f16ca2e64ae3 -MISC metadata.xml 259 BLAKE2B cd6923eb9900a952cbfe62b2f397eec3ba85bbdd3763d7020496563e51dc5878e51e5ccafe8c390e1360c4b3b2e46b3ed21d70b52473b3f8742fad965b5271bd SHA512 bf1c129200494a2e544056491b4204d671bd460d29a93d5adfe0f31842a9d3d2c8521f9d24c3d5b24f469f7205beb441e8ae11c5074926883daadc6bff622cf5 +EBUILD libgpiod-1.6.4.ebuild 1179 BLAKE2B b17f3ab9ae5c3880edd03cc0fe4da74fc03cb0d032bb1a072bcedbb65427ac6a15d7dd81756d451ee190b648c5e2d8bc7383eca58a0328a52da44c743192bc2a SHA512 110908ffd82bd2569cb4020346f09f7931fcc6479e5ad91208de2fd43fd4df45f0880d347f72caeae45823d54e558cf23f88353d4309954794c6c58f86ca7284 +EBUILD libgpiod-2.0.2.ebuild 1273 BLAKE2B 867f4f8381848f9cd1b9e092356f9bf9d59c6f6bac78a159209ac5365a9d630214ef1f78e517daffd341e100b3c94c1321ced9b0e15fd1ad6eed70a945919a8b SHA512 bd3a74a7733b3967820dd7ffc2353ecc7ef12df700f9da20f40de9c0286393acab5fb1ff2e7237d3e8ac85f6e609428216a13413bccadad4db7ebfcdc754d81d +MISC metadata.xml 332 BLAKE2B 14e5a292a2b590adc7cb643ba4c58b997e5573719383e4b4f58583f992ebff4fbb1455c9a2e71665f739c112c9eb8311879f545f5b770d57d176d013e08e103d SHA512 45f341d7b87c774730451fb583b03347efe2f69188a38c8ad9690cf690d96d65c3d85c42c0b1d80e5a0a63ea749df879b2b71b7f44d124afeaeeb628e2fbec05 diff --git a/dev-libs/libgpiod/libgpiod-1.6.4.ebuild b/dev-libs/libgpiod/libgpiod-1.6.4.ebuild new file mode 100644 index 000000000000..89067dc6f4b6 --- /dev/null +++ b/dev-libs/libgpiod/libgpiod-1.6.4.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-info + +DESCRIPTION="C library and tools for interacting with the linux GPIO character device" +HOMEPAGE="https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/" +SRC_URI="https://mirrors.edge.kernel.org/pub/software/libs/libgpiod/${P}.tar.xz" + +LICENSE="LGPL-2.1" +# Reflects the ABI of libgpiod.so +SLOT="0/2" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +IUSE="+tools cxx python test" +RESTRICT="!test? ( test )" + +# --enable-tests enable libgpiod tests [default=no] +# --enable-bindings-cxx enable C++ bindings [default=no] +# --enable-bindings-python +DEPEND=" + test? ( + >=dev-libs/glib-2.50 + >=sys-apps/kmod-18 + >=sys-apps/util-linux-2.33.1 + >=virtual/libudev-215 + ) +" + +pkg_setup() { + CONFIG_CHECK="~GPIO_CDEV_V1" + linux-info_pkg_setup +} + +src_configure() { + local myconf=( + $(use_enable tools) + $(use_enable cxx bindings-cxx) + $(use_enable test tests) + $(use_enable python bindings-python) + ) + + econf "${myconf[@]}" +} + +src_install() { + default + + find "${D}" -name '*.la' -type f -delete || die + find "${D}" -name "*.a" -delete || die +} diff --git a/dev-libs/libgpiod/libgpiod-2.0.2.ebuild b/dev-libs/libgpiod/libgpiod-2.0.2.ebuild new file mode 100644 index 000000000000..94df11b5ec4b --- /dev/null +++ b/dev-libs/libgpiod/libgpiod-2.0.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-info + +DESCRIPTION="C library and tools for interacting with the linux GPIO character device" +HOMEPAGE="https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/" +SRC_URI="https://mirrors.edge.kernel.org/pub/software/libs/libgpiod/${P}.tar.xz" + +LICENSE="LGPL-2.1" +# Reflects the ABI of libgpiod.so +SLOT="0/3" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +IUSE="+tools cxx python test" +RESTRICT="!test? ( test )" + +# --enable-tests enable libgpiod tests [default=no] +# --enable-bindings-cxx enable C++ bindings [default=no] +# --enable-bindings-python +# --enable-bindings-rust +DEPEND=" + test? ( + >=dev-libs/glib-2.50 + >=sys-apps/kmod-18 + >=sys-apps/util-linux-2.33.1 + >=virtual/libudev-215 + ) +" + +pkg_setup() { + CONFIG_CHECK="~GPIO_CDEV_V1" + linux-info_pkg_setup +} + +src_configure() { + local myconf=( + $(use_enable tools) + $(use_enable cxx bindings-cxx) + $(use_enable test tests) + $(use_enable python bindings-python) + --enable-examples + --disable-profiling + --disable-bindings-rust + ) + + econf "${myconf[@]}" +} + +src_install() { + default + + find "${D}" -name '*.la' -type f -delete || die + find "${D}" -name "*.a" -delete || die +} diff --git a/dev-libs/libgpiod/metadata.xml b/dev-libs/libgpiod/metadata.xml index 259f300149e2..08ed90c17a3a 100644 --- a/dev-libs/libgpiod/metadata.xml +++ b/dev-libs/libgpiod/metadata.xml @@ -1,7 +1,10 @@ - + + dlan@gentoo.org + Yixun Lan + Build some useful gpio tools that use libgpiod. -- cgit v1.2.3