commit: 3e4df0ae0cc40565ca6135ac0bf2f0a6dcffeacb
Author: Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 1 12:31:57 2025 +0000
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Tue Apr 1 12:35:23 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e4df0ae
dev-libs/libgpiod: add USE=static-libs
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>
dev-libs/libgpiod/{libgpiod-2.2.1.ebuild => libgpiod-2.2.1-r1.ebuild} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-libs/libgpiod/libgpiod-2.2.1.ebuild
b/dev-libs/libgpiod/libgpiod-2.2.1-r1.ebuild
similarity index 94%
rename from dev-libs/libgpiod/libgpiod-2.2.1.ebuild
rename to dev-libs/libgpiod/libgpiod-2.2.1-r1.ebuild
index 76257142385d..a6d1ce48a4e3 100644
--- a/dev-libs/libgpiod/libgpiod-2.2.1.ebuild
+++ b/dev-libs/libgpiod/libgpiod-2.2.1-r1.ebuild
@@ -13,7 +13,7 @@ LICENSE="LGPL-2.1"
# Reflects the ABI of libgpiod.so
SLOT="0/3"
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
-IUSE="+tools cxx python test"
+IUSE="+tools cxx python static-libs test"
RESTRICT="!test? ( test )"
# --enable-dbus #glib-2.80 masked
@@ -48,6 +48,7 @@ src_configure() {
$(use_enable cxx bindings-cxx)
$(use_enable test tests)
$(use_enable python bindings-python)
+ $(use_enable static-libs static)
--enable-examples
--disable-dbus
--disable-profiling
@@ -62,5 +63,4 @@ src_install() {
default
find "${D}" -name '*.la' -type f -delete || die
- find "${D}" -name "*.a" -delete || die
}