diff options
author | Filip Hoffmann <folosp2@gmail.com> | 2024-06-04 08:58:18 +0200 |
---|---|---|
committer | Filip Hoffmann <folosp2@gmail.com> | 2024-06-04 08:58:18 +0200 |
commit | 7c532767cd17e89226e9d9619d28c04ea43a7feb (patch) | |
tree | 10d7be5c979e93bb3508f704bf77d3f9aecc226c /dev-cpp | |
parent | dev-cpp/dpp: add 10.0.30 (diff) | |
download | guru-7c532767cd17e89226e9d9619d28c04ea43a7feb.tar.gz guru-7c532767cd17e89226e9d9619d28c04ea43a7feb.tar.bz2 guru-7c532767cd17e89226e9d9619d28c04ea43a7feb.zip |
dev-cpp/dpp: add coroutine support via USE flag
Signed-off-by: Filip Hoffmann <folosp2@gmail.com>
Diffstat (limited to 'dev-cpp')
-rw-r--r-- | dev-cpp/dpp/dpp-10.0.30.ebuild | 3 | ||||
-rw-r--r-- | dev-cpp/dpp/metadata.xml | 1 |
2 files changed, 3 insertions, 1 deletions
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> |