Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: libdpp-10.0.23_1
@ 2023-03-01  7:59 OoLunar
  2023-03-02 21:50 ` [PR PATCH] [Updated] " OoLunar
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: OoLunar @ 2023-03-01  7:59 UTC (permalink / raw)
  To: ml

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

There is a new 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: 2161 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] 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")'

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2023-06-27 11:55 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2023-06-27 11:55 ` [PR PATCH] [Closed]: " Duncaen

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).