games-emulation/citra*: use system dev-cpp/cpp-httplib

Signed-off-by: Samuel Bauer <samuel.bauer@yahoo.fr>
This commit is contained in:
Samuel Bauer committed 2023-02-13 16:01:27 +01:00
1 parent 437d1e1823
commit fcc7219a6f
2 files changed
+8

No files matched your search

@@ -44,6 +44,7 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
BDEPEND="
dev-cpp/cpp-httplib
dev-cpp/cpp-jwt
dev-cpp/robin-map"
REQUIRED_USE="|| ( qt5 sdl )"
@@ -144,6 +145,9 @@ 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
# 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
+4
View File
@@ -44,6 +44,7 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
BDEPEND="
dev-cpp/cpp-httplib
dev-cpp/cpp-jwt
dev-cpp/robin-map"
REQUIRED_USE="|| ( qt5 sdl )"
@@ -126,6 +127,9 @@ 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
# 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