dev-cpp/dpp: add coroutine support via USE flag

Signed-off-by: Filip Hoffmann <folosp2@gmail.com>
This commit is contained in:
Filip Hoffmann 2024-06-04 08:58:18 +02:00
parent f16b93e42f
commit 7c532767cd
No known key found for this signature in database
GPG Key ID: 4C188014A23EA572
2 changed files with 3 additions and 1 deletions

View File

@ -18,7 +18,7 @@ LICENSE="Apache-2.0"
# See https://github.com/brainboxdotcc/DPP/issues/207#issuecomment-1007030157 # See https://github.com/brainboxdotcc/DPP/issues/207#issuecomment-1007030157
SLOT="0/${PV}" SLOT="0/${PV}"
KEYWORDS="~amd64" KEYWORDS="~amd64"
IUSE="voice" IUSE="voice coro"
RDEPEND=" RDEPEND="
dev-libs/openssl:= dev-libs/openssl:=
@ -46,6 +46,7 @@ src_configure() {
-DDPP_BUILD_TEST=false -DDPP_BUILD_TEST=false
-DDPP_NO_VCPKG=true -DDPP_NO_VCPKG=true
-DDPP_USE_EXTERNAL_JSON=true -DDPP_USE_EXTERNAL_JSON=true
-DDPP_CORO="$(usex coro)"
) )
cmake_src_configure cmake_src_configure

View File

@ -10,6 +10,7 @@
</maintainer> </maintainer>
<use> <use>
<flag name="voice">Enable voice-chat support</flag> <flag name="voice">Enable voice-chat support</flag>
<flag name="coro">Enable coroutine support</flag>
</use> </use>
<upstream> <upstream>
<remote-id type="github">brainboxdotcc/dpp</remote-id> <remote-id type="github">brainboxdotcc/dpp</remote-id>