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: libdpp-10.0.23_1
Date: Thu, 02 Mar 2023 22:50:02 +0100	[thread overview]
Message-ID: <20230302215002.oi6-W4g8iN2WNS67k_w2AeUhdMnA6Psw6akbIdUmL08@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: 1065 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: libdpp-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: 2762 bytes --]

From 6a5c7b42035a9ffac409ee19ea07d74e044feec5 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

---
 srcpkgs/libdpp-devel    |  1 +
 srcpkgs/libdpp/template | 32 ++++++++++++++++++++++++++++++++
 srcpkgs/libdpp/update   |  2 ++
 3 files changed, 35 insertions(+)
 create mode 120000 srcpkgs/libdpp-devel
 create mode 100644 srcpkgs/libdpp/template
 create mode 100644 srcpkgs/libdpp/update

diff --git a/srcpkgs/libdpp-devel b/srcpkgs/libdpp-devel
new file mode 120000
index 000000000000..9176d7a850be
--- /dev/null
+++ b/srcpkgs/libdpp-devel
@@ -0,0 +1 @@
+libdpp
\ No newline at end of file
diff --git a/srcpkgs/libdpp/template b/srcpkgs/libdpp/template
new file mode 100644
index 000000000000..845dc12522b4
--- /dev/null
+++ b/srcpkgs/libdpp/template
@@ -0,0 +1,32 @@
+# Template file for 'libdpp'
+pkgname=libdpp
+version=10.0.23
+revision=1
+wrksrc=DPP-${version}
+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
+
+libdpp-devel_package() {
+	depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		# If the path already exists, remove it to prevent conflicts
+		filepath="${DESTDIR}/usr/lib/dpp-${version%.*}"
+		if [ -d $filepath ]; then
+			rm -r $filepath
+		fi
+
+		vmove usr/lib/pkgconfig
+		vmove usr/include
+		vmove "usr/lib/*.so"
+	}
+}
diff --git a/srcpkgs/libdpp/update b/srcpkgs/libdpp/update
new file mode 100644
index 000000000000..f88d641f9275
--- /dev/null
+++ b/srcpkgs/libdpp/update
@@ -0,0 +1,2 @@
+site="https://github.com/brainboxdotcc/DPP/tags"
+pattern='/archive/refs/tags/v\K[\d\.]+(?=\.tar\.gz")'

From 39f7a8b99204c9e0928785a514cd313f799dcdeb Mon Sep 17 00:00:00 2001
From: Lunar Starstrum <lunar@forsaken-borders.net>
Date: Thu, 2 Mar 2023 15:49:53 -0600
Subject: [PATCH 2/2] Remove workdir

---
 srcpkgs/libdpp/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/libdpp/template b/srcpkgs/libdpp/template
index 845dc12522b4..c8155ff098fc 100644
--- a/srcpkgs/libdpp/template
+++ b/srcpkgs/libdpp/template
@@ -2,7 +2,6 @@
 pkgname=libdpp
 version=10.0.23
 revision=1
-wrksrc=DPP-${version}
 build_style=cmake
 configure_args="-DDPP_USE_EXTERNAL_JSON=ON"
 cmake_builddir=build

  reply	other threads:[~2023-03-02 21:50 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-01  7:59 [PR PATCH] " OoLunar
2023-03-02 21:50 ` OoLunar [this message]
2023-03-03  2:46 ` [PR PATCH] [Updated] " 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
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=20230302215002.oi6-W4g8iN2WNS67k_w2AeUhdMnA6Psw6akbIdUmL08@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).