commit:     f07f484ee6848eff2b21dd10905f6ce327f70dae
Author:     Pavel Sobolev <contact <AT> paveloom <DOT> dev>
AuthorDate: Fri Oct 31 19:51:16 2025 +0000
Commit:     Pavel Sobolev <contact <AT> paveloom <DOT> dev>
CommitDate: Sun Nov  2 19:36:23 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f07f484e

games-emulation/eden: depend on `httplib` for the `discord` USE flag

Signed-off-by: Pavel Sobolev <contact <AT> paveloom.dev>

 games-emulation/eden/eden-0.0.3.ebuild                                 | 1 +
 .../eden/files/eden-0.0.3-use-the-system-discord-rpc-library.patch     | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/games-emulation/eden/eden-0.0.3.ebuild 
b/games-emulation/eden/eden-0.0.3.ebuild
index dac6d98542..d9fcfb0c7d 100644
--- a/games-emulation/eden/eden-0.0.3.ebuild
+++ b/games-emulation/eden/eden-0.0.3.ebuild
@@ -49,6 +49,7 @@ RDEPEND="
        camera? ( dev-qt/qtmultimedia:6 )
        cubeb? ( media-libs/cubeb )
        discord? (
+               dev-cpp/cpp-httplib:=[ssl]
                dev-libs/discord-rpc
                dev-qt/qtbase:6[network]
        )

diff --git 
a/games-emulation/eden/files/eden-0.0.3-use-the-system-discord-rpc-library.patch
 
b/games-emulation/eden/files/eden-0.0.3-use-the-system-discord-rpc-library.patch
index 38faa5df04..1fc6d6211e 100644
--- 
a/games-emulation/eden/files/eden-0.0.3-use-the-system-discord-rpc-library.patch
+++ 
b/games-emulation/eden/files/eden-0.0.3-use-the-system-discord-rpc-library.patch
@@ -5,7 +5,7 @@ Signed-off-by: Pavel Sobolev <[email protected]>
 
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -499,10 +499,7 @@ endif()
+@@ -499,10 +499,8 @@ endif()
  
  # DiscordRPC
  if (USE_DISCORD_PRESENCE)
@@ -14,6 +14,7 @@ Signed-off-by: Pavel Sobolev <[email protected]>
 -    target_include_directories(discord-rpc INTERFACE 
${discord-rpc_SOURCE_DIR}/include)
 -    add_library(DiscordRPC::discord-rpc ALIAS discord-rpc)
 +    find_package(DiscordRPC REQUIRED)
++    find_package(httplib)
  endif()
  
  # SimpleIni

Reply via email to