summaryrefslogtreecommitdiff
path: root/dev-cpp
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-01-06 13:44:35 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-01-06 13:44:35 +0000
commit8d60087a92d02932d30bb6d5a78354726ca91e6d (patch)
treea16964ed5b86488d9c4695b72c2c9b8cb0fc40d3 /dev-cpp
parent6a0b0ec2d4ea0a9161ec870a8c70e698fc4ba074 (diff)
downloadbaldeagleos-repo-8d60087a92d02932d30bb6d5a78354726ca91e6d.tar.gz
baldeagleos-repo-8d60087a92d02932d30bb6d5a78354726ca91e6d.tar.xz
baldeagleos-repo-8d60087a92d02932d30bb6d5a78354726ca91e6d.zip
Adding metadata
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/cli11/Manifest2
-rw-r--r--dev-cpp/cli11/cli11-2.3.2.ebuild (renamed from dev-cpp/cli11/cli11-2.3.0.ebuild)0
-rw-r--r--dev-cpp/dpp/Manifest3
-rw-r--r--dev-cpp/dpp/dpp-10.0.21.ebuild63
-rw-r--r--dev-cpp/dpp/dpp-10.0.22.ebuild47
-rw-r--r--dev-cpp/dpp/metadata.xml16
6 files changed, 130 insertions, 1 deletions
diff --git a/dev-cpp/cli11/Manifest b/dev-cpp/cli11/Manifest
index d0c8ce30ef6f..57973662c248 100644
--- a/dev-cpp/cli11/Manifest
+++ b/dev-cpp/cli11/Manifest
@@ -1,2 +1,2 @@
-DIST cli11-2.3.0.tar.gz 300720 BLAKE2B 77de82e10c973b40bb180e79b3fed7e747e2efb0937a2bdd8cc7349814733fc055282adc3f17a0b340e106f088dfba8dd08bc2c82f872c03c4e76e8f20dd3396 SHA512 82232a1390485f36ea65bc964a22bacd42caa92eae704ab08407d483e42db56816bea1c68ed233e511fc057fd88bd5313d3c6247dc2d6dfcf38127a9b86f2aa8
DIST cli11-2.3.1.tar.gz 301615 BLAKE2B f5045a50a736aa7add0e21f95b76abbabe191eaa36bf68eb1e05c90343327c6343774b5f34daa281a4ff52230679a44d280eddbc3cef0abe5bce8454d7c98ec9 SHA512 7805a3bff5ce443e93a005341680db1e618d5b0789a697daaac881f9ccac76f855ea3d43c9c5b13c33c2bf590138241df9e55d70e133562272f0859d8341af09
+DIST cli11-2.3.2.tar.gz 303507 BLAKE2B 68a1ca97fb55a4329f7d56a7d661f71f356bebcb0878421bccb18093aab171cff963f4e3e8f47b95cac4947ebbd7c7d6c853cc28e404c07091685ba1e99ac8d3 SHA512 f48b289d52034c47b90db58c035a123b464bed488cf31bcdbe10a692214a5c05e62b99d6fb7c4b065f42df862ecf3813f11dd533b3697939d761e99d2b89c2ec
diff --git a/dev-cpp/cli11/cli11-2.3.0.ebuild b/dev-cpp/cli11/cli11-2.3.2.ebuild
index 793ca37ab4aa..793ca37ab4aa 100644
--- a/dev-cpp/cli11/cli11-2.3.0.ebuild
+++ b/dev-cpp/cli11/cli11-2.3.2.ebuild
diff --git a/dev-cpp/dpp/Manifest b/dev-cpp/dpp/Manifest
new file mode 100644
index 000000000000..e250f4a890b7
--- /dev/null
+++ b/dev-cpp/dpp/Manifest
@@ -0,0 +1,3 @@
+DIST dpp-10.0.21-fix-install.patch 4090 BLAKE2B b4177190fb620952619ed5a0e4147a9adde4871f00643129b1f1140152718816cbcc1099c25e0b350c65ede56c2c5f373aeaf6345c382ba953c3ad32e9e3f2fd SHA512 8dd9a5f7db0097bc7de8e0a50253bc144786786331e3cfbfb00884925c41746e7a81bd2f87254d3bcc8d72bb820415bd92013cd0968950533bffa382bc53f279
+DIST dpp-10.0.21.tar.gz 13706441 BLAKE2B e7e68d4d121d17ad840790f14375ddc4e3c95c56ced03a90667b8b838205f3e46162bc9d60ea33d50a619335c7395318a9dd47583eddca3e73481879fe35f393 SHA512 a335886cdde5772b5602426e68c50d91e921cd127bcb918066c450b39fc5b0cf87ae692096140e76176d87265bd0d9de1fbb9d808a1f217dc2c8ef27210ad57f
+DIST dpp-10.0.22.tar.gz 13712205 BLAKE2B b935b763f87bfd1058e72f8d297fda136f532a03a5b9f3a6e3471f0ce64988c9615105fb1eb9b19192844cdaab9d332f355dfc22f8bcdbf977eec3eb5f0b8df3 SHA512 6c71673b47d559ef4f04b30cd72a3bd0a31b72ffe6d73dd17470a7e754eba75d21218ebd247702441db45549e5dcea9b200f3d435dd3a9af76fda90740ca4f1a
diff --git a/dev-cpp/dpp/dpp-10.0.21.ebuild b/dev-cpp/dpp/dpp-10.0.21.ebuild
new file mode 100644
index 000000000000..f8bb48f57637
--- /dev/null
+++ b/dev-cpp/dpp/dpp-10.0.21.ebuild
@@ -0,0 +1,63 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Lightweight C++ Discord bot library"
+HOMEPAGE="https://dpp.dev/ https://github.com/brainboxdotcc/DPP"
+SRC_URI="
+ https://github.com/brainboxdotcc/DPP/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+ https://patch-diff.githubusercontent.com/raw/brainboxdotcc/DPP/pull/591.patch -> ${P}-fix-install.patch
+"
+
+LICENSE="Apache-2.0"
+# DPP is extremely ABI instable due to frequent changes in the Discord API
+# See https://github.com/brainboxdotcc/DPP/issues/207#issuecomment-1007030157
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="voice"
+
+RDEPEND="
+ dev-libs/openssl:=
+ sys-libs/zlib:=
+
+ voice? (
+ dev-libs/libsodium:=
+ media-libs/opus
+ )
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ # Backport of the installation fixes, remove after 10.0.21
+ "${DISTDIR}/${P}-fix-install.patch"
+)
+
+S="${WORKDIR}/DPP-${PV}"
+
+DOCS=( "README.md" "SECURITY.md" )
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_SHARED_LIBS=true
+ -DBUILD_VOICE_SUPPORT=$(usex voice)
+ -DRUN_LDCONFIG=false
+ # Tests require network access
+ -DDPP_BUILD_TEST=false
+ -DDPP_NO_VCPKG=true
+ )
+
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ # Installation fix, remove after 10.0.21
+ mv \
+ "${ED}"/usr/$(get_libdir)/cmake/dpp/libdpp-config.cmake \
+ "${ED}"/usr/$(get_libdir)/cmake/dpp/dpp-config.cmake \
+ || die "Failed to fix libdpp.cmake file name"
+}
diff --git a/dev-cpp/dpp/dpp-10.0.22.ebuild b/dev-cpp/dpp/dpp-10.0.22.ebuild
new file mode 100644
index 000000000000..6efc34565e8e
--- /dev/null
+++ b/dev-cpp/dpp/dpp-10.0.22.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Lightweight C++ Discord bot library"
+HOMEPAGE="https://dpp.dev/ https://github.com/brainboxdotcc/DPP"
+SRC_URI="
+ https://github.com/brainboxdotcc/DPP/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+"
+
+LICENSE="Apache-2.0"
+# DPP is extremely ABI instable due to frequent changes in the Discord API
+# See https://github.com/brainboxdotcc/DPP/issues/207#issuecomment-1007030157
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="voice"
+
+RDEPEND="
+ dev-libs/openssl:=
+ sys-libs/zlib:=
+
+ voice? (
+ dev-libs/libsodium:=
+ media-libs/opus
+ )
+"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/DPP-${PV}"
+
+DOCS=( "README.md" "SECURITY.md" )
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_SHARED_LIBS=true
+ -DBUILD_VOICE_SUPPORT=$(usex voice)
+ -DRUN_LDCONFIG=false
+ # Tests require network access
+ -DDPP_BUILD_TEST=false
+ -DDPP_NO_VCPKG=true
+ )
+
+ cmake_src_configure
+}
diff --git a/dev-cpp/dpp/metadata.xml b/dev-cpp/dpp/metadata.xml
new file mode 100644
index 000000000000..4cb6107318df
--- /dev/null
+++ b/dev-cpp/dpp/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>nex+b-g-o@nexadn.de</email>
+ <name>Adrian Schollmeyer</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>samuel@seals-are-bouncy.tech</email>
+ </maintainer>
+
+ <use>
+ <flag name="voice">Enable voice-chat support</flag>
+ </use>
+ <origin>gentoo-guru-overlay</origin>
+</pkgmetadata> \ No newline at end of file