commit:     c7f8ceb9ce51dd6b26182ec1c01f93e269fc3762
Author:     Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr>
AuthorDate: Tue Feb 14 11:10:56 2023 +0000
Commit:     Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr>
CommitDate: Tue Feb 14 11:10:56 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c7f8ceb9

games-emulation/yuzu: libfmt and cpp-httplib need to be detected by cmake

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

 games-emulation/yuzu/metadata.xml     | 27 +++++++++++++++------------
 games-emulation/yuzu/yuzu-9999.ebuild |  4 +---
 2 files changed, 16 insertions(+), 15 deletions(-)

diff --git a/games-emulation/yuzu/metadata.xml 
b/games-emulation/yuzu/metadata.xml
index d012102f5..1fbef0446 100644
--- a/games-emulation/yuzu/metadata.xml
+++ b/games-emulation/yuzu/metadata.xml
@@ -1,16 +1,19 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-<maintainer type="person">
-       <name>Samuel Bauer</name>
-       <email>samuel.ba...@yahoo.fr</email>
-</maintainer>
-<use>
-       <flag name="cubeb">Enables the cubeb audio backend</flag>
-       <flag name="compatibility-list">Downloads the latest compatibility 
list</flag>
-       <flag name="discord">Enables Discord Rich Presence</flag>
-       <flag name="system-vulkan">Use system dev-util/vulkan-headers</flag>
-       <flag name="webengine">Use QtWebEngine for web applet 
implementation</flag>
-       <flag name="webservice">Enable web services (telemetry, etc.)</flag>
-</use>
+       <maintainer type="person">
+               <name>Samuel Bauer</name>
+               <email>samuel.ba...@yahoo.fr</email>
+       </maintainer>
+       <use>
+               <flag name="cubeb">Enables the cubeb audio backend</flag>
+               <flag name="compatibility-list">Downloads the latest 
compatibility list</flag>
+               <flag name="discord">Enables Discord Rich Presence</flag>
+               <flag name="system-vulkan">Use system 
dev-util/vulkan-headers</flag>
+               <flag name="webengine">Use QtWebEngine for web applet 
implementation</flag>
+               <flag name="webservice">Enable web services (telemetry, 
etc.)</flag>
+       </use>
+       <upstream>
+               <remote-id type="github">herumi/xbyak</remote-id>
+       </upstream>
 </pkgmetadata>

diff --git a/games-emulation/yuzu/yuzu-9999.ebuild 
b/games-emulation/yuzu/yuzu-9999.ebuild
index 6bc23133b..424b891a1 100644
--- a/games-emulation/yuzu/yuzu-9999.ebuild
+++ b/games-emulation/yuzu/yuzu-9999.ebuild
@@ -55,7 +55,7 @@ BDEPEND="
        dev-util/glslang
        discord? ( >=dev-libs/rapidjson-1.1.0 )
 "
-REQUIRED_USE="|| ( qt5 sdl )"
+REQUIRED_USE="|| ( qt5 sdl ) discord? ( webservice )"
 RESTRICT="!test? ( test )"
 
 pkg_setup() {
@@ -132,8 +132,6 @@ src_prepare() {
        # LZ4 temporary fix: 
https://github.com/yuzu-emu/yuzu/pull/9054/commits/a8021f5a18bc5251aef54468fa6033366c6b92d9
        sed -i 's/lz4::lz4/lz4/' src/common/CMakeLists.txt || die
 
-       sed -i '/fmt.*REQUIRED/d' CMakeLists.txt || die # libfmt >= 9
-
        # Temporary use lastest gentoo vulkan
        sed -i -e '/Vulkan/s/238/236/' CMakeLists.txt || die
        sed -i -e '/VK_ERROR_IMAGE_USAGE_NOT_SUPPORTED_KHR/d;' -e 
'/VK_ERROR_VIDEO_PICTURE_LAYOUT_NOT_SUPPORTED_KHR/d' \

Reply via email to