From 063cc7aae408865cfb14f310bbaf89c85fa16f7e Mon Sep 17 00:00:00 2001 From: Fijxu Date: Sat, 9 Mar 2024 17:52:43 -0300 Subject: [PATCH] fix: Use `-DSUYU` variables, enable DiscordRPC and add RapidJSON. --- .SRCINFO | 1 + PKGBUILD | 33 +++++++++++++++++---------------- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 73f1e4b..4ebe456 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -20,6 +20,7 @@ pkgbase = suyu-dev-git makedepends = spirv-headers makedepends = vulkan-headers makedepends = catch2 + makedepends = rapidjson depends = brotli depends = enet depends = gcc-libs diff --git a/PKGBUILD b/PKGBUILD index 0456334..e75467f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -9,7 +9,7 @@ pkgdesc="suyu is the afterlife the world's most popular, open-source, Nintendo S arch=(x86_64) url=https://gitlab.com/suyu-emu/suyu license=(GPL3) -provides=(suyu) +provides=('suyu') install=$pkgname.install conflicts=(yuzu yuzu-early-access-appimage yuzu-early-access-git) depends=( @@ -53,6 +53,7 @@ makedepends=( spirv-headers vulkan-headers catch2 + rapidjson ) options=(!debug lto) source=( @@ -140,20 +141,20 @@ build() { -DSIRIT_USE_SYSTEM_SPIRV_HEADERS=ON \ -DTITLE_BAR_FORMAT_IDLE="suyu | ${_branch}-${pkgver} {}" \ -DTITLE_BAR_FORMAT_RUNNING="suyu | ${_branch}-${pkgver} | {}" \ - -DUSE_DISCORD_PRESENCE=OFF \ - -DYUZU_CHECK_SUBMODULES=OFF \ - -DYUZU_DOWNLOAD_TIME_ZONE_DATA=ON \ - -DYUZU_USE_BUNDLED_FFMPEG=OFF \ - -DYUZU_USE_BUNDLED_QT=OFF \ - -DYUZU_USE_BUNDLED_SDL2=OFF \ - -DYUZU_USE_EXTERNAL_VULKAN_HEADERS=OFF \ - -DYUZU_USE_EXTERNAL_VULKAN_UTILITY_LIBRARIES=OFF \ - -DYUZU_USE_EXTERNAL_SDL2=OFF \ - -DYUZU_USE_FASTER_LD=OFF \ - -DYUZU_USE_PRECOMPILED_HEADERS=OFF \ - -DYUZU_USE_QT_MULTIMEDIA=ON \ - -DYUZU_USE_QT_WEB_ENGINE=ON \ - -DYUZU_TESTS=OFF \ + -DUSE_DISCORD_PRESENCE=ON \ + -DSUYU_CHECK_SUBMODULES=OFF \ + -DSUYU_DOWNLOAD_TIME_ZONE_DATA=ON \ + -DSUYU_USE_BUNDLED_FFMPEG=OFF \ + -DSUYU_USE_BUNDLED_QT=OFF \ + -DSUYU_USE_BUNDLED_SDL2=OFF \ + -DSUYU_USE_EXTERNAL_VULKAN_HEADERS=OFF \ + -DSUYU_USE_EXTERNAL_VULKAN_UTILITY_LIBRARIES=OFF \ + -DSUYU_USE_EXTERNAL_SDL2=OFF \ + -DSUYU_USE_FASTER_LD=ON \ + -DSUYU_USE_PRECOMPILED_HEADERS=OFF \ + -DSUYU_USE_QT_MULTIMEDIA=ON \ + -DSUYU_USE_QT_WEB_ENGINE=ON \ + -DSUYU_TESTS=OFF \ -Wno-dev cmake --build build } @@ -169,4 +170,4 @@ package() { install -Dm644 ${_pkgname}/dist/72-yuzu-input.rules -t "${pkgdir}"/usr/lib/udev/rules.d/ } -# vim: ts=2 sw=2 et: +# vim: ts=2 sw=2 et