mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 13:03:31 -04:00
games-emulation/citra*: use system dev-cpp/cpp-httplib
Signed-off-by: Samuel Bauer <samuel.bauer@yahoo.fr>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user