[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: 66a3b139ede98738303874bdede942d74d267b02 Author: Yixun Lan gentoo org> AuthorDate: Wed May 15 13:28:58 2024 + Commit: Yixun Lan gentoo org> CommitDate: Wed May 15 13:28:58 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66a3b139 dev-libs/libgpiod: drop 1.6.3-r4 Signed-off-by: Yixun Lan gentoo.org> dev-libs/libgpiod/Manifest | 1 - dev-libs/libgpiod/libgpiod-1.6.3-r4.ebuild | 52 -- 2 files changed, 53 deletions(-) diff --git a/dev-libs/libgpiod/Manifest b/dev-libs/libgpiod/Manifest index 48f717a3d179..42766fc08d6a 100644 --- a/dev-libs/libgpiod/Manifest +++ b/dev-libs/libgpiod/Manifest @@ -1,4 +1,3 @@ -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.1.1.tar.xz 421164 BLAKE2B 940f2af832a0fc39accecd9cf76864d05f961c0d2e4899d09dc07670bb2a8d8c2704fa43e29e2163f2b486ba65cadce2114f96cf0e7637afece99c543852305f SHA512 d396f1b8f632c3592b2be37e23e5052f4050ab5c1a9de77de5f97ce50fa3115c119dd69b0bbcf59621e92b775bfc81f18a65cca1e57e022752d28c0e01baff6f DIST libgpiod-2.1.2.tar.xz 419964 BLAKE2B 62b1df3af28d0ab4988101f6bcbce750fd5bd7db874a34c196630bc8badaefc8e3c5c60bbf3c4dfff074d4d2f681d3339fc32c9eeecf395b595b91e5727572e5 SHA512 e921ac34692d5ae92a29592e2103229a8b0afcdcfa750e30fbd292554cd2e59fd51aefc8fa2ad1c9ad5ea4a93bb3443e8f6e8f4f1537109b263aba33317106f3 diff --git a/dev-libs/libgpiod/libgpiod-1.6.3-r4.ebuild b/dev-libs/libgpiod/libgpiod-1.6.3-r4.ebuild deleted file mode 100644 index edd9c253a6f3.. --- a/dev-libs/libgpiod/libgpiod-1.6.3-r4.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2022 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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: 2838381a5d22e87c93ef5cef8ef6adf24c5a22db Author: Sam James gentoo org> AuthorDate: Wed May 15 12:48:55 2024 + Commit: Sam James gentoo org> CommitDate: Wed May 15 12:48:55 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2838381a dev-libs/libgpiod: Stabilize 1.6.4 x86, #931945 Signed-off-by: Sam James gentoo.org> dev-libs/libgpiod/libgpiod-1.6.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/libgpiod/libgpiod-1.6.4.ebuild b/dev-libs/libgpiod/libgpiod-1.6.4.ebuild index 6dc246713665..cab36b424ecb 100644 --- a/dev-libs/libgpiod/libgpiod-1.6.4.ebuild +++ b/dev-libs/libgpiod/libgpiod-1.6.4.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="amd64 arm arm64 ~riscv x86" IUSE="+tools cxx python test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: 81ce257d9880af7fb1292c6ae8cb5ada42444fbf Author: Sam James gentoo org> AuthorDate: Wed May 15 12:10:08 2024 + Commit: Sam James gentoo org> CommitDate: Wed May 15 12:10:08 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81ce257d dev-libs/libgpiod: Stabilize 1.6.4 arm64, #931945 Signed-off-by: Sam James gentoo.org> dev-libs/libgpiod/libgpiod-1.6.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/libgpiod/libgpiod-1.6.4.ebuild b/dev-libs/libgpiod/libgpiod-1.6.4.ebuild index abfaf32a04aa..9ab716505dfa 100644 --- a/dev-libs/libgpiod/libgpiod-1.6.4.ebuild +++ b/dev-libs/libgpiod/libgpiod-1.6.4.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="amd64 ~arm arm64 ~riscv ~x86" IUSE="+tools cxx python test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: 1509d69d30a09f6bef2cdf940e1f4309f2bb0bff Author: Sam James gentoo org> AuthorDate: Wed May 15 12:10:07 2024 + Commit: Sam James gentoo org> CommitDate: Wed May 15 12:10:07 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1509d69d dev-libs/libgpiod: Stabilize 1.6.4 amd64, #931945 Signed-off-by: Sam James gentoo.org> dev-libs/libgpiod/libgpiod-1.6.4.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-libs/libgpiod/libgpiod-1.6.4.ebuild b/dev-libs/libgpiod/libgpiod-1.6.4.ebuild index 89067dc6f4b6..abfaf32a04aa 100644 --- a/dev-libs/libgpiod/libgpiod-1.6.4.ebuild +++ b/dev-libs/libgpiod/libgpiod-1.6.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,7 @@ 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" +KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86" IUSE="+tools cxx python test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: 91bf013330b28a3e605718d7e4cee18e29ddaaa2 Author: Sam James gentoo org> AuthorDate: Wed May 15 12:10:10 2024 + Commit: Sam James gentoo org> CommitDate: Wed May 15 12:10:10 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91bf0133 dev-libs/libgpiod: Stabilize 1.6.4 arm, #931945 Signed-off-by: Sam James gentoo.org> dev-libs/libgpiod/libgpiod-1.6.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/libgpiod/libgpiod-1.6.4.ebuild b/dev-libs/libgpiod/libgpiod-1.6.4.ebuild index 9ab716505dfa..6dc246713665 100644 --- a/dev-libs/libgpiod/libgpiod-1.6.4.ebuild +++ b/dev-libs/libgpiod/libgpiod-1.6.4.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="amd64 arm arm64 ~riscv ~x86" IUSE="+tools cxx python test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: b76f6ac322936f2f531b23f2e8d3b7d404aabbdd Author: Yixun Lan gentoo org> AuthorDate: Wed May 15 11:17:26 2024 + Commit: Yixun Lan gentoo org> CommitDate: Wed May 15 11:18:18 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b76f6ac3 dev-libs/libgpiod: drop 2.1 Signed-off-by: Yixun Lan gentoo.org> dev-libs/libgpiod/Manifest| 1 - dev-libs/libgpiod/libgpiod-2.1.ebuild | 66 --- 2 files changed, 67 deletions(-) diff --git a/dev-libs/libgpiod/Manifest b/dev-libs/libgpiod/Manifest index 3d3ec36a1b2d..48f717a3d179 100644 --- a/dev-libs/libgpiod/Manifest +++ b/dev-libs/libgpiod/Manifest @@ -2,4 +2,3 @@ DIST libgpiod-1.6.3.tar.xz 326068 BLAKE2B eda5409f2db3914ede92690589643211eca300 DIST libgpiod-1.6.4.tar.xz 334552 BLAKE2B 3bf52dab263638967e0f59c858e22f3d8ec1c9565ba1edd665dff580a883fbc6aa49a944e6df4da8fca9c2df873e222ed4e055c9792ee27d4562b3c2d0c65b79 SHA512 23ea27147039ae34505263dbfbb3ca9985fc671d26e489ccaf150543d4e853f709393f46a8a5a1e682fa91378163bd2db6c689159ef73c3a8d1eeea422eacda0 DIST libgpiod-2.1.1.tar.xz 421164 BLAKE2B 940f2af832a0fc39accecd9cf76864d05f961c0d2e4899d09dc07670bb2a8d8c2704fa43e29e2163f2b486ba65cadce2114f96cf0e7637afece99c543852305f SHA512 d396f1b8f632c3592b2be37e23e5052f4050ab5c1a9de77de5f97ce50fa3115c119dd69b0bbcf59621e92b775bfc81f18a65cca1e57e022752d28c0e01baff6f DIST libgpiod-2.1.2.tar.xz 419964 BLAKE2B 62b1df3af28d0ab4988101f6bcbce750fd5bd7db874a34c196630bc8badaefc8e3c5c60bbf3c4dfff074d4d2f681d3339fc32c9eeecf395b595b91e5727572e5 SHA512 e921ac34692d5ae92a29592e2103229a8b0afcdcfa750e30fbd292554cd2e59fd51aefc8fa2ad1c9ad5ea4a93bb3443e8f6e8f4f1537109b263aba33317106f3 -DIST libgpiod-2.1.tar.xz 421132 BLAKE2B 97f43854070f19b37f4041c08d33c8156d69a3acd73845849f843223d159602ad8aa59096e1c8a3428bf16488272353a5747c6c95b9f729cb11e53ceeb6b29c2 SHA512 1c20a93fb2a6cf66f4690a5784ac1aeb077ca3da23c1942448f045972092468480e13b13174f327b3b7252bef5f23ffd226c990f11529b1151ba2dc318a47e52 diff --git a/dev-libs/libgpiod/libgpiod-2.1.ebuild b/dev-libs/libgpiod/libgpiod-2.1.ebuild deleted file mode 100644 index d3c115ebeb62.. --- a/dev-libs/libgpiod/libgpiod-2.1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools 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 - ) -" - -PATCHES=( - # bug 913899 - "${FILESDIR}"/${PN}-2.1-libtool.patch -) - -pkg_setup() { - CONFIG_CHECK="~GPIO_CDEV_V1" - linux-info_pkg_setup -} - -src_prepare() { - default - eautoreconf -} - -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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: 930a6b10c502574fb131034be71b50fadefe6cd2 Author: Yixun Lan gentoo org> AuthorDate: Wed May 15 11:16:48 2024 + Commit: Yixun Lan gentoo org> CommitDate: Wed May 15 11:18:14 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=930a6b10 dev-libs/libgpiod: add 2.1.2 Signed-off-by: Yixun Lan gentoo.org> dev-libs/libgpiod/Manifest | 1 + dev-libs/libgpiod/libgpiod-2.1.2.ebuild | 62 + 2 files changed, 63 insertions(+) diff --git a/dev-libs/libgpiod/Manifest b/dev-libs/libgpiod/Manifest index cc79e073bb6f..3d3ec36a1b2d 100644 --- a/dev-libs/libgpiod/Manifest +++ b/dev-libs/libgpiod/Manifest @@ -1,4 +1,5 @@ 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.1.1.tar.xz 421164 BLAKE2B 940f2af832a0fc39accecd9cf76864d05f961c0d2e4899d09dc07670bb2a8d8c2704fa43e29e2163f2b486ba65cadce2114f96cf0e7637afece99c543852305f SHA512 d396f1b8f632c3592b2be37e23e5052f4050ab5c1a9de77de5f97ce50fa3115c119dd69b0bbcf59621e92b775bfc81f18a65cca1e57e022752d28c0e01baff6f +DIST libgpiod-2.1.2.tar.xz 419964 BLAKE2B 62b1df3af28d0ab4988101f6bcbce750fd5bd7db874a34c196630bc8badaefc8e3c5c60bbf3c4dfff074d4d2f681d3339fc32c9eeecf395b595b91e5727572e5 SHA512 e921ac34692d5ae92a29592e2103229a8b0afcdcfa750e30fbd292554cd2e59fd51aefc8fa2ad1c9ad5ea4a93bb3443e8f6e8f4f1537109b263aba33317106f3 DIST libgpiod-2.1.tar.xz 421132 BLAKE2B 97f43854070f19b37f4041c08d33c8156d69a3acd73845849f843223d159602ad8aa59096e1c8a3428bf16488272353a5747c6c95b9f729cb11e53ceeb6b29c2 SHA512 1c20a93fb2a6cf66f4690a5784ac1aeb077ca3da23c1942448f045972092468480e13b13174f327b3b7252bef5f23ffd226c990f11529b1151ba2dc318a47e52 diff --git a/dev-libs/libgpiod/libgpiod-2.1.2.ebuild b/dev-libs/libgpiod/libgpiod-2.1.2.ebuild new file mode 100644 index ..63f9fafa352e --- /dev/null +++ b/dev-libs/libgpiod/libgpiod-2.1.2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools 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 + cxx? (
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: 34c9343ee73f1192ecc2d7dd42c502a030695e91 Author: Yixun Lan gentoo org> AuthorDate: Sat Mar 23 02:15:14 2024 + Commit: Yixun Lan gentoo org> CommitDate: Sat Mar 23 02:15:28 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34c9343e dev-libs/libgpiod: add 2.1.1 fix missing dev-cpp/catch if USE=cxx,test enabled Closes: https://bugs.gentoo.org/927400 Signed-off-by: Yixun Lan gentoo.org> dev-libs/libgpiod/Manifest | 1 + dev-libs/libgpiod/libgpiod-2.1.1.ebuild | 67 + 2 files changed, 68 insertions(+) diff --git a/dev-libs/libgpiod/Manifest b/dev-libs/libgpiod/Manifest index df8f7e562b7f..cc79e073bb6f 100644 --- a/dev-libs/libgpiod/Manifest +++ b/dev-libs/libgpiod/Manifest @@ -1,3 +1,4 @@ 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.1.1.tar.xz 421164 BLAKE2B 940f2af832a0fc39accecd9cf76864d05f961c0d2e4899d09dc07670bb2a8d8c2704fa43e29e2163f2b486ba65cadce2114f96cf0e7637afece99c543852305f SHA512 d396f1b8f632c3592b2be37e23e5052f4050ab5c1a9de77de5f97ce50fa3115c119dd69b0bbcf59621e92b775bfc81f18a65cca1e57e022752d28c0e01baff6f DIST libgpiod-2.1.tar.xz 421132 BLAKE2B 97f43854070f19b37f4041c08d33c8156d69a3acd73845849f843223d159602ad8aa59096e1c8a3428bf16488272353a5747c6c95b9f729cb11e53ceeb6b29c2 SHA512 1c20a93fb2a6cf66f4690a5784ac1aeb077ca3da23c1942448f045972092468480e13b13174f327b3b7252bef5f23ffd226c990f11529b1151ba2dc318a47e52 diff --git a/dev-libs/libgpiod/libgpiod-2.1.1.ebuild b/dev-libs/libgpiod/libgpiod-2.1.1.ebuild new file mode 100644 index ..f9552379a641 --- /dev/null +++ b/dev-libs/libgpiod/libgpiod-2.1.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools 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 + cxx? (
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/files/, dev-libs/libgpiod/
commit: 3b75d8e81ab8c79de75b24a93aa4498cca1d99a2 Author: orbea riseup net> AuthorDate: Thu Mar 21 13:57:25 2024 + Commit: Yixun Lan gentoo org> CommitDate: Sat Mar 23 01:10:36 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b75d8e8 dev-libs/libgpiod: link with libtool archives Prevents linking against the system version that might be already installed. Closes: https://bugs.gentoo.org/913899 Upstream-PR: https://github.com/brgl/libgpiod/pull/65 Upstream-Commit: https://github.com/brgl/libgpiod/commit/b10af6b0173e647b54834edff087a5811b6bcfe1 Closes: https://github.com/gentoo/gentoo/pull/35854 Signed-off-by: orbea riseup.net> Signed-off-by: Yixun Lan gentoo.org> dev-libs/libgpiod/files/libgpiod-2.1-libtool.patch | 66 ++ dev-libs/libgpiod/libgpiod-2.1.ebuild | 14 - 2 files changed, 78 insertions(+), 2 deletions(-) diff --git a/dev-libs/libgpiod/files/libgpiod-2.1-libtool.patch b/dev-libs/libgpiod/files/libgpiod-2.1-libtool.patch new file mode 100644 index ..efab5084ec8e --- /dev/null +++ b/dev-libs/libgpiod/files/libgpiod-2.1-libtool.patch @@ -0,0 +1,66 @@ +From b10af6b0173e647b54834edff087a5811b6bcfe1 Mon Sep 17 00:00:00 2001 +From: orbea +Date: Wed, 20 Mar 2024 06:49:57 -0700 +Subject: [PATCH] bindings: cxx: link using the libtool archives + +When linking with internal dependencies that were built with libtool the +most reliable method is to use the libtool archive (.la) files. + +When building with slibtool it fails when it doesn't find the -lgpiod +linker flag, but if libgpiod is already installed to the system it will +be built using the system version instead of the newly built libraries. + +Link: https://bugs.gentoo.org/913899 +Signed-off-by: orbea +[Bartosz: fix a typo in tests Makefile] +Signed-off-by: Bartosz Golaszewski +--- + bindings/cxx/Makefile.am | 2 +- + bindings/cxx/examples/Makefile.am | 2 +- + bindings/cxx/tests/Makefile.am| 6 +++--- + 3 files changed, 5 insertions(+), 5 deletions(-) + +diff --git a/bindings/cxx/Makefile.am b/bindings/cxx/Makefile.am +index 1eafaa2c..e2a89cf4 100644 +--- a/bindings/cxx/Makefile.am b/bindings/cxx/Makefile.am +@@ -24,8 +24,8 @@ libgpiodcxx_la_CXXFLAGS = -Wall -Wextra -g -std=gnu++17 + libgpiodcxx_la_CXXFLAGS += -fvisibility=hidden -I$(top_srcdir)/include/ + libgpiodcxx_la_CXXFLAGS += $(PROFILING_CFLAGS) + libgpiodcxx_la_LDFLAGS = -version-info $(subst .,:,$(ABI_CXX_VERSION)) +-libgpiodcxx_la_LDFLAGS += -lgpiod -L$(top_builddir)/lib + libgpiodcxx_la_LDFLAGS += $(PROFILING_LDFLAGS) ++libgpiodcxx_la_LIBADD = $(top_builddir)/lib/libgpiod.la + + include_HEADERS = gpiod.hpp + +diff --git a/bindings/cxx/examples/Makefile.am b/bindings/cxx/examples/Makefile.am +index 64ced200..eca4d64a 100644 +--- a/bindings/cxx/examples/Makefile.am b/bindings/cxx/examples/Makefile.am +@@ -3,7 +3,7 @@ + + AM_CXXFLAGS = -I$(top_srcdir)/bindings/cxx/ -I$(top_srcdir)/include + AM_CXXFLAGS += -Wall -Wextra -g -std=gnu++17 +-AM_LDFLAGS = -lgpiodcxx -L$(top_builddir)/bindings/cxx/ ++LDADD = $(top_builddir)/bindings/cxx/libgpiodcxx.la + + noinst_PROGRAMS = \ + async_watch_line_value \ +diff --git a/bindings/cxx/tests/Makefile.am b/bindings/cxx/tests/Makefile.am +index 02b5b6de..fbf80a10 100644 +--- a/bindings/cxx/tests/Makefile.am b/bindings/cxx/tests/Makefile.am +@@ -4,9 +4,9 @@ + AM_CXXFLAGS = -I$(top_srcdir)/bindings/cxx/ -I$(top_srcdir)/include + AM_CXXFLAGS += -I$(top_srcdir)/tests/gpiosim/ + AM_CXXFLAGS += -Wall -Wextra -g -std=gnu++17 $(CATCH2_CFLAGS) +-AM_LDFLAGS = -lgpiodcxx -L$(top_builddir)/bindings/cxx/ +-AM_LDFLAGS += -lgpiosim -L$(top_builddir)/tests/gpiosim/ +-AM_LDFLAGS += -pthread ++AM_LDFLAGS = -pthread ++LDADD = $(top_builddir)/bindings/cxx/libgpiodcxx.la ++LDADD += $(top_builddir)/tests/gpiosim/libgpiosim.la + + noinst_PROGRAMS = gpiod-cxx-test + diff --git a/dev-libs/libgpiod/libgpiod-2.1.ebuild b/dev-libs/libgpiod/libgpiod-2.1.ebuild index 94df11b5ec4b..d3c115ebeb62 100644 --- a/dev-libs/libgpiod/libgpiod-2.1.ebuild +++ b/dev-libs/libgpiod/libgpiod-2.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit linux-info +inherit autotools 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/; @@ -29,11 +29,21 @@ DEPEND=" ) " +PATCHES=( + # bug 913899 + "${FILESDIR}"/${PN}-2.1-libtool.patch +) + pkg_setup() { CONFIG_CHECK="~GPIO_CDEV_V1" linux-info_pkg_setup } +src_prepare() { + default + eautoreconf +} + src_configure() { local myconf=( $(use_enable tools)
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: 56272a2612f470e1c2650f329cdcfbe3d6ae1d87 Author: Yixun Lan gentoo org> AuthorDate: Sat Mar 23 01:13:28 2024 + Commit: Yixun Lan gentoo org> CommitDate: Sat Mar 23 01:13:28 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56272a26 dev-libs/libgpiod: drop 2.0.2 Signed-off-by: Yixun Lan gentoo.org> dev-libs/libgpiod/Manifest | 1 - dev-libs/libgpiod/libgpiod-2.0.2.ebuild | 56 - 2 files changed, 57 deletions(-) diff --git a/dev-libs/libgpiod/Manifest b/dev-libs/libgpiod/Manifest index 05f90b582be0..df8f7e562b7f 100644 --- a/dev-libs/libgpiod/Manifest +++ b/dev-libs/libgpiod/Manifest @@ -1,4 +1,3 @@ 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 DIST libgpiod-2.1.tar.xz 421132 BLAKE2B 97f43854070f19b37f4041c08d33c8156d69a3acd73845849f843223d159602ad8aa59096e1c8a3428bf16488272353a5747c6c95b9f729cb11e53ceeb6b29c2 SHA512 1c20a93fb2a6cf66f4690a5784ac1aeb077ca3da23c1942448f045972092468480e13b13174f327b3b7252bef5f23ffd226c990f11529b1151ba2dc318a47e52 diff --git a/dev-libs/libgpiod/libgpiod-2.0.2.ebuild b/dev-libs/libgpiod/libgpiod-2.0.2.ebuild deleted file mode 100644 index 94df11b5ec4b.. --- a/dev-libs/libgpiod/libgpiod-2.0.2.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# 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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: ebe5848bed0768b42a94be512513901f5061baf2 Author: Yixun Lan gentoo org> AuthorDate: Thu Nov 23 12:31:18 2023 + Commit: Yixun Lan gentoo org> CommitDate: Thu Nov 23 12:31:18 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebe5848b dev-libs/libgpiod: add 2.1 Signed-off-by: Yixun Lan gentoo.org> dev-libs/libgpiod/Manifest| 1 + dev-libs/libgpiod/libgpiod-2.1.ebuild | 56 +++ 2 files changed, 57 insertions(+) diff --git a/dev-libs/libgpiod/Manifest b/dev-libs/libgpiod/Manifest index 87f31efdb3c4..05f90b582be0 100644 --- a/dev-libs/libgpiod/Manifest +++ b/dev-libs/libgpiod/Manifest @@ -1,3 +1,4 @@ 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 +DIST libgpiod-2.1.tar.xz 421132 BLAKE2B 97f43854070f19b37f4041c08d33c8156d69a3acd73845849f843223d159602ad8aa59096e1c8a3428bf16488272353a5747c6c95b9f729cb11e53ceeb6b29c2 SHA512 1c20a93fb2a6cf66f4690a5784ac1aeb077ca3da23c1942448f045972092468480e13b13174f327b3b7252bef5f23ffd226c990f11529b1151ba2dc318a47e52 diff --git a/dev-libs/libgpiod/libgpiod-2.1.ebuild b/dev-libs/libgpiod/libgpiod-2.1.ebuild new file mode 100644 index ..94df11b5ec4b --- /dev/null +++ b/dev-libs/libgpiod/libgpiod-2.1.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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: df41bc57d1e5dc4f2db30b300a1901327c36bff6 Author: Yixun Lan gentoo org> AuthorDate: Fri Sep 22 05:48:08 2023 + Commit: Yixun Lan gentoo org> CommitDate: Fri Sep 22 05:48:16 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df41bc57 dev-libs/libgpiod: add 2.0.2 todo: profiling, examples, rust-binding Signed-off-by: Yixun Lan gentoo.org> dev-libs/libgpiod/Manifest | 1 + dev-libs/libgpiod/libgpiod-2.0.2.ebuild | 56 + 2 files changed, 57 insertions(+) diff --git a/dev-libs/libgpiod/Manifest b/dev-libs/libgpiod/Manifest index 744ed391b1e3..87f31efdb3c4 100644 --- a/dev-libs/libgpiod/Manifest +++ b/dev-libs/libgpiod/Manifest @@ -1,2 +1,3 @@ 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 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 ..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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: 29c9e221ed6588fb338f20c66bc0192d7bf6069c Author: Yixun Lan gentoo org> AuthorDate: Fri Sep 22 05:37:47 2023 + Commit: Yixun Lan gentoo org> CommitDate: Fri Sep 22 05:37:47 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29c9e221 dev-libs/libgpiod: add 1.6.4 Signed-off-by: Yixun Lan gentoo.org> dev-libs/libgpiod/Manifest | 1 + dev-libs/libgpiod/libgpiod-1.6.4.ebuild | 52 + 2 files changed, 53 insertions(+) diff --git a/dev-libs/libgpiod/Manifest b/dev-libs/libgpiod/Manifest index 8afe11354ed5..744ed391b1e3 100644 --- a/dev-libs/libgpiod/Manifest +++ b/dev-libs/libgpiod/Manifest @@ -1 +1,2 @@ DIST libgpiod-1.6.3.tar.xz 326068 BLAKE2B eda5409f2db3914ede92690589643211eca3002f8dc53a7c48213602f28158084c8eb8061319923f7a51c7d91650ff58b81b059323b5b9133a28b0bb04f6904d SHA512 f7e48662d02904f3f25976d61aa2cf4af0b8a52f65f184f23dfb6916bde9b86634b211f2696d3459a4f902ba5a79621b2fc47d18d487fd7a159018fe8933e370 +DIST libgpiod-1.6.4.tar.xz 334552 BLAKE2B 3bf52dab263638967e0f59c858e22f3d8ec1c9565ba1edd665dff580a883fbc6aa49a944e6df4da8fca9c2df873e222ed4e055c9792ee27d4562b3c2d0c65b79 SHA512 23ea27147039ae34505263dbfbb3ca9985fc671d26e489ccaf150543d4e853f709393f46a8a5a1e682fa91378163bd2db6c689159ef73c3a8d1eeea422eacda0 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 ..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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: 5bb07ab10358d7e5d44fedbb5b3fd17293dd1b6d Author: Yixun Lan gentoo org> AuthorDate: Fri Sep 22 05:50:04 2023 + Commit: Yixun Lan gentoo org> CommitDate: Fri Sep 22 05:50:04 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bb07ab1 dev-libs/libgpiod: add myself as a maintainer Signed-off-by: Yixun Lan gentoo.org> dev-libs/libgpiod/metadata.xml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) 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 @@ https://www.gentoo.org/dtd/metadata.dtd;> - + + d...@gentoo.org + Yixun Lan + Build some useful gpio tools that use libgpiod.
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: 9e13fe06e96926e812144946a3be5ce153d64d45 Author: Sam James gentoo org> AuthorDate: Tue Oct 25 17:56:31 2022 + Commit: Sam James gentoo org> CommitDate: Tue Oct 25 17:56:31 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e13fe06 dev-libs/libgpiod: drop 1.6.3-r1 Bug: https://bugs.gentoo.org/878249 Signed-off-by: Sam James gentoo.org> dev-libs/libgpiod/libgpiod-1.6.3-r1.ebuild | 53 -- 1 file changed, 53 deletions(-) diff --git a/dev-libs/libgpiod/libgpiod-1.6.3-r1.ebuild b/dev-libs/libgpiod/libgpiod-1.6.3-r1.ebuild deleted file mode 100644 index 2cb895596af0.. --- a/dev-libs/libgpiod/libgpiod-1.6.3-r1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -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/; -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="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 - -pkg_setup() { - CONFIG_CHECK="GPIO_CDEV_V1" - linux-mod_pkg_setup -} - -multilib_src_configure() { - 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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: 27cbd14cce001d3c6e1dcd1881c00d27f9c95e73 Author: Sam James gentoo org> AuthorDate: Tue Oct 25 17:54:45 2022 + Commit: Sam James gentoo org> CommitDate: Tue Oct 25 17:54:45 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27cbd14c dev-libs/libgpiod: Stabilize 1.6.3-r4 amd64, #878249 Signed-off-by: Sam James gentoo.org> dev-libs/libgpiod/libgpiod-1.6.3-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/libgpiod/libgpiod-1.6.3-r4.ebuild b/dev-libs/libgpiod/libgpiod-1.6.3-r4.ebuild index b430cac71eed..5fa03553ead1 100644 --- a/dev-libs/libgpiod/libgpiod-1.6.3-r4.ebuild +++ b/dev-libs/libgpiod/libgpiod-1.6.3-r4.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="amd64 arm arm64 ~riscv ~x86" IUSE="+tools cxx python test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: e1e088fcc53a254deb9856a1d6242f8d71032d7b Author: Sam James gentoo org> AuthorDate: Tue Oct 25 17:54:46 2022 + Commit: Sam James gentoo org> CommitDate: Tue Oct 25 17:54:46 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1e088fc dev-libs/libgpiod: Stabilize 1.6.3-r4 x86, #878249 Signed-off-by: Sam James gentoo.org> dev-libs/libgpiod/libgpiod-1.6.3-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/libgpiod/libgpiod-1.6.3-r4.ebuild b/dev-libs/libgpiod/libgpiod-1.6.3-r4.ebuild index 5fa03553ead1..edd9c253a6f3 100644 --- a/dev-libs/libgpiod/libgpiod-1.6.3-r4.ebuild +++ b/dev-libs/libgpiod/libgpiod-1.6.3-r4.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="amd64 arm arm64 ~riscv x86" IUSE="+tools cxx python test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: e1ebc9e2351b056d19538970014b764f8b2b4224 Author: Sam James gentoo org> AuthorDate: Tue Oct 25 11:18:44 2022 + Commit: Sam James gentoo org> CommitDate: Tue Oct 25 11:18:44 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1ebc9e2 dev-libs/libgpiod: Stabilize 1.6.3-r4 arm, #878249 Signed-off-by: Sam James gentoo.org> dev-libs/libgpiod/libgpiod-1.6.3-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/libgpiod/libgpiod-1.6.3-r4.ebuild b/dev-libs/libgpiod/libgpiod-1.6.3-r4.ebuild index a7b0b7c772e3..b430cac71eed 100644 --- a/dev-libs/libgpiod/libgpiod-1.6.3-r4.ebuild +++ b/dev-libs/libgpiod/libgpiod-1.6.3-r4.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="~amd64 arm arm64 ~riscv ~x86" IUSE="+tools cxx python test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: ef95ff18f637c7eee2d2a42e1e78d7d3e4d90b4c Author: Sam James gentoo org> AuthorDate: Tue Oct 25 11:18:43 2022 + Commit: Sam James gentoo org> CommitDate: Tue Oct 25 11:18:43 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef95ff18 dev-libs/libgpiod: Stabilize 1.6.3-r4 arm64, #878249 Signed-off-by: Sam James gentoo.org> dev-libs/libgpiod/libgpiod-1.6.3-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/libgpiod/libgpiod-1.6.3-r4.ebuild b/dev-libs/libgpiod/libgpiod-1.6.3-r4.ebuild index cf58ecdba373..a7b0b7c772e3 100644 --- a/dev-libs/libgpiod/libgpiod-1.6.3-r4.ebuild +++ b/dev-libs/libgpiod/libgpiod-1.6.3-r4.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="~amd64 ~arm arm64 ~riscv ~x86" IUSE="+tools cxx python test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: 7fdf3b73707e953ff8c37244e6deaf7cd7d09d81 Author: Sam James gentoo org> AuthorDate: Tue Oct 25 10:53:24 2022 + Commit: Sam James gentoo org> CommitDate: Tue Oct 25 10:53:24 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fdf3b73 dev-libs/libgpiod: drop 1.4.1 Signed-off-by: Sam James gentoo.org> dev-libs/libgpiod/Manifest | 1 - dev-libs/libgpiod/libgpiod-1.4.1.ebuild | 48 - 2 files changed, 49 deletions(-) diff --git a/dev-libs/libgpiod/Manifest b/dev-libs/libgpiod/Manifest index 964110df2970..8afe11354ed5 100644 --- a/dev-libs/libgpiod/Manifest +++ b/dev-libs/libgpiod/Manifest @@ -1,2 +1 @@ -DIST libgpiod-1.4.1.tar.xz 314936 BLAKE2B 8949c4a96f69a83a479f5951e6f1eb8fee56db700e72320131c365a5d736a48700fb42b7ecc2b676cec54887eaa650075f45ec1f0b803de914958cefd3863db8 SHA512 2a9c58a46fb3c2e2dd15cc4ba52f589b44e5ae4547226eeb68a8e5bea6292d38aaf0889cc639e0979e12e129bb944bb42d9258f10292f59d074660e7c2d56d04 DIST libgpiod-1.6.3.tar.xz 326068 BLAKE2B eda5409f2db3914ede92690589643211eca3002f8dc53a7c48213602f28158084c8eb8061319923f7a51c7d91650ff58b81b059323b5b9133a28b0bb04f6904d SHA512 f7e48662d02904f3f25976d61aa2cf4af0b8a52f65f184f23dfb6916bde9b86634b211f2696d3459a4f902ba5a79621b2fc47d18d487fd7a159018fe8933e370 diff --git a/dev-libs/libgpiod/libgpiod-1.4.1.ebuild b/dev-libs/libgpiod/libgpiod-1.4.1.ebuild deleted file mode 100644 index 5d51f888fe65.. --- a/dev-libs/libgpiod/libgpiod-1.4.1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit 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/; -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 ~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() { - 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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: 5c90aacf567adb976960f83a6cb3eda9cefd028b Author: Sam James gentoo org> AuthorDate: Fri Sep 9 09:24:48 2022 + Commit: Sam James gentoo org> CommitDate: Fri Sep 9 09:24:48 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c90aacf dev-libs/libgpiod: Stabilize 1.6.3-r1 arm64, #859802 Signed-off-by: Sam James gentoo.org> dev-libs/libgpiod/libgpiod-1.6.3-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/libgpiod/libgpiod-1.6.3-r1.ebuild b/dev-libs/libgpiod/libgpiod-1.6.3-r1.ebuild index 454448e6edad..2cb895596af0 100644 --- a/dev-libs/libgpiod/libgpiod-1.6.3-r1.ebuild +++ b/dev-libs/libgpiod/libgpiod-1.6.3-r1.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="amd64 arm arm64 ~riscv x86" IUSE="static-libs +tools cxx python test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: cf8fe00cdbd149664ac90092abd6a51196764df9 Author: Sam James gentoo org> AuthorDate: Fri Sep 9 09:24:45 2022 + Commit: Sam James gentoo org> CommitDate: Fri Sep 9 09:24:45 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf8fe00c dev-libs/libgpiod: Stabilize 1.6.3-r1 amd64, #859802 Signed-off-by: Sam James gentoo.org> dev-libs/libgpiod/libgpiod-1.6.3-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/libgpiod/libgpiod-1.6.3-r1.ebuild b/dev-libs/libgpiod/libgpiod-1.6.3-r1.ebuild index 85f698b2fb36..454448e6edad 100644 --- a/dev-libs/libgpiod/libgpiod-1.6.3-r1.ebuild +++ b/dev-libs/libgpiod/libgpiod-1.6.3-r1.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="amd64 arm ~arm64 ~riscv x86" IUSE="static-libs +tools cxx python test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: 1adbe59d6c9e4df52568428d8b3f2135ad43e784 Author: Sam James gentoo org> AuthorDate: Fri Sep 9 09:24:41 2022 + Commit: Sam James gentoo org> CommitDate: Fri Sep 9 09:24:41 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1adbe59d dev-libs/libgpiod: Stabilize 1.6.3-r1 arm, #859802 Signed-off-by: Sam James gentoo.org> dev-libs/libgpiod/libgpiod-1.6.3-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/libgpiod/libgpiod-1.6.3-r1.ebuild b/dev-libs/libgpiod/libgpiod-1.6.3-r1.ebuild index 8830c7759db5..85f698b2fb36 100644 --- a/dev-libs/libgpiod/libgpiod-1.6.3-r1.ebuild +++ b/dev-libs/libgpiod/libgpiod-1.6.3-r1.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="~amd64 arm ~arm64 ~riscv x86" IUSE="static-libs +tools cxx python test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: 8ba1b62c7bd0698c5b58f4bf371345bfeea2e958 Author: Sam James gentoo org> AuthorDate: Fri Sep 9 09:15:12 2022 + Commit: Sam James gentoo org> CommitDate: Fri Sep 9 09:15:36 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ba1b62c dev-libs/libgpiod: add missing test deps Not worrying about old version as multilib got dropped. Closes: https://bugs.gentoo.org/702568 Closes: https://bugs.gentoo.org/865197 Signed-off-by: Sam James gentoo.org> dev-libs/libgpiod/libgpiod-1.6.3-r4.ebuild | 8 1 file changed, 8 insertions(+) diff --git a/dev-libs/libgpiod/libgpiod-1.6.3-r4.ebuild b/dev-libs/libgpiod/libgpiod-1.6.3-r4.ebuild index 98464819a577..cf58ecdba373 100644 --- a/dev-libs/libgpiod/libgpiod-1.6.3-r4.ebuild +++ b/dev-libs/libgpiod/libgpiod-1.6.3-r4.ebuild @@ -19,6 +19,14 @@ 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"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: d795739276b785c436054e40718b6455ddafc08b Author: Anthony G. Basile gentoo org> AuthorDate: Tue Aug 16 15:57:14 2022 + Commit: Anthony G. Basile gentoo org> CommitDate: Tue Aug 16 15:57:14 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7957392 dev-libs/libgpiod: warn only for missing GPIO_CDEV_V1 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Anthony G. Basile gentoo.org> .../libgpiod/{libgpiod-1.6.3-r2.ebuild => libgpiod-1.6.3-r3.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/libgpiod/libgpiod-1.6.3-r2.ebuild b/dev-libs/libgpiod/libgpiod-1.6.3-r3.ebuild similarity index 97% rename from dev-libs/libgpiod/libgpiod-1.6.3-r2.ebuild rename to dev-libs/libgpiod/libgpiod-1.6.3-r3.ebuild index ef44116bea42..83669f2db358 100644 --- a/dev-libs/libgpiod/libgpiod-1.6.3-r2.ebuild +++ b/dev-libs/libgpiod/libgpiod-1.6.3-r3.ebuild @@ -21,7 +21,7 @@ RESTRICT="!test? ( test )" # --enable-bindings-python pkg_setup() { - CONFIG_CHECK="GPIO_CDEV_V1" + CONFIG_CHECK="~GPIO_CDEV_V1" linux-info_pkg_setup }
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: 71322ac179aa1c261ce14331972c51b18cda7ab0 Author: Anthony G. Basile gentoo org> AuthorDate: Tue Aug 16 14:12:20 2022 + Commit: Anthony G. Basile gentoo org> CommitDate: Tue Aug 16 14:12:20 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71322ac1 dev-libs/libgpiod: switch to more forgiving linux-info Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Anthony G. Basile gentoo.org> dev-libs/libgpiod/libgpiod-1.6.3-r2.ebuild | 53 ++ 1 file changed, 53 insertions(+) diff --git a/dev-libs/libgpiod/libgpiod-1.6.3-r2.ebuild b/dev-libs/libgpiod/libgpiod-1.6.3-r2.ebuild new file mode 100644 index ..ef44116bea42 --- /dev/null +++ b/dev-libs/libgpiod/libgpiod-1.6.3-r2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-info 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/; +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="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 + +pkg_setup() { + CONFIG_CHECK="GPIO_CDEV_V1" + linux-info_pkg_setup +} + +multilib_src_configure() { + 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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: c03c3f3e9e5cfe1606b19221d7c5b9b3442badb7 Author: Sam James gentoo org> AuthorDate: Thu Jul 28 14:13:48 2022 + Commit: Sam James gentoo org> CommitDate: Thu Jul 28 14:13:48 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c03c3f3e dev-libs/libgpiod: Stabilize 1.6.3-r1 x86, #859802 Signed-off-by: Sam James gentoo.org> dev-libs/libgpiod/libgpiod-1.6.3-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/libgpiod/libgpiod-1.6.3-r1.ebuild b/dev-libs/libgpiod/libgpiod-1.6.3-r1.ebuild index a0b6d335709c..8830c7759db5 100644 --- a/dev-libs/libgpiod/libgpiod-1.6.3-r1.ebuild +++ b/dev-libs/libgpiod/libgpiod-1.6.3-r1.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv x86" IUSE="static-libs +tools cxx python test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: f9eaf32074191f03dc152ff9456b5c44db17a392 Author: Anthony G. Basile gentoo org> AuthorDate: Thu Jul 21 14:54:23 2022 + Commit: Anthony G. Basile gentoo org> CommitDate: Thu Jul 21 14:54:49 2022 + 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 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)
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: a37633da6622f28af063310fbbe1f4150ed5e648 Author: Anthony G. Basile gentoo org> AuthorDate: Fri Sep 24 17:08:25 2021 + Commit: Anthony G. Basile gentoo org> CommitDate: Fri Sep 24 17:08:38 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a37633da dev-libs/libgpiod: remove older unstable version Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Anthony G. Basile gentoo.org> dev-libs/libgpiod/Manifest | 1 - dev-libs/libgpiod/libgpiod-1.1.1.ebuild | 30 -- 2 files changed, 31 deletions(-) diff --git a/dev-libs/libgpiod/Manifest b/dev-libs/libgpiod/Manifest index 703fe10fabe..964110df297 100644 --- a/dev-libs/libgpiod/Manifest +++ b/dev-libs/libgpiod/Manifest @@ -1,3 +1,2 @@ -DIST libgpiod-1.1.1.tar.xz 302672 BLAKE2B 71c624f923118b7c50970beb737f2c813d1470a34f95798f9ce821211e16f15e2a3fd42d0054e25529ddc9846725c0935d915784f22d2509b844a0bac61b66b6 SHA512 a1d902ce8e1c94d5550ade2fb4889ebe28b86523505b92ab907f58c8e6903eaf07ce16278126989462956b879f591b42ddd50fbc4537c1b5af459f23a4dfc12f DIST libgpiod-1.4.1.tar.xz 314936 BLAKE2B 8949c4a96f69a83a479f5951e6f1eb8fee56db700e72320131c365a5d736a48700fb42b7ecc2b676cec54887eaa650075f45ec1f0b803de914958cefd3863db8 SHA512 2a9c58a46fb3c2e2dd15cc4ba52f589b44e5ae4547226eeb68a8e5bea6292d38aaf0889cc639e0979e12e129bb944bb42d9258f10292f59d074660e7c2d56d04 DIST libgpiod-1.6.3.tar.xz 326068 BLAKE2B eda5409f2db3914ede92690589643211eca3002f8dc53a7c48213602f28158084c8eb8061319923f7a51c7d91650ff58b81b059323b5b9133a28b0bb04f6904d SHA512 f7e48662d02904f3f25976d61aa2cf4af0b8a52f65f184f23dfb6916bde9b86634b211f2696d3459a4f902ba5a79621b2fc47d18d487fd7a159018fe8933e370 diff --git a/dev-libs/libgpiod/libgpiod-1.1.1.ebuild b/dev-libs/libgpiod/libgpiod-1.1.1.ebuild deleted file mode 100644 index 0c838e1be35..000 --- a/dev-libs/libgpiod/libgpiod-1.1.1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit 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/; -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" - -multilib_src_configure() { - ECONF_SOURCE="${S}" econf \ - $(use_enable tools) -} - -multilib_src_install() { - default - - if ! use static-libs; then - find "${D}" -name "*.a" -delete || die - fi - find "${D}" -name '*.la' -delete || die -}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: 947a1f683d232d56ec58391c4dadcf0e656e12b9 Author: Anthony G. Basile gentoo org> AuthorDate: Fri Sep 24 17:08:03 2021 + Commit: Anthony G. Basile gentoo org> CommitDate: Fri Sep 24 17:08:38 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=947a1f68 dev-libs/libgpiod: version bump to 1.6.3 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Anthony G. Basile gentoo.org> dev-libs/libgpiod/Manifest | 1 + dev-libs/libgpiod/libgpiod-1.6.3.ebuild | 48 + 2 files changed, 49 insertions(+) diff --git a/dev-libs/libgpiod/Manifest b/dev-libs/libgpiod/Manifest index 96b415fe240..703fe10fabe 100644 --- a/dev-libs/libgpiod/Manifest +++ b/dev-libs/libgpiod/Manifest @@ -1,2 +1,3 @@ DIST libgpiod-1.1.1.tar.xz 302672 BLAKE2B 71c624f923118b7c50970beb737f2c813d1470a34f95798f9ce821211e16f15e2a3fd42d0054e25529ddc9846725c0935d915784f22d2509b844a0bac61b66b6 SHA512 a1d902ce8e1c94d5550ade2fb4889ebe28b86523505b92ab907f58c8e6903eaf07ce16278126989462956b879f591b42ddd50fbc4537c1b5af459f23a4dfc12f DIST libgpiod-1.4.1.tar.xz 314936 BLAKE2B 8949c4a96f69a83a479f5951e6f1eb8fee56db700e72320131c365a5d736a48700fb42b7ecc2b676cec54887eaa650075f45ec1f0b803de914958cefd3863db8 SHA512 2a9c58a46fb3c2e2dd15cc4ba52f589b44e5ae4547226eeb68a8e5bea6292d38aaf0889cc639e0979e12e129bb944bb42d9258f10292f59d074660e7c2d56d04 +DIST libgpiod-1.6.3.tar.xz 326068 BLAKE2B eda5409f2db3914ede92690589643211eca3002f8dc53a7c48213602f28158084c8eb8061319923f7a51c7d91650ff58b81b059323b5b9133a28b0bb04f6904d SHA512 f7e48662d02904f3f25976d61aa2cf4af0b8a52f65f184f23dfb6916bde9b86634b211f2696d3459a4f902ba5a79621b2fc47d18d487fd7a159018fe8933e370 diff --git a/dev-libs/libgpiod/libgpiod-1.6.3.ebuild b/dev-libs/libgpiod/libgpiod-1.6.3.ebuild new file mode 100644 index 000..8f3fe8c74ec --- /dev/null +++ b/dev-libs/libgpiod/libgpiod-1.6.3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit 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/; +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="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() { + 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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: 1b05e53cf30467227f6510fed5cc5642b5754c5b Author: Marek Szuba gentoo org> AuthorDate: Tue Aug 10 12:32:47 2021 + Commit: Marek Szuba gentoo org> CommitDate: Tue Aug 10 12:43:22 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b05e53c dev-libs/libgpiod: keyword 1.4.1 for ~riscv Signed-off-by: Marek Szuba gentoo.org> dev-libs/libgpiod/libgpiod-1.4.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/libgpiod/libgpiod-1.4.1.ebuild b/dev-libs/libgpiod/libgpiod-1.4.1.ebuild index bea88003ccb..5d51f888fe6 100644 --- a/dev-libs/libgpiod/libgpiod-1.4.1.ebuild +++ b/dev-libs/libgpiod/libgpiod-1.4.1.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="amd64 arm arm64 ~riscv x86" IUSE="static-libs +tools cxx python test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: f6d404e0f2983b6e5ce30cc0aa9f32af0635872f Author: Sam James gentoo org> AuthorDate: Sat Jan 9 10:31:00 2021 + Commit: Sam James gentoo org> CommitDate: Sat Jan 9 10:36:07 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6d404e0 dev-libs/libgpiod: fix StaticSrcUri Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> dev-libs/libgpiod/libgpiod-1.1.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-libs/libgpiod/libgpiod-1.1.1.ebuild b/dev-libs/libgpiod/libgpiod-1.1.1.ebuild index 3435a33062c..a933e767983 100644 --- a/dev-libs/libgpiod/libgpiod-1.1.1.ebuild +++ b/dev-libs/libgpiod/libgpiod-1.1.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -7,7 +7,7 @@ inherit multilib 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/; -SRC_URI="https://mirrors.edge.kernel.org/pub/software/libs/libgpiod/libgpiod-1.1.1.tar.xz; +SRC_URI="https://mirrors.edge.kernel.org/pub/software/libs/libgpiod/${P}.tar.xz; LICENSE="LGPL-2.1" # Reflects the ABI of libgpiod.so
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: 1e9cffde66434f990fde36cb571b5187437951ad Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Jun 9 13:53:16 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Jun 9 13:53:16 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e9cffde dev-libs/libgpiod: x86 stable wrt bug #726456 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> dev-libs/libgpiod/libgpiod-1.4.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/libgpiod/libgpiod-1.4.1.ebuild b/dev-libs/libgpiod/libgpiod-1.4.1.ebuild index 7365361aca8..bba3d79d142 100644 --- a/dev-libs/libgpiod/libgpiod-1.4.1.ebuild +++ b/dev-libs/libgpiod/libgpiod-1.4.1.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="amd64 arm arm64 x86" IUSE="static-libs +tools cxx python test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: 3ca06c001cbcb658ba37c10ba30879e6ad2fec56 Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Jun 9 13:47:41 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Jun 9 13:47:41 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ca06c00 dev-libs/libgpiod: arm stable wrt bug #726456 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="arm" Signed-off-by: Agostino Sarubbo gentoo.org> dev-libs/libgpiod/libgpiod-1.4.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/libgpiod/libgpiod-1.4.1.ebuild b/dev-libs/libgpiod/libgpiod-1.4.1.ebuild index 143c6a04082..7365361aca8 100644 --- a/dev-libs/libgpiod/libgpiod-1.4.1.ebuild +++ b/dev-libs/libgpiod/libgpiod-1.4.1.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="amd64 arm arm64 ~x86" IUSE="static-libs +tools cxx python test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: 0ae47a74b00e640febc165a3c76d6687f2a5c342 Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Jun 9 13:45:15 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Jun 9 13:45:15 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ae47a74 dev-libs/libgpiod: amd64 stable wrt bug #726456 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-libs/libgpiod/libgpiod-1.4.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/libgpiod/libgpiod-1.4.1.ebuild b/dev-libs/libgpiod/libgpiod-1.4.1.ebuild index c5f6f44bf03..143c6a04082 100644 --- a/dev-libs/libgpiod/libgpiod-1.4.1.ebuild +++ b/dev-libs/libgpiod/libgpiod-1.4.1.ebuild @@ -12,7 +12,7 @@ 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" +KEYWORDS="amd64 ~arm arm64 ~x86" IUSE="static-libs +tools cxx python test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: 1d7e97193c17469c24d35cae7cfe3cc87753b3a1 Author: Sam James (sam_c) cmpct info> AuthorDate: Mon Jun 8 12:41:22 2020 + Commit: Mart Raudsepp gentoo org> CommitDate: Tue Jun 9 04:22:18 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d7e9719 dev-libs/libgpiod: arm64 stable (bug #726456) Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sam James (sam_c) cmpct.info> Signed-off-by: Mart Raudsepp gentoo.org> dev-libs/libgpiod/libgpiod-1.4.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-libs/libgpiod/libgpiod-1.4.1.ebuild b/dev-libs/libgpiod/libgpiod-1.4.1.ebuild index e49f80f38f6..c5f6f44bf03 100644 --- a/dev-libs/libgpiod/libgpiod-1.4.1.ebuild +++ b/dev-libs/libgpiod/libgpiod-1.4.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ 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" +KEYWORDS="~amd64 ~arm arm64 ~x86" IUSE="static-libs +tools cxx python test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: 4c5b04436e05c8dfe7e4ea8107a08670f32d746f Author: Anthony G. Basile gentoo org> AuthorDate: Thu Oct 3 14:30:19 2019 + Commit: Anthony G. Basile gentoo org> CommitDate: Thu Oct 3 14:30:19 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c5b0443 dev-libs/libgpiod: version bump to 1.4.1, bug #671370 Author: gabemarcano yahoo.com Closes: https://bugs.gentoo.org/671370 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Anthony G. Basile gentoo.org> dev-libs/libgpiod/Manifest | 1 + dev-libs/libgpiod/libgpiod-1.4.1.ebuild | 47 + 2 files changed, 48 insertions(+) diff --git a/dev-libs/libgpiod/Manifest b/dev-libs/libgpiod/Manifest index 24dedcf0330..96b415fe240 100644 --- a/dev-libs/libgpiod/Manifest +++ b/dev-libs/libgpiod/Manifest @@ -1 +1,2 @@ DIST libgpiod-1.1.1.tar.xz 302672 BLAKE2B 71c624f923118b7c50970beb737f2c813d1470a34f95798f9ce821211e16f15e2a3fd42d0054e25529ddc9846725c0935d915784f22d2509b844a0bac61b66b6 SHA512 a1d902ce8e1c94d5550ade2fb4889ebe28b86523505b92ab907f58c8e6903eaf07ce16278126989462956b879f591b42ddd50fbc4537c1b5af459f23a4dfc12f +DIST libgpiod-1.4.1.tar.xz 314936 BLAKE2B 8949c4a96f69a83a479f5951e6f1eb8fee56db700e72320131c365a5d736a48700fb42b7ecc2b676cec54887eaa650075f45ec1f0b803de914958cefd3863db8 SHA512 2a9c58a46fb3c2e2dd15cc4ba52f589b44e5ae4547226eeb68a8e5bea6292d38aaf0889cc639e0979e12e129bb944bb42d9258f10292f59d074660e7c2d56d04 diff --git a/dev-libs/libgpiod/libgpiod-1.4.1.ebuild b/dev-libs/libgpiod/libgpiod-1.4.1.ebuild new file mode 100644 index 000..50141fbb261 --- /dev/null +++ b/dev-libs/libgpiod/libgpiod-1.4.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit eutils multilib 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/; +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 cxx python test" + +# --enable-tests enable libgpiod tests [default=no] +# --enable-bindings-cxx enable C++ bindings [default=no] +# --enable-bindings-python + +multilib_src_configure() { + 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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: 943246168e313959e00eb1e87171ea2fc8c62b7c Author: Anthony G. Basile gentoo org> AuthorDate: Sun Apr 21 03:02:32 2019 + Commit: Anthony G. Basile gentoo org> CommitDate: Sun Apr 21 03:02:32 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94324616 dev-libs/libgpiod: keyword ~arm64 Signed-off-by: Anthony G. Basile gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 dev-libs/libgpiod/libgpiod-1.1.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-libs/libgpiod/libgpiod-1.1.1.ebuild b/dev-libs/libgpiod/libgpiod-1.1.1.ebuild index c08b952a727..3435a33062c 100644 --- a/dev-libs/libgpiod/libgpiod-1.1.1.ebuild +++ b/dev-libs/libgpiod/libgpiod-1.1.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -12,7 +12,7 @@ SRC_URI="https://mirrors.edge.kernel.org/pub/software/libs/libgpiod/libgpiod-1.1 LICENSE="LGPL-2.1" # Reflects the ABI of libgpiod.so SLOT="0/1" -KEYWORDS="~amd64 ~arm ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" IUSE="static-libs +tools" multilib_src_configure() {
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: e20744ec99c0a7ddac6084754bbb26572516bdf4 Author: Anthony G. Basile gentoo org> AuthorDate: Sat Dec 8 23:56:44 2018 + Commit: Anthony G. Basile gentoo org> CommitDate: Sat Dec 8 23:56:44 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e20744ec dev-libs/libgpiod: keyword ~arm Signed-off-by: Anthony G. Basile gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-libs/libgpiod/libgpiod-1.1.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-libs/libgpiod/libgpiod-1.1.1.ebuild b/dev-libs/libgpiod/libgpiod-1.1.1.ebuild index 7cbe28bf2d3..c08b952a727 100644 --- a/dev-libs/libgpiod/libgpiod-1.1.1.ebuild +++ b/dev-libs/libgpiod/libgpiod-1.1.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -12,7 +12,7 @@ SRC_URI="https://mirrors.edge.kernel.org/pub/software/libs/libgpiod/libgpiod-1.1 LICENSE="LGPL-2.1" # Reflects the ABI of libgpiod.so SLOT="0/1" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm ~x86" IUSE="static-libs +tools" multilib_src_configure() {
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: f13da238b6cc2cb9bfa1454f8251b4a7c3c7a4f6 Author: Anthony G. Basile gentoo org> AuthorDate: Sun Sep 16 10:29:05 2018 + Commit: Anthony G. Basile gentoo org> CommitDate: Sun Sep 16 10:29:05 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f13da238 dev-libs/libgpiod: remove older version Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-libs/libgpiod/Manifest| 1 - dev-libs/libgpiod/libgpiod-1.0.ebuild | 30 -- 2 files changed, 31 deletions(-) diff --git a/dev-libs/libgpiod/Manifest b/dev-libs/libgpiod/Manifest index dac93e5efe9..24dedcf0330 100644 --- a/dev-libs/libgpiod/Manifest +++ b/dev-libs/libgpiod/Manifest @@ -1,2 +1 @@ -DIST libgpiod-1.0.tar.gz 411974 BLAKE2B e6c962329f7fad374d2771e60aa87e679970e3b593dda73d51f0511b14122d8a9d94eee3355ede2221d4ff0cd10f7116874c535fe90092fd61ccc5aa8f7e9818 SHA512 e8a71a7028fa73a94d8507d4329bee024c3e73d1b619dd5500172bf36509c7ccee521ddb6ef07283e3a4217af9da12ce154af657f8a536883f5495ffccf46e0c DIST libgpiod-1.1.1.tar.xz 302672 BLAKE2B 71c624f923118b7c50970beb737f2c813d1470a34f95798f9ce821211e16f15e2a3fd42d0054e25529ddc9846725c0935d915784f22d2509b844a0bac61b66b6 SHA512 a1d902ce8e1c94d5550ade2fb4889ebe28b86523505b92ab907f58c8e6903eaf07ce16278126989462956b879f591b42ddd50fbc4537c1b5af459f23a4dfc12f diff --git a/dev-libs/libgpiod/libgpiod-1.0.ebuild b/dev-libs/libgpiod/libgpiod-1.0.ebuild deleted file mode 100644 index c83a38aa5e7..000 --- a/dev-libs/libgpiod/libgpiod-1.0.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit multilib 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/; -SRC_URI="https://dev.gentoo.org/~blueness/libgpiod/${P}.tar.gz; - -LICENSE="LGPL-2.1" -# Reflects the ABI of libgpiod.so -SLOT="0/1" -KEYWORDS="~amd64 ~x86" -IUSE="static-libs +tools" - -multilib_src_configure() { - ECONF_SOURCE="${S}" econf \ - $(use_enable tools) -} - -multilib_src_install() { - default - - if ! use static-libs; then - find "${D}" -name "*.a" -delete || die - fi - find "${D}" -name '*.la' -delete || die -}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: 6d14632e8188758dde7842fdca7bfabbe234856b Author: Anthony G. Basile gentoo org> AuthorDate: Sun Sep 16 10:28:15 2018 + Commit: Anthony G. Basile gentoo org> CommitDate: Sun Sep 16 10:28:15 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d14632e dev-libs/libgpiod: version bump to 1.1.1 Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-libs/libgpiod/Manifest | 1 + dev-libs/libgpiod/libgpiod-1.1.1.ebuild | 30 ++ 2 files changed, 31 insertions(+) diff --git a/dev-libs/libgpiod/Manifest b/dev-libs/libgpiod/Manifest index 7f380ebad6b..dac93e5efe9 100644 --- a/dev-libs/libgpiod/Manifest +++ b/dev-libs/libgpiod/Manifest @@ -1 +1,2 @@ DIST libgpiod-1.0.tar.gz 411974 BLAKE2B e6c962329f7fad374d2771e60aa87e679970e3b593dda73d51f0511b14122d8a9d94eee3355ede2221d4ff0cd10f7116874c535fe90092fd61ccc5aa8f7e9818 SHA512 e8a71a7028fa73a94d8507d4329bee024c3e73d1b619dd5500172bf36509c7ccee521ddb6ef07283e3a4217af9da12ce154af657f8a536883f5495ffccf46e0c +DIST libgpiod-1.1.1.tar.xz 302672 BLAKE2B 71c624f923118b7c50970beb737f2c813d1470a34f95798f9ce821211e16f15e2a3fd42d0054e25529ddc9846725c0935d915784f22d2509b844a0bac61b66b6 SHA512 a1d902ce8e1c94d5550ade2fb4889ebe28b86523505b92ab907f58c8e6903eaf07ce16278126989462956b879f591b42ddd50fbc4537c1b5af459f23a4dfc12f diff --git a/dev-libs/libgpiod/libgpiod-1.1.1.ebuild b/dev-libs/libgpiod/libgpiod-1.1.1.ebuild new file mode 100644 index 000..7cbe28bf2d3 --- /dev/null +++ b/dev-libs/libgpiod/libgpiod-1.1.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit multilib 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/; +SRC_URI="https://mirrors.edge.kernel.org/pub/software/libs/libgpiod/libgpiod-1.1.1.tar.xz; + +LICENSE="LGPL-2.1" +# Reflects the ABI of libgpiod.so +SLOT="0/1" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs +tools" + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + $(use_enable tools) +} + +multilib_src_install() { + default + + if ! use static-libs; then + find "${D}" -name "*.a" -delete || die + fi + find "${D}" -name '*.la' -delete || die +}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
commit: ffea62559c4ccc708bae917eddf777e537d561f0 Author: Anthony G. Basile gentoo org> AuthorDate: Fri Apr 6 14:59:08 2018 + Commit: Anthony G. Basile gentoo org> CommitDate: Fri Apr 6 14:59:25 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffea6255 dev-libs/libgpiod: initial commit dev-libs/libgpiod/Manifest| 1 + dev-libs/libgpiod/libgpiod-1.0.ebuild | 30 ++ dev-libs/libgpiod/metadata.xml| 11 +++ 3 files changed, 42 insertions(+) diff --git a/dev-libs/libgpiod/Manifest b/dev-libs/libgpiod/Manifest new file mode 100644 index 000..7f380ebad6b --- /dev/null +++ b/dev-libs/libgpiod/Manifest @@ -0,0 +1 @@ +DIST libgpiod-1.0.tar.gz 411974 BLAKE2B e6c962329f7fad374d2771e60aa87e679970e3b593dda73d51f0511b14122d8a9d94eee3355ede2221d4ff0cd10f7116874c535fe90092fd61ccc5aa8f7e9818 SHA512 e8a71a7028fa73a94d8507d4329bee024c3e73d1b619dd5500172bf36509c7ccee521ddb6ef07283e3a4217af9da12ce154af657f8a536883f5495ffccf46e0c diff --git a/dev-libs/libgpiod/libgpiod-1.0.ebuild b/dev-libs/libgpiod/libgpiod-1.0.ebuild new file mode 100644 index 000..c83a38aa5e7 --- /dev/null +++ b/dev-libs/libgpiod/libgpiod-1.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit multilib 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/; +SRC_URI="https://dev.gentoo.org/~blueness/libgpiod/${P}.tar.gz; + +LICENSE="LGPL-2.1" +# Reflects the ABI of libgpiod.so +SLOT="0/1" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs +tools" + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + $(use_enable tools) +} + +multilib_src_install() { + default + + if ! use static-libs; then + find "${D}" -name "*.a" -delete || die + fi + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-libs/libgpiod/metadata.xml b/dev-libs/libgpiod/metadata.xml new file mode 100644 index 000..e9d3e660684 --- /dev/null +++ b/dev-libs/libgpiod/metadata.xml @@ -0,0 +1,11 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + bluen...@gentoo.org + Anthony G. Basile + + + Build some useful gpio tools that use libgpiod. + +