repo/gentoo:master commit in: dev-libs/libgpiod/

"Yixun Lan" <[email protected]>
Newsgroups gmane.linux.gentoo.cvs
Message-ID <1787090637.62566eedf7ef933c7aaa1875fdf699686aab6c68.dlan@gentoo>
commit:     62566eedf7ef933c7aaa1875fdf699686aab6c68
Author:     Alexander Barker <alex <AT> 1stleg <DOT> com>
AuthorDate: Thu Aug 13 22:51:19 2026 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Tue Aug 18 22:03:57 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62566eed

dev-libs/libgpiod: depends on dev-libs/libedit, but required at runtime

Closes: https://bugs.gentoo.org/980751
Part-of: https://github.com/gentoo/gentoo/pull/46682
Signed-off-by: Alexander Barker <alex <AT> 1stleg.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 ...gpiod-2.3.1.ebuild => libgpiod-2.3.1-r1.ebuild} | 49 +++++++++++++++++-----
 1 file changed, 39 insertions(+), 10 deletions(-)

diff --git a/dev-libs/libgpiod/libgpiod-2.3.1.ebuild b/dev-libs/libgpiod/libgpiod-2.3.1-r1.ebuild
similarity index 69%
rename from dev-libs/libgpiod/libgpiod-2.3.1.ebuild
rename to dev-libs/libgpiod/libgpiod-2.3.1-r1.ebuild
index eb5588c98bcb..cccf01b8d603 100644
--- a/dev-libs/libgpiod/libgpiod-2.3.1.ebuild
+++ b/dev-libs/libgpiod/libgpiod-2.3.1-r1.ebuild
@@ -13,25 +13,54 @@ LICENSE="LGPL-2.1"
 # Reflects the ABI of libgpiod.so
 SLOT="0/3"
 KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
-IUSE="+tools cxx dbus introspection glib python test"
+IUSE="cxx dbus introspection glib python +tools test"
+REQUIRED_USE="introspection? ( glib )"
 RESTRICT="!test? ( test )"
 
-DEPEND="
-	dev-libs/libedit
-	dbus? ( sys-apps/dbus )
-	glib? (
+COMMON_DEPEND="
+	dbus? (
+		>=dev-libs/glib-2.80
 		dev-libs/libgudev
+	)
+	glib? (
 		>=dev-libs/glib-2.80
-		>=dev-util/glib-utils-2.80
-		>=dev-util/gdbus-codegen-2.80
 	)
-	introspection? ( dev-libs/gobject-introspection )
+	tools? (
+		dev-libs/libedit
+	)
+"
+RDEPEND="
+	${COMMON_DEPEND}
+	dbus? (
+		sys-apps/dbus
+	)
+"
+DEPEND="
+	${COMMON_DEPEND}
+	introspection? (
+		dev-libs/gobject-introspection
+	)
 	test? (
 		>=dev-libs/glib-2.80
 		>=sys-apps/kmod-18
 		>=sys-apps/util-linux-2.33.1
 		>=virtual/libudev-215
-		cxx? ( <dev-cpp/catch-3.5:0 )
+		cxx? (
+			<dev-cpp/catch-3.5:0
+		)
+	)
+"
+BDEPEND="
+	sys-apps/help2man
+	dbus? (
+		>=dev-util/glib-utils-2.80
+		>=dev-util/gdbus-codegen-2.80
+	)
+	glib? (
+		>=dev-util/glib-utils-2.80
+	)
+	introspection? (
+		dev-libs/gobject-introspection
 	)
 "
 
@@ -44,13 +73,13 @@ src_configure() {
 	local emesonargs=(
 		$(meson_feature test tests)
 		$(meson_feature tools)
+		$(meson_feature tools gpioset-interactive)
 		$(meson_feature cxx bindings-cxx)
 		$(meson_feature python bindings-python)
 		$(meson_feature dbus)
 		$(meson_feature glib bindings-glib)
 		$(meson_feature introspection)
 		-Dexamples=enabled
-		-Dgpioset-interactive=enabled
 		-Dbindings-rust=disabled
 		-Dprofiling=false
 	)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.