public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/
Date: Tue, 16 Aug 2022 14:12:31 +0000 (UTC)	[thread overview]
Message-ID: <1660659140.71322ac179aa1c261ce14331972c51b18cda7ab0.blueness@gentoo> (raw)

commit:     71322ac179aa1c261ce14331972c51b18cda7ab0
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 16 14:12:20 2022 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue Aug 16 14:12:20 2022 +0000
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 <blueness <AT> 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 000000000000..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
+}


             reply	other threads:[~2022-08-16 14:12 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-16 14:12 Anthony G. Basile [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-12 10:40 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpiod/ Yixun Lan
2024-05-15 13:29 Yixun Lan
2024-05-15 12:49 Sam James
2024-05-15 12:10 Sam James
2024-05-15 12:10 Sam James
2024-05-15 12:10 Sam James
2024-05-15 11:18 Yixun Lan
2024-05-15 11:18 Yixun Lan
2024-03-23  2:18 Yixun Lan
2024-03-23  1:15 Yixun Lan
2023-11-23 12:32 Yixun Lan
2023-09-22  5:53 Yixun Lan
2023-09-22  5:53 Yixun Lan
2023-09-22  5:53 Yixun Lan
2022-10-25 17:57 Sam James
2022-10-25 17:55 Sam James
2022-10-25 17:55 Sam James
2022-10-25 11:18 Sam James
2022-10-25 11:18 Sam James
2022-10-25 11:06 Sam James
2022-09-09  9:25 Sam James
2022-09-09  9:25 Sam James
2022-09-09  9:25 Sam James
2022-09-09  9:15 Sam James
2022-08-16 15:57 Anthony G. Basile
2022-07-28 14:14 Sam James
2022-07-21 14:54 Anthony G. Basile
2021-09-24 17:08 Anthony G. Basile
2021-09-24 17:08 Anthony G. Basile
2021-08-10 12:43 Marek Szuba
2021-01-09 10:36 Sam James
2020-06-09 13:53 Agostino Sarubbo
2020-06-09 13:47 Agostino Sarubbo
2020-06-09 13:45 Agostino Sarubbo
2020-06-09  4:23 Mart Raudsepp
2019-10-03 14:30 Anthony G. Basile
2019-04-21  3:05 Anthony G. Basile
2018-12-08 23:57 Anthony G. Basile
2018-09-16 10:29 Anthony G. Basile
2018-09-16 10:29 Anthony G. Basile
2018-04-06 14:59 Anthony G. Basile

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1660659140.71322ac179aa1c261ce14331972c51b18cda7ab0.blueness@gentoo \
    --to=blueness@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox