Github messages for voidlinux
 help / color / mirror / Atom feed
From: ruantu <ruantu@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: libgpiod-1.6.3
Date: Tue, 08 Jun 2021 09:24:02 +0200	[thread overview]
Message-ID: <20210608072402.6sRQ951ijrAAkPPQ5AlCEhzaLHxfFere8ffZDvEOi-0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31282@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1137 bytes --]

There is an updated pull request by ruantu against master on the void-packages repository

https://github.com/ruantu/void-packages new_package_libgpiod
https://github.com/void-linux/void-packages/pull/31282

New package: libgpiod-1.6.3
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (ARCH-LIBC)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] aarch64-musl
  - [x] armv7l
  - [x] armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/31282.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new_package_libgpiod-31282.patch --]
[-- Type: text/x-diff, Size: 2554 bytes --]

From 85b3c03f73be097b0a34ae200a8a0afd73e1ac7d Mon Sep 17 00:00:00 2001
From: "yd.zhang" <yd.zhang@ilabservice.com>
Date: Fri, 4 Jun 2021 18:07:00 +0800
Subject: [PATCH] New package: libgpiod-1.6.3

---
 common/shlibs             |  1 +
 srcpkgs/libgpiod-devel    |  1 +
 srcpkgs/libgpiod-tools    |  1 +
 srcpkgs/libgpiod/template | 39 +++++++++++++++++++++++++++++++++++++++
 4 files changed, 42 insertions(+)
 create mode 120000 srcpkgs/libgpiod-devel
 create mode 120000 srcpkgs/libgpiod-tools
 create mode 100644 srcpkgs/libgpiod/template

diff --git a/common/shlibs b/common/shlibs
index ba589537b1f3..c7de2f66b8e0 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4007,3 +4007,4 @@ libbasu.so.0 basu-0.2.0_1
 libXcomp.so.3 nx-libs-3.5.99.24_1
 libXcompshad.so.3 nx-libs-3.5.99.24_1
 libNX_X11.so.6 nx-libs-3.5.99.24_1
+libgpiod.so.2 libgpiod-1.6.3_1
diff --git a/srcpkgs/libgpiod-devel b/srcpkgs/libgpiod-devel
new file mode 120000
index 000000000000..79aeec1f099c
--- /dev/null
+++ b/srcpkgs/libgpiod-devel
@@ -0,0 +1 @@
+libgpiod
\ No newline at end of file
diff --git a/srcpkgs/libgpiod-tools b/srcpkgs/libgpiod-tools
new file mode 120000
index 000000000000..79aeec1f099c
--- /dev/null
+++ b/srcpkgs/libgpiod-tools
@@ -0,0 +1 @@
+libgpiod
\ No newline at end of file
diff --git a/srcpkgs/libgpiod/template b/srcpkgs/libgpiod/template
new file mode 100644
index 000000000000..a66faaea48b1
--- /dev/null
+++ b/srcpkgs/libgpiod/template
@@ -0,0 +1,39 @@
+# Template file for 'libgpiod'
+pkgname=libgpiod
+version=1.6.3
+revision=1
+build_style=gnu-configure
+configure_args="--disable-static --enable-tools --disable-tests --disable-bindings-cxx --disable-bindings-python"
+hostmakedepends="automake autoconf-archive libtool pkg-config help2man"
+short_desc="C library and tools for interacting with the linux GPIO character device"
+maintainer="yd.zhang <yd.zhang@ilabservice.com>"
+license="GPL-2.0-or-later"
+homepage="https://git.kernel.org/pub/scm/libs/${pkgname}/${pkgname}.git"
+distfiles="${homepage}/snapshot/${pkgname}-${version}.tar.gz"
+checksum=eb446070be1444fd7d32d32bbca53c2f3bbb0a21193db86198cf6050b7a28441
+
+pre_configure() {
+	NOCONFIGURE=1 ./autogen.sh
+}
+
+post_install() {
+	vlicense COPYING
+}
+
+libgpiod-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}-${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.so"
+		vmove usr/lib/pkgconfig
+	}
+}
+
+libgpiod-tools_package() {
+	short_desc+=" - tools"
+	pkg_install() {
+		vmove usr/bin
+		vmove usr/share/
+	}
+}

  reply	other threads:[~2021-06-08  7:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-04 10:09 [PR PATCH] " ruantu
2021-06-08  7:24 ` ruantu [this message]
2021-08-22  6:31 ` [PR PATCH] [Closed]: " ruantu

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=20210608072402.6sRQ951ijrAAkPPQ5AlCEhzaLHxfFere8ffZDvEOi-0@z \
    --to=ruantu@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).