commit: f9eaf32074191f03dc152ff9456b5c44db17a392 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> AuthorDate: Thu Jul 21 14:54:23 2022 +0000 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> CommitDate: Thu Jul 21 14:54:49 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9eaf320
dev-libs/libgpiod: check for CONFIG_GPIO_CDEV_V1 in kernel config Closes: https://bugs.gentoo.org/807334 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org> .../libgpiod/{libgpiod-1.6.3.ebuild => libgpiod-1.6.3-r1.ebuild} | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/dev-libs/libgpiod/libgpiod-1.6.3.ebuild b/dev-libs/libgpiod/libgpiod-1.6.3-r1.ebuild similarity index 88% rename from dev-libs/libgpiod/libgpiod-1.6.3.ebuild rename to dev-libs/libgpiod/libgpiod-1.6.3-r1.ebuild index 8f3fe8c74ec2..a0b6d335709c 100644 --- a/dev-libs/libgpiod/libgpiod-1.6.3.ebuild +++ b/dev-libs/libgpiod/libgpiod-1.6.3-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit multilib-minimal +inherit linux-mod multilib-minimal DESCRIPTION="C library and tools for interacting with the linux GPIO character device" HOMEPAGE="https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/" @@ -20,6 +20,11 @@ RESTRICT="!test? ( test )" # --enable-bindings-cxx enable C++ bindings [default=no] # --enable-bindings-python +pkg_setup() { + CONFIG_CHECK="GPIO_CDEV_V1" + linux-mod_pkg_setup +} + multilib_src_configure() { local myconf=( $(use_enable tools)
