Github messages for voidlinux
 help / color / mirror / Atom feed
From: JamiKettunen <JamiKettunen@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: neard-0.18
Date: Thu, 10 Feb 2022 11:52:46 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35502@inbox.vuxu.org> (raw)

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

There is a new pull request by JamiKettunen against master on the void-packages repository

https://github.com/JamiKettunen/void-packages neard
https://github.com/void-linux/void-packages/pull/35502

New package: neard-0.18
<!-- Uncomment relevant sections and delete options which are not applicable -->
I've verified the [PN544 NFC chip in my phone](https://gitlab.com/msm8998-mainline/linux/-/commit/41fa0860) functions just fine via this NFC daemon.

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From 035a9f2d5c8670603d3971d6de5b1e815621c70f Mon Sep 17 00:00:00 2001
From: Jami Kettunen <jami.kettunen@protonmail.com>
Date: Thu, 10 Feb 2022 09:54:01 +0200
Subject: [PATCH] New package: neard-0.18

---
 srcpkgs/neard-devel               |  1 +
 srcpkgs/neard/files/neard/log/run |  1 +
 srcpkgs/neard/files/neard/run     |  4 ++++
 srcpkgs/neard/template            | 34 +++++++++++++++++++++++++++++++
 4 files changed, 40 insertions(+)
 create mode 120000 srcpkgs/neard-devel
 create mode 120000 srcpkgs/neard/files/neard/log/run
 create mode 100644 srcpkgs/neard/files/neard/run
 create mode 100644 srcpkgs/neard/template

diff --git a/srcpkgs/neard-devel b/srcpkgs/neard-devel
new file mode 120000
index 000000000000..fac01218e66a
--- /dev/null
+++ b/srcpkgs/neard-devel
@@ -0,0 +1 @@
+neard
\ No newline at end of file
diff --git a/srcpkgs/neard/files/neard/log/run b/srcpkgs/neard/files/neard/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/neard/files/neard/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/neard/files/neard/run b/srcpkgs/neard/files/neard/run
new file mode 100644
index 000000000000..34da536577b2
--- /dev/null
+++ b/srcpkgs/neard/files/neard/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+sv check dbus >/dev/null || exit 1
+[ -f conf ] && . ./conf
+exec /usr/libexec/nfc/neard ${ARGS:--n}
diff --git a/srcpkgs/neard/template b/srcpkgs/neard/template
new file mode 100644
index 000000000000..006c98a6f7a1
--- /dev/null
+++ b/srcpkgs/neard/template
@@ -0,0 +1,34 @@
+# Template file for 'neard'
+pkgname=neard
+version=0.18
+revision=1
+build_style=gnu-configure
+configure_args="--disable-systemd --enable-tools"
+makedepends="glib-devel libnl-devel"
+hostmakedepends="autoconf autoconf-archive automake libtool pkg-config"
+short_desc="Near Field Communication (NFC) manager"
+maintainer="Jami Kettunen <jami.kettunen@protonmail.com>"
+license="GPL-2.0-only"
+homepage="https://github.com/linux-nfc/neard"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=c013e3115315e2e11d16b5f0f1c8ce9afbcdba26800aad91245fd9b4a5dc938b
+
+pre_configure() {
+	./bootstrap # generate configure script
+}
+
+post_install() {
+	vsv neard
+}
+
+neard-devel_package() {
+	depends="neard>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		# correct neard version.h install path
+		mv ${PKGDESTDIR}/usr/include/version.h \
+		   ${PKGDESTDIR}/usr/include/near
+		vmove usr/lib/pkgconfig
+	}
+}

             reply	other threads:[~2022-02-10 10:52 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-10 10:52 JamiKettunen [this message]
2022-02-10 10:53 ` [PR PATCH] [Updated] " JamiKettunen
2022-02-12 17:53 ` [PR REVIEW] " paper42
2022-02-12 17:53 ` paper42
2022-02-12 17:53 ` paper42
2022-02-12 17:53 ` paper42
2022-02-12 17:53 ` paper42
2022-02-13 14:42 ` JamiKettunen
2022-02-13 14:49 ` JamiKettunen
2022-02-13 15:20 ` [PR PATCH] [Updated] " JamiKettunen
2022-02-13 16:28 ` JamiKettunen
2022-02-13 16:28 ` [PR REVIEW] " JamiKettunen
2022-02-14  8:22 ` paper42
2022-02-14  8:23 ` [PR PATCH] [Merged]: " paper42

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35502@inbox.vuxu.org \
    --to=jamikettunen@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).