[gentoo-commits] repo/proj/guru:dev commit in: games-emulation/yuzu/files/, games-emulation/yuzu/

2023-02-02 Thread Samuel Bauer
commit: bef015d946b03ba7fe5cabeeed1d0cec6017b9fe
Author: Samuel Bauer  yahoo  fr>
AuthorDate: Thu Feb  2 18:46:57 2023 +
Commit: Samuel Bauer  yahoo  fr>
CommitDate: Thu Feb  2 18:46:57 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bef015d9

games-emulation/yuzu: update snapshot

Signed-off-by: Samuel Bauer  yahoo.fr>

 games-emulation/yuzu/files/yuzu-0_p20230202.patch | 169 ++
 games-emulation/yuzu/yuzu-0_p20230202.ebuild  | 124 
 2 files changed, 293 insertions(+)

diff --git a/games-emulation/yuzu/files/yuzu-0_p20230202.patch 
b/games-emulation/yuzu/files/yuzu-0_p20230202.patch
new file mode 100644
index 0..df8a04d95
--- /dev/null
+++ b/games-emulation/yuzu/files/yuzu-0_p20230202.patch
@@ -0,0 +1,169 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 8896fe0..f2a09e2 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -216,7 +215,7 @@ find_package(ZLIB 1.2 REQUIRED)
+ find_package(zstd 1.5 REQUIRED)
+ 
+ if (NOT YUZU_USE_EXTERNAL_VULKAN_HEADERS)
+-find_package(Vulkan 1.3.238 REQUIRED)
++find_package(Vulkan 1.3.236 REQUIRED)
+ endif()
+ 
+ if (ENABLE_LIBUSB)
+diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt
+index 8532fd7..67bed9a 100644
+--- a/externals/CMakeLists.txt
 b/externals/CMakeLists.txt
+@@ -29,13 +29,7 @@ endif()
+ add_subdirectory(glad)
+ 
+ # inih
+-if (NOT TARGET inih::INIReader)
+-add_subdirectory(inih)
+-endif()
+ 
+-# mbedtls
+-add_subdirectory(mbedtls EXCLUDE_FROM_ALL)
+-target_include_directories(mbedtls PUBLIC ./mbedtls/include)
+ 
+ # MicroProfile
+ add_library(microprofile INTERFACE)
+@@ -77,18 +71,8 @@ if (YUZU_USE_EXTERNAL_SDL2)
+ endif()
+ 
+ # ENet
+-if (NOT TARGET enet::enet)
+-add_subdirectory(enet EXCLUDE_FROM_ALL)
+-target_include_directories(enet INTERFACE ./enet/include)
+-add_library(enet::enet ALIAS enet)
+-endif()
+ 
+ # Cubeb
+-if (ENABLE_CUBEB AND NOT TARGET cubeb::cubeb)
+-set(BUILD_TESTS OFF)
+-add_subdirectory(cubeb EXCLUDE_FROM_ALL)
+-add_library(cubeb::cubeb ALIAS cubeb)
+-endif()
+ 
+ # DiscordRPC
+ if (USE_DISCORD_PRESENCE AND NOT TARGET DiscordRPC::discord-rpc)
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index c7283e8..123a745 100644
+--- a/src/CMakeLists.txt
 b/src/CMakeLists.txt
+@@ -101,11 +101,6 @@ if (MSVC)
+ set(CMAKE_EXE_LINKER_FLAGS_RELEASE "/DEBUG /MANIFEST:NO /INCREMENTAL:NO 
/OPT:REF,ICF" CACHE STRING "" FORCE)
+ else()
+ add_compile_options(
+--Werror=all
+--Werror=extra
+--Werror=missing-declarations
+--Werror=shadow
+--Werror=unused
+ 
+ -Wno-attributes
+ -Wno-invalid-offsetof
+diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
+index 9884a4a..46df96b 100644
+--- a/src/common/CMakeLists.txt
 b/src/common/CMakeLists.txt
+@@ -177,7 +177,7 @@ endif()
+ create_target_directory_groups(common)
+ 
+ target_link_libraries(common PUBLIC ${Boost_LIBRARIES} fmt::fmt microprofile 
Threads::Threads)
+-target_link_libraries(common PRIVATE lz4::lz4 zstd::zstd LLVM::Demangle)
++target_link_libraries(common PRIVATE lz4 zstd::zstd LLVM::Demangle)
+ 
+ if (YUZU_USE_PRECOMPILED_HEADERS)
+ target_precompile_headers(common PRIVATE precompiled_headers.h)
+diff --git a/src/common/scm_rev.cpp.in b/src/common/scm_rev.cpp.in
+index f0c124d..739c4a6 100644
+--- a/src/common/scm_rev.cpp.in
 b/src/common/scm_rev.cpp.in
+@@ -3,9 +3,9 @@
+ 
+ #include "common/scm_rev.h"
+ 
+-#define GIT_REV  "@GIT_REV@"
+-#define GIT_BRANCH   "@GIT_BRANCH@"
+-#define GIT_DESC "@GIT_DESC@"
++#define GIT_REV  "d5f6201"
++#define GIT_BRANCH   "master"
++#define GIT_DESC "d5f6201"
+ #define BUILD_NAME   "@REPO_NAME@"
+ #define BUILD_DATE   "@BUILD_DATE@"
+ #define BUILD_FULLNAME "@BUILD_FULLNAME@"
+diff --git a/src/dedicated_room/CMakeLists.txt 
b/src/dedicated_room/CMakeLists.txt
+index 136109a..6a6924c 100644
+--- a/src/dedicated_room/CMakeLists.txt
 b/src/dedicated_room/CMakeLists.txt
+@@ -15,7 +15,7 @@ if (ENABLE_WEB_SERVICE)
+ target_link_libraries(yuzu-room PRIVATE web_service)
+ endif()
+ 
+-target_link_libraries(yuzu-room PRIVATE mbedtls mbedcrypto)
++target_link_libraries(yuzu-room PRIVATE mbedtls mbedcrypto mbedx509 
mbedcrypto)
+ if (MSVC)
+ target_link_libraries(yuzu-room PRIVATE getopt)
+ endif()
+diff --git a/src/network/network.cpp b/src/network/network.cpp
+index 6652a18..8513d52 100644
+--- a/src/network/network.cpp
 b/src/network/network.cpp
+@@ -3,7 +3,7 @@
+ 
+ #include "common/assert.h"
+ #include "common/logging/log.h"
+-#include "enet/enet.h"
++#include 
+ #include "network/network.h"
+ 
+ namespace Network {
+diff --git a/src/video_core/vulkan_common/vulkan_wrapper.cpp 
b/src/video_core/vulkan_common/vulkan_wrapper.cpp
+index 486d4df..abad557 100644
+--- a/src/video_core/vulkan_common/vulkan_wrapper.cpp
 b/src/video_core/vulkan_common/vulkan_wrapper.cpp
+@@ -337,18 +337,6 @@ c

[gentoo-commits] repo/proj/guru:dev commit in: games-emulation/yuzu/files/, games-emulation/yuzu/

2021-04-28 Thread Samuel Bauer
commit: 4b611a5c84b3a3d33b7f428cbd0ca638d1e50ca5
Author: Samuel Bauer  yahoo  fr>
AuthorDate: Wed Apr 28 15:59:36 2021 +
Commit: Samuel Bauer  yahoo  fr>
CommitDate: Wed Apr 28 15:59:36 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4b611a5c

games-emulation/yuzu: new ebuild

Signed-off-by: Samuel Bauer  yahoo.fr>

 games-emulation/yuzu/Manifest |   3 +
 games-emulation/yuzu/files/yuzu--assert.patch |  34 ++
 games-emulation/yuzu/metadata.xml |  15 +++
 games-emulation/yuzu/yuzu-.ebuild | 120 ++
 4 files changed, 172 insertions(+)

diff --git a/games-emulation/yuzu/Manifest b/games-emulation/yuzu/Manifest
new file mode 100644
index 0..b86ef1467
--- /dev/null
+++ b/games-emulation/yuzu/Manifest
@@ -0,0 +1,3 @@
+AUX yuzu--assert.patch 2145 BLAKE2B 
140ace2db8a6621205b65e8f7585a624a792198ded7949b2baafc549dbe70afc3faa0eae62d440d8d02a6f7272c2a5290aa185d68cf92417c50b20fafb96daf1
 SHA512 
89930366f369ccb1a978cd0eb7c32ecd03f77ffa04a5439450e5e3264a79b92cdddc9468f88e5b1adacbf340c8aa2c7614ca5b12cf7062a069bb519a6dc009b1
+EBUILD yuzu-.ebuild 4296 BLAKE2B 
487ef667564ad7e04afcfe5f13276c547311432a435381a9dae7b8a317ae527ac2fa7f9ade61c20577c42bf7b3484621a3a3c1471d0a78e39a151491da7df95f
 SHA512 
a53f40d05363fb5059b4318026a130f84c2f97ca9be9222688c9f93a0382621d9b53193db47e7acef48b1c0cacb0b59828ace26fcdf38e0155dc21ef6dcf
+MISC metadata.xml 613 BLAKE2B 
4d4bddfd2fa545273ac302e325fccff48bd3690009f76533a0fc1240ed543bb940096f8918e0c22700ea55e0cc2b5211e98cef067f96afaaa76563762b3c6ea3
 SHA512 
a816a2e2dd9bf374ed15128fb87d5db011dcc42e913f6f24eb98eee9642b302fd2b5d9e50ec07f2a11f2cfe65c3e819c3b6cb36f4f401cbb7ddc86ac0b0ab573

diff --git a/games-emulation/yuzu/files/yuzu--assert.patch 
b/games-emulation/yuzu/files/yuzu--assert.patch
new file mode 100644
index 0..cd342ffba
--- /dev/null
+++ b/games-emulation/yuzu/files/yuzu--assert.patch
@@ -0,0 +1,34 @@
+--- a/src/common/assert.h
 b/src/common/assert.h
+@@ -28,22 +28,19 @@ __declspec(noinline, noreturn)
+ }
+ 
+ #define ASSERT(_a_)   
 \
+-do
 \
+-if (!(_a_)) { 
 \
+-assert_noinline_call([] { LOG_CRITICAL(Debug, "Assertion 
Failed!"); });\
+-} 
 \
+-while (0)
++if (!(_a_)) { 
 \
++LOG_CRITICAL(Debug, "Assertion Failed!"); 
 \
++}
+ 
+ #define ASSERT_MSG(_a_, ...)  
 \
+-do
 \
+-if (!(_a_)) { 
 \
+-assert_noinline_call([&] { LOG_CRITICAL(Debug, "Assertion 
Failed!\n" __VA_ARGS__); }); \
+-} 
 \
+-while (0)
++if (!(_a_)) { 
 \
++LOG_CRITICAL(Debug, "Assertion Failed! " __VA_ARGS__);
 \
++}
+ 
+-#define UNREACHABLE() assert_noinline_call([] { LOG_CRITICAL(Debug, 
"Unreachable code!"); })
++#define UNREACHABLE() 
 \
++{ LOG_CRITICAL(Debug, "Unreachable code!"); }
+ #define UNREACHABLE_MSG(...)  
 \
+-assert_noinline_call([&] { LOG_CRITICAL(Debug, "Unreachable code!\n" 
__VA_ARGS__); })
++{ LOG_CRITICAL(Debug, "Unreachable code!\n" __VA_ARGS__); }
+ 
+ #ifdef _DEBUG
+ #define DEBUG_ASSERT(_a_) ASSERT(_a_)

diff --git a/games-emulation/yuzu/metadata.xml 
b/games-emulation/yuzu/metadata.xml
new file mode 100644
index 0..de9ad3b9b
--- /dev/null
+++ b/games-emulation/yuzu/metadata.xml
@@ -0,0 +1,15 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+
+   mazes-80
+   mazes...@github.com
+
+
+   Enable the Boxcat service, a yuzu high-level 
implementation of BCAT
+   Enables the cubeb audio backend
+   Enables Discord Rich Presence
+   Use QtWebEngine for web applet 
implementation
+   Enable web services (telemetry, etc.)
+
+

diff --git a/games-emulation/yuzu/yuzu-.ebuild 
b/games-emulation/yuzu/yuzu-.ebuild
new file mode 100644
index 0..27ff0368f
--- /dev/null
+++ b/games-emulation/yuzu/yuzu-.ebuild
@@ -0,0 +1,120 @@
+#