commit: 7c532767cd17e89226e9d9619d28c04ea43a7feb Author: Filip Hoffmann <folosp2 <AT> gmail <DOT> com> AuthorDate: Tue Jun 4 06:58:18 2024 +0000 Commit: Filip Hoffmann <folosp2 <AT> gmail <DOT> com> CommitDate: Tue Jun 4 06:58:18 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7c532767
dev-cpp/dpp: add coroutine support via USE flag Signed-off-by: Filip Hoffmann <folosp2 <AT> gmail.com> dev-cpp/dpp/dpp-10.0.30.ebuild | 3 ++- dev-cpp/dpp/metadata.xml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-cpp/dpp/dpp-10.0.30.ebuild b/dev-cpp/dpp/dpp-10.0.30.ebuild index 04c891383..6904bfef4 100644 --- a/dev-cpp/dpp/dpp-10.0.30.ebuild +++ b/dev-cpp/dpp/dpp-10.0.30.ebuild @@ -18,7 +18,7 @@ LICENSE="Apache-2.0" # See https://github.com/brainboxdotcc/DPP/issues/207#issuecomment-1007030157 SLOT="0/${PV}" KEYWORDS="~amd64" -IUSE="voice" +IUSE="voice coro" RDEPEND=" dev-libs/openssl:= @@ -46,6 +46,7 @@ src_configure() { -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 fe0768594..1316324eb 100644 --- a/dev-cpp/dpp/metadata.xml +++ b/dev-cpp/dpp/metadata.xml @@ -10,6 +10,7 @@ </maintainer> <use> <flag name="voice">Enable voice-chat support</flag> + <flag name="coro">Enable coroutine support</flag> </use> <upstream> <remote-id type="github">brainboxdotcc/dpp</remote-id>
