commit:     7ca0947a0ac3c81aa95da1633423e3a855234ba5
Author:     Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr>
AuthorDate: Wed Feb  1 23:59:58 2023 +0000
Commit:     Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr>
CommitDate: Wed Feb  1 23:59:58 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7ca0947a

games-emulation/citra*: do not depend on dev-libs/cpp-httplib

Signed-off-by: Samuel Bauer <samuel.bauer <AT> yahoo.fr>

 games-emulation/citra-canary/citra-canary-9999.ebuild | 6 +-----
 games-emulation/citra/citra-9999.ebuild               | 6 +-----
 2 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/games-emulation/citra-canary/citra-canary-9999.ebuild 
b/games-emulation/citra-canary/citra-canary-9999.ebuild
index f1859c3a5..61b4e81ab 100644
--- a/games-emulation/citra-canary/citra-canary-9999.ebuild
+++ b/games-emulation/citra-canary/citra-canary-9999.ebuild
@@ -43,7 +43,7 @@ RDEPEND="
        virtual/libusb:1
 "
 DEPEND="${RDEPEND}"
-BDEPEND="dev-cpp/cpp-httplib
+BDEPEND="
        dev-cpp/cpp-jwt
        dev-cpp/robin-map"
 REQUIRED_USE="|| ( qt5 sdl )"
@@ -144,10 +144,6 @@ src_prepare() {
                sed -i -e '$afind_package(cubeb REQUIRED)\n' CMakeLists.txt || 
die
        fi
 
-       # Unbundle cpp-httplib
-       sed -i -e '/# httplib/,/target_link_libraries(httplib/d' 
externals/CMakeLists.txt || die
-       sed -i -e 's/ httplib//' src/{web_service,network,core}/CMakeLists.txt 
|| die
-
        # Unbundle cpp-jwt
        sed -i -e '/# cpp-jwt/,/CPP_JWT_USE_VENDORED_NLOHMANN_JSON/d' 
externals/CMakeLists.txt || die
        sed -i -e 's/ cpp-jwt//' src/web_service/CMakeLists.txt || die

diff --git a/games-emulation/citra/citra-9999.ebuild 
b/games-emulation/citra/citra-9999.ebuild
index 2a6d8e781..02b932c58 100644
--- a/games-emulation/citra/citra-9999.ebuild
+++ b/games-emulation/citra/citra-9999.ebuild
@@ -43,7 +43,7 @@ RDEPEND="
        virtual/libusb:1
 "
 DEPEND="${RDEPEND}"
-BDEPEND="dev-cpp/cpp-httplib
+BDEPEND="
        dev-cpp/cpp-jwt
        dev-cpp/robin-map"
 REQUIRED_USE="|| ( qt5 sdl )"
@@ -126,10 +126,6 @@ src_prepare() {
                sed -i -e '$afind_package(cubeb REQUIRED)\n' CMakeLists.txt || 
die
        fi
 
-       # Unbundle cpp-httplib
-       sed -i -e '/# httplib/,/target_link_libraries(httplib/d' 
externals/CMakeLists.txt || die
-       sed -i -e 's/ httplib//' src/{web_service,network,core}/CMakeLists.txt 
|| die
-
        # Unbundle cpp-jwt
        sed -i -e '/# cpp-jwt/,/CPP_JWT_USE_VENDORED_NLOHMANN_JSON/d' 
externals/CMakeLists.txt || die
        sed -i -e 's/ cpp-jwt//' src/web_service/CMakeLists.txt || die

Reply via email to