summaryrefslogtreecommitdiff
path: root/dev-libs/libgpiod
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-09-25 20:21:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-09-25 20:21:45 +0100
commitc719fdcee603a5a706a45d10cb598762d56a727d (patch)
tree620cbf137661399a3fb1eff92914204f9a970713 /dev-libs/libgpiod
parentcc4618c9ba3d974948ebf340b542d8cb01db2f55 (diff)
gentoo resync : 25.09.2021
Diffstat (limited to 'dev-libs/libgpiod')
-rw-r--r--dev-libs/libgpiod/Manifest4
-rw-r--r--dev-libs/libgpiod/libgpiod-1.6.3.ebuild (renamed from dev-libs/libgpiod/libgpiod-1.1.1.ebuild)30
2 files changed, 26 insertions, 8 deletions
diff --git a/dev-libs/libgpiod/Manifest b/dev-libs/libgpiod/Manifest
index a8e640ae1521..a9d2bc86eaac 100644
--- a/dev-libs/libgpiod/Manifest
+++ b/dev-libs/libgpiod/Manifest
@@ -1,5 +1,5 @@
-DIST libgpiod-1.1.1.tar.xz 302672 BLAKE2B 71c624f923118b7c50970beb737f2c813d1470a34f95798f9ce821211e16f15e2a3fd42d0054e25529ddc9846725c0935d915784f22d2509b844a0bac61b66b6 SHA512 a1d902ce8e1c94d5550ade2fb4889ebe28b86523505b92ab907f58c8e6903eaf07ce16278126989462956b879f591b42ddd50fbc4537c1b5af459f23a4dfc12f
DIST libgpiod-1.4.1.tar.xz 314936 BLAKE2B 8949c4a96f69a83a479f5951e6f1eb8fee56db700e72320131c365a5d736a48700fb42b7ecc2b676cec54887eaa650075f45ec1f0b803de914958cefd3863db8 SHA512 2a9c58a46fb3c2e2dd15cc4ba52f589b44e5ae4547226eeb68a8e5bea6292d38aaf0889cc639e0979e12e129bb944bb42d9258f10292f59d074660e7c2d56d04
-EBUILD libgpiod-1.1.1.ebuild 736 BLAKE2B e04de4a7ea0c97eb4a4b35b4f521bf3518c0ca405a6a1f6be33a9b86625dc1f14f3a662564cc36db38132569907e33c7b2027d921a469b67ac4f08277b3fb989 SHA512 7009091c715c3fe253bdf04ee1578de6bac4d3649d9c55b50e9d9e4ad7f2b261ba6cbfad30de6569c2676c46f8d665491a2aec6b2bd1d6a83325290e8ed76df8
+DIST libgpiod-1.6.3.tar.xz 326068 BLAKE2B eda5409f2db3914ede92690589643211eca3002f8dc53a7c48213602f28158084c8eb8061319923f7a51c7d91650ff58b81b059323b5b9133a28b0bb04f6904d SHA512 f7e48662d02904f3f25976d61aa2cf4af0b8a52f65f184f23dfb6916bde9b86634b211f2696d3459a4f902ba5a79621b2fc47d18d487fd7a159018fe8933e370
EBUILD libgpiod-1.4.1.ebuild 1165 BLAKE2B 190c2b8c0bfaf71973fb722717798b663ca73486f2b9724bfe53f4931169cf055451a7bf7fdabccc0689c5e0e148c99596cf3081b75ebdb759de4c562c07ae55 SHA512 b77d0c3b7f7354b99bb648312fb794253cdda9bdf333d29c34e563e4965555a35c201d3568a7881cd123a81fe7a8f48568680c60e2cdcdb728128eb1057a3846
+EBUILD libgpiod-1.6.3.ebuild 1169 BLAKE2B 60f7bbcbcb5cbc9dfaac76147db9892a7ea1b6e56377e18f93bde0e6d8b9c18e121d5e9ea48d90fb3819e028ea507b59ed5c24b9537fddd69b09a593633d8e8f SHA512 d79372e2ae3b5884282ac3b96acc1984a7bc425a962812c81ecf8175b90e0b14ecd89d2b6c2b7a0be05f7f5427bde8aa5672ece562ea40d509b65f657ebbc47e
MISC metadata.xml 344 BLAKE2B 3c4f791ae16ba0fa5e2d061ee5aa6795f39b4b2224643b564fcb5f2368a42e349a8d1fa57413a475d48f7038371af321d4758be99658842246403212a22321f3 SHA512 b2d8068c46c3478e2d2251d74f81657c7fcbc320b8d35a56f36e609a118f6858eb62c7905da35ba39c0ae2c98a6bcd0c13418bb9f14176c0d887b5df505a4374
diff --git a/dev-libs/libgpiod/libgpiod-1.1.1.ebuild b/dev-libs/libgpiod/libgpiod-1.6.3.ebuild
index 0c838e1be35d..8f3fe8c74ec2 100644
--- a/dev-libs/libgpiod/libgpiod-1.1.1.ebuild
+++ b/dev-libs/libgpiod/libgpiod-1.6.3.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
inherit multilib-minimal
@@ -11,20 +11,38 @@ 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/1"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="static-libs +tools"
+SLOT="0/2"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+IUSE="static-libs +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
multilib_src_configure() {
- ECONF_SOURCE="${S}" econf \
+ local myconf=(
$(use_enable tools)
+ $(use_enable cxx bindings-cxx)
+ $(use_enable test tests)
+ $(multilib_native_use_enable python bindings-python)
+ )
+
+ if ! multilib_is_native_abi; then
+ myconf+=(
+ --disable-tools
+ )
+ fi
+
+ ECONF_SOURCE="${S}" econf "${myconf[@]}"
}
multilib_src_install() {
default
+ find "${D}" -name '*.la' -type f -delete || die
+
if ! use static-libs; then
find "${D}" -name "*.a" -delete || die
fi
- find "${D}" -name '*.la' -delete || die
}