Github messages for voidlinux
 help / color / mirror / Atom feed
From: OoLunar <OoLunar@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: dpp-10.0.23_1
Date: Sat, 01 Apr 2023 21:44:02 +0200	[thread overview]
Message-ID: <20230401194402.Xqcs58es01AK436_nrvBIDH34Eb3IllkJKjtGYJDfSs@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42521@inbox.vuxu.org>

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

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

https://github.com/OoLunar/void-packages master
https://github.com/void-linux/void-packages/pull/42521

New package: dpp-10.0.23_1
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-LIBC)

#### About
Libdpp is a C++ lightweight and scalable Discord library. With full support for all of the Discord API, we believe we're ready to be put into the Void Linux repositories for use by our users. We've done our best to comply with the guidelines, however please let me know if there are any improvements I could make to this PR.

#### Notes
Previous PRs (by others): #38601, #37554

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

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

From 71ce6b126be33672c1c8d340f994fb7a654938d0 Mon Sep 17 00:00:00 2001
From: Lunar Starstrum <lunar@forsaken-borders.net>
Date: Wed, 1 Mar 2023 01:32:52 -0600
Subject: [PATCH 1/2] New package: libdpp-10.0.23_1

* Remove workdir

* rename libdpp to dpp

* Remove unnecessary if statement
---
 srcpkgs/dpp-devel    |  1 +
 srcpkgs/dpp/template | 25 +++++++++++++++++++++++++
 srcpkgs/dpp/update   |  2 ++
 3 files changed, 28 insertions(+)
 create mode 120000 srcpkgs/dpp-devel
 create mode 100644 srcpkgs/dpp/template
 create mode 100644 srcpkgs/dpp/update

diff --git a/srcpkgs/dpp-devel b/srcpkgs/dpp-devel
new file mode 120000
index 000000000000..cb34bf275a0a
--- /dev/null
+++ b/srcpkgs/dpp-devel
@@ -0,0 +1 @@
+dpp
\ No newline at end of file
diff --git a/srcpkgs/dpp/template b/srcpkgs/dpp/template
new file mode 100644
index 000000000000..3af0bafcbc32
--- /dev/null
+++ b/srcpkgs/dpp/template
@@ -0,0 +1,25 @@
+# Template file for 'dpp'
+pkgname=dpp
+version=10.0.23
+revision=1
+build_style=cmake
+configure_args="-DDPP_USE_EXTERNAL_JSON=ON"
+cmake_builddir=build
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel opus-devel zlib-devel openssl-devel json-c++"
+short_desc="C++ Discord API Library for Bots"
+maintainer="Lunar Starstrum <lunar@forsaken-borders.net>"
+license=Apache-2.0
+homepage="https://dpp.dev"
+distfiles="https://github.com/brainboxdotcc/DPP/archive/refs/tags/v${version}.tar.gz"
+checksum=8f9db61c3586a492ada378235300c509e3bc2fc090cef32de0a8241741038df0
+
+dpp-devel_package() {
+	depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/lib/pkgconfig
+		vmove usr/include
+		vmove "usr/lib/*.so"
+	}
+}
diff --git a/srcpkgs/dpp/update b/srcpkgs/dpp/update
new file mode 100644
index 000000000000..f88d641f9275
--- /dev/null
+++ b/srcpkgs/dpp/update
@@ -0,0 +1,2 @@
+site="https://github.com/brainboxdotcc/DPP/tags"
+pattern='/archive/refs/tags/v\K[\d\.]+(?=\.tar\.gz")'

From c8f59258265770d6da0dcbb3722ac5db583bcd47 Mon Sep 17 00:00:00 2001
From: Lunar Starstrum <lunar@forsaken-borders.net>
Date: Sun, 5 Mar 2023 23:17:11 -0600
Subject: [PATCH 2/2] Update srcpkgs/dpp/template

Co-authored-by: Michal Vasilek <michal@vasilek.cz>
---
 srcpkgs/dpp/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/dpp/template b/srcpkgs/dpp/template
index 3af0bafcbc32..ef51845bb453 100644
--- a/srcpkgs/dpp/template
+++ b/srcpkgs/dpp/template
@@ -15,7 +15,7 @@ distfiles="https://github.com/brainboxdotcc/DPP/archive/refs/tags/v${version}.ta
 checksum=8f9db61c3586a492ada378235300c509e3bc2fc090cef32de0a8241741038df0
 
 dpp-devel_package() {
-	depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"
 	pkg_install() {
 		vmove usr/lib/pkgconfig

  parent reply	other threads:[~2023-04-01 19:44 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-01  7:59 [PR PATCH] New package: libdpp-10.0.23_1 OoLunar
2023-03-02 21:50 ` [PR PATCH] [Updated] " OoLunar
2023-03-03  2:46 ` OoLunar
2023-03-03  3:30 ` OoLunar
2023-03-03 17:23 ` [PR REVIEW] New package: dpp-10.0.23_1 paper42
2023-03-03 17:26 ` OoLunar
2023-03-03 17:35 ` paper42
2023-03-04  1:48 ` OoLunar
2023-03-04  1:49 ` OoLunar
2023-03-04 22:20 ` paper42
2023-03-06  2:50 ` OoLunar
2023-03-06  2:52 ` [PR PATCH] [Updated] " OoLunar
2023-03-06  5:06 ` [PR REVIEW] " paper42
2023-03-06  5:17 ` [PR PATCH] [Updated] " OoLunar
2023-04-01 19:44 ` OoLunar [this message]
2023-06-27 11:55 ` [PR PATCH] [Closed]: " Duncaen

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=20230401194402.Xqcs58es01AK436_nrvBIDH34Eb3IllkJKjtGYJDfSs@z \
    --to=oolunar@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).