summaryrefslogtreecommitdiff
path: root/dev-cpp
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-06-04 17:49:15 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-06-04 17:49:15 +0000
commit7535e765bdf18b56c4107257e540b93a4e6e0529 (patch)
treec82bfe596b8b66932e431c3f4fcc966ddebff405 /dev-cpp
parent3c7592d800cc6a4f3c2f785d9e42cf8608691296 (diff)
downloadbaldeagleos-repo-7535e765bdf18b56c4107257e540b93a4e6e0529.tar.gz
baldeagleos-repo-7535e765bdf18b56c4107257e540b93a4e6e0529.tar.xz
baldeagleos-repo-7535e765bdf18b56c4107257e540b93a4e6e0529.zip
Adding metadata
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/argparse/Manifest1
-rw-r--r--dev-cpp/argparse/argparse-3.0.ebuild29
-rw-r--r--dev-cpp/dpp/Manifest1
-rw-r--r--dev-cpp/dpp/dpp-10.0.30.ebuild53
-rw-r--r--dev-cpp/dpp/metadata.xml5
5 files changed, 89 insertions, 0 deletions
diff --git a/dev-cpp/argparse/Manifest b/dev-cpp/argparse/Manifest
index 02766a54f2de..83cbe67bcf5b 100644
--- a/dev-cpp/argparse/Manifest
+++ b/dev-cpp/argparse/Manifest
@@ -1 +1,2 @@
DIST argparse-2.9.tar.gz 103147 BLAKE2B 2862acd7dc43dea0f7a7a1e6c9541ec8e7b7ecc70ce72ad327b34f72a330799475490e7da4e3a07c9ab28ddec4f88911514690c8b438f36d7c02704fe26b0f08 SHA512 fa471e7d8c448510376e79927496f62775e6ed37e1dffefd607839e6005dfbc61125d0e18bfc1ff20f86cef7efd75339d7bb143dc6574d988f83c7c96896fa5f
+DIST argparse-3.0.tar.gz 116171 BLAKE2B 55a9aeaddf8ddaf8fa3e99d2ce3145a09c0ebfe927150928db683162e2227a61a2e7fbf8d272346e11912ece2cbdba313790586bd49c89352a03f0cafd01c3c9 SHA512 a7ed879eb3f71868cd84e513c0db63c4fecff1c9f0b34d6cfbe85d2439e83b80e97f713b497259c9775c9c7c1f639a08b73080045c51756de15e3d8c18b97116
diff --git a/dev-cpp/argparse/argparse-3.0.ebuild b/dev-cpp/argparse/argparse-3.0.ebuild
new file mode 100644
index 000000000000..478612f014e0
--- /dev/null
+++ b/dev-cpp/argparse/argparse-3.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Argument Parser for Modern C++"
+HOMEPAGE="https://github.com/p-ranav/argparse"
+SRC_URI="https://github.com/p-ranav/argparse/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+src_configure() {
+ local mycmakeargs=(
+ -DARGPARSE_BUILD_TESTS=$(usex test)
+ )
+
+ cmake_src_configure
+}
+
+src_test() {
+ cd "${BUILD_DIR}"/test || die
+ ./tests || die
+}
diff --git a/dev-cpp/dpp/Manifest b/dev-cpp/dpp/Manifest
index 2fbae9794bb4..493816edf9b7 100644
--- a/dev-cpp/dpp/Manifest
+++ b/dev-cpp/dpp/Manifest
@@ -2,3 +2,4 @@ DIST dpp-10.0.23.tar.gz 13721815 BLAKE2B abbe6849025270554f8462dcbef6adefff412ee
DIST dpp-10.0.24.tar.gz 13739463 BLAKE2B 0531d9d14b943302293aac62a3972a4628487332107b77ca6d09ae39ae8a9d1cfeceae1a656790cc8699932af9c5d46a0ae5bc26885a9c29cc970388cdb60f3f SHA512 2f1e5415c121d5f19d2abb1b389512ad22c3cac6779ed897403d430b2c4e62c758ab25d46a3fd02538add711073fadd616a690b4981f3782e46c18ff05d116dc
DIST dpp-10.0.25.tar.gz 14312767 BLAKE2B 52263024ad615198fe901f3cc79290e1b88c4e44c22c318fb7df2e9a3d4069611282b18650602f29f40bff3b042b16d0b8a47b8d3ff9c5b5ea89fa9514777609 SHA512 49cb6fedcb75d3dd146243f46f9e34cfe79e1c9a6ae76fc69c8c6935d9a10ccf562452311085791674ff659913befe1dc6f8a191b518d45151cb23d779396572
DIST dpp-10.0.29.tar.gz 15560520 BLAKE2B 491730da342e2db08e061ec71d5488be3c23addc4ef5ae537631a83d3a461a53f34033da72d387f8202c45d529d39ff6bcc70e8a69f94006b2e1fb607aed2d23 SHA512 fcb9b8181827fc63fb2f9aff44e697d18a0bfd94714888492a63a04e0112f42f9506bfab8181e822aa5ce85e6b6a8aa44e0774baeac3e52c3f41348cbf55a76a
+DIST dpp-10.0.30.tar.gz 15726421 BLAKE2B 647571d5c7434c3b5636a66a3365d2af8b2d11c81165666d3df2b2ad36d4b61b683a8e3c7ef304fba96a4ac365365272fffa3f0d7d05f697dfe48ba7f972ced6 SHA512 4842e5e688893275e524f998bdcac1d308165a02c280f69eaa898aa8f9986a97fe687e20e3428f30777c49f1feb47905da462bbdba8c9a5ea00067e560208f91
diff --git a/dev-cpp/dpp/dpp-10.0.30.ebuild b/dev-cpp/dpp/dpp-10.0.30.ebuild
new file mode 100644
index 000000000000..bcd01655833e
--- /dev/null
+++ b/dev-cpp/dpp/dpp-10.0.30.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 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
+"
+
+S="${WORKDIR}/DPP-${PV}"
+
+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 coro"
+
+RDEPEND="
+ dev-libs/openssl:=
+ sys-libs/zlib:=
+
+ voice? (
+ dev-libs/libsodium:=
+ media-libs/opus
+ )
+"
+DEPEND="
+ ${RDEPEND}
+
+ dev-cpp/nlohmann_json
+"
+
+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
+ -DDPP_USE_EXTERNAL_JSON=true
+ -DDPP_CORO="$(usex coro)"
+ )
+
+ cmake_src_configure
+}
diff --git a/dev-cpp/dpp/metadata.xml b/dev-cpp/dpp/metadata.xml
index 4cb6107318df..62a4a2a32a9e 100644
--- a/dev-cpp/dpp/metadata.xml
+++ b/dev-cpp/dpp/metadata.xml
@@ -8,9 +8,14 @@
<maintainer type="person">
<email>samuel@seals-are-bouncy.tech</email>
</maintainer>
+ <maintainer type="person">
+ <email>folosp2@gmail.com</email>
+ <name>Filip Hoffmann</name>
+ </maintainer>
<use>
<flag name="voice">Enable voice-chat support</flag>
+ <flag name="coro">Enable coroutine support</flag>
</use>
<origin>gentoo-guru-overlay</origin>
</pkgmetadata> \ No newline at end of file