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: nng-1.4.0
Date: Wed, 09 Jun 2021 05:16:59 +0200	[thread overview]
Message-ID: <20210609031659.GedbKl56sloFpjqmX_4vigeZtlSLfU5KH2wv0vr1JP4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31356@inbox.vuxu.org>

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

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

https://github.com/ruantu/void-packages new_package_nng
https://github.com/void-linux/void-packages/pull/31356

New Package: nng-1.4.0
#### 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

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

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

From 16f80ef01cefe843b6e14b79952e3163cbcf24f8 Mon Sep 17 00:00:00 2001
From: "yd.zhang" <yd.zhang@ilabservice.com>
Date: Tue, 8 Jun 2021 13:30:03 +0800
Subject: [PATCH] New Package: nng-1.4.0

---
 common/shlibs        |  1 +
 srcpkgs/nng-devel    |  1 +
 srcpkgs/nng-doc      |  1 +
 srcpkgs/nng-tools    |  1 +
 srcpkgs/nng/template | 58 ++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 62 insertions(+)
 create mode 120000 srcpkgs/nng-devel
 create mode 120000 srcpkgs/nng-doc
 create mode 120000 srcpkgs/nng-tools
 create mode 100644 srcpkgs/nng/template

diff --git a/common/shlibs b/common/shlibs
index 7cfb4f583c9c..27ebc0a91aff 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
+libnng.so.1 nng-1.4.0_1
diff --git a/srcpkgs/nng-devel b/srcpkgs/nng-devel
new file mode 120000
index 000000000000..cb46bd461484
--- /dev/null
+++ b/srcpkgs/nng-devel
@@ -0,0 +1 @@
+nng
\ No newline at end of file
diff --git a/srcpkgs/nng-doc b/srcpkgs/nng-doc
new file mode 120000
index 000000000000..cb46bd461484
--- /dev/null
+++ b/srcpkgs/nng-doc
@@ -0,0 +1 @@
+nng
\ No newline at end of file
diff --git a/srcpkgs/nng-tools b/srcpkgs/nng-tools
new file mode 120000
index 000000000000..cb46bd461484
--- /dev/null
+++ b/srcpkgs/nng-tools
@@ -0,0 +1 @@
+nng
\ No newline at end of file
diff --git a/srcpkgs/nng/template b/srcpkgs/nng/template
new file mode 100644
index 000000000000..5ca28dcddfb7
--- /dev/null
+++ b/srcpkgs/nng/template
@@ -0,0 +1,58 @@
+# Template file for 'nng'
+pkgname=nng
+version=1.4.0
+revision=1
+build_style=cmake
+configure_args="-DNNG_TOOLS=ON -DNNG_ENABLE_TLS=ON -DNNG_ENABLE_DOC=ON -DBUILD_SHARED_LIBS=ON"
+hostmakedepends="ruby-asciidoctor"
+makedepends="mbedtls-devel"
+checkdepends="iana-etc"
+short_desc="Nanomsg-next-generation -- light-weight brokerless messaging"
+maintainer="yd.zhang <yd.zhang@ilabservice.com>"
+license="MIT"
+homepage="https://nng.nanomsg.org/"
+distfiles="https://github.com/nanomsg/nng/archive/refs/tags/v${version}.tar.gz"
+checksum=e0af76aff291c670d091a07a4e71febf7b7a254f1ab5939f9464ccbd8f8aa2ba
+
+if [ "$CROSS_BUILD" ]; then
+	configure_args+=" -DNNG_TESTS=OFF"
+else
+	configure_args+=" -DNNG_TESTS=ON"
+fi
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+fi
+
+post_install() {
+	vlicense LICENSE.txt
+}
+
+nng-doc_package() {
+	short_desc+=" - documentation"
+	pkg_install() {
+		vmove usr/share/doc
+	}
+}
+
+nng-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}-${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.so"
+		vmove usr/lib/cmake
+		vmove usr/share/man/man3
+		vmove "usr/share/man/man3*"
+		vmove usr/share/man/man5
+		vmove usr/share/man/man7
+	}
+}
+
+nng-tools_package() {
+	short_desc+=" - tools"
+	pkg_install() {
+		vmove usr/bin
+		vmove usr/share/man/man1
+	}
+}

  parent reply	other threads:[~2021-06-09  3:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-08  6:57 [PR PATCH] " ruantu
2021-06-08  7:26 ` [PR PATCH] [Updated] " ruantu
2021-06-08 12:35 ` [PR REVIEW] " ericonr
2021-06-08 16:35 ` ruantu
2021-06-09  2:26 ` [PR PATCH] [Updated] " ruantu
2021-06-09  3:10 ` ruantu
2021-06-09  3:16 ` ruantu [this message]
2021-08-22  6:31 ` [PR PATCH] [Closed]: " ruantu
  -- strict thread matches above, loose matches on Subject: below --
2021-06-04  8:55 [PR PATCH] New package: nng-1.4.0 ruantu
2021-06-07  2:33 ` [PR PATCH] [Updated] " 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=20210609031659.GedbKl56sloFpjqmX_4vigeZtlSLfU5KH2wv0vr1JP4@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).