dev-cpp/dpp - 10.1.5 (guru)

Search

Install

Install this version:

emerge -a =dev-cpp/dpp-10.1.5

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-cpp/dpp-10.1.5

Or alternatively:

emerge --autounmask-write -a =dev-cpp/dpp-10.1.5

Package Information

Description:
Lightweight C++ Discord bot library
Homepage:
https://dpp.dev/ https://github.com/brainboxdotcc/DPP
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
10.1.5 8 ~amd64 0/10.1.5
View Raw Ebuild
# Copyright 1999-2025 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:=
	virtual/zlib:=

	voice? (
		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_NO_CORO="$(usex !coro)" # set DPP_NO_CORO if coroutines disabled.
	)

	cmake_src_configure
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-cpp/dpp | euse -E <flag> -p dev-cpp/dpp | euse -D <flag> -p dev-cpp/dpp

Global/Standard Flags

coro
Default: Enabled (+)

Inherited Eclasses

Dependencies

DEPEND

	
	dev-libs/openssl:=
	virtual/zlib:=

	voice? (
		media-libs/opus
	)


	dev-cpp/nlohmann_json

RDEPEND

	dev-libs/openssl:=
	virtual/zlib:=

	voice? (
		media-libs/opus
	)

Manifest for 10.1.5

Type File Size Source URLs
DIST dpp-10.1.5.tar.gz 21026323 bytes https://github.com/brainboxdotcc/DPP/archive/refs/tags/v10.1.5.tar.gz