commit:     14c6088d3f5b399441f27905cbe231b3cc619cb3
Author:     Moritz Brunner <moritz.brunner+gentoo <AT> posteo <DOT> de>
AuthorDate: Wed Jan  3 19:49:54 2024 +0000
Commit:     Moritz Brunner <moritz.brunner+gentoo <AT> posteo <DOT> de>
CommitDate: Wed Jan  3 19:54:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=14c6088d

games-emulation/yuzu: Replace inih with simpleini

inih was replaced upstream with simpleini for config file support.

Closes: https://bugs.gentoo.org/920675
Closes: https://bugs.gentoo.org/918648
Signed-off-by: Moritz Brunner <moritz.brunner+gentoo <AT> posteo.de>

 games-emulation/yuzu/yuzu-9999.ebuild | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/games-emulation/yuzu/yuzu-9999.ebuild 
b/games-emulation/yuzu/yuzu-9999.ebuild
index 56db5e9755..8e4293715c 100644
--- a/games-emulation/yuzu/yuzu-9999.ebuild
+++ b/games-emulation/yuzu/yuzu-9999.ebuild
@@ -54,6 +54,7 @@ DEPEND="${RDEPEND}
 "
 BDEPEND="
        >=dev-cpp/nlohmann_json-3.8.0
+       dev-cpp/simpleini
        dev-cpp/robin-map
        dev-util/glslang
        discord? ( >=dev-libs/rapidjson-1.1.0 )
@@ -91,12 +92,6 @@ src_prepare() {
        # temporary fix
        sed -i -e '/Werror/d' src/CMakeLists.txt || die
 
-       # Unbundle inih
-       sed -i -e '/^if.*inih/,/^endif()/d' externals/CMakeLists.txt || die
-       sed -i -e '1afind_package(PkgConfig REQUIRED)\npkg_check_modules(INIH 
REQUIRED INIReader)' \
-               src/yuzu_cmd/CMakeLists.txt || die
-       sed -i -e 's:inih/cpp/::' src/yuzu_cmd/config.cpp || die
-
        # Unbundle mbedtls
        sed -i -e '/mbedtls/d' -e '/^if (NOT MSVC)/,/endif()/d' 
externals/CMakeLists.txt || die
        sed -i -e 's/mbedtls/& mbedcrypto mbedx509/' \

Reply via email to