fix: Use -DSUYU variables, enable DiscordRPC and add RapidJSON.

This commit is contained in:
Fijxu 2024-03-09 17:46:44 -03:00
parent 35c2486da1
commit 3078e9c0c5
No known key found for this signature in database
2 changed files with 15 additions and 13 deletions

View file

@ -20,6 +20,7 @@ pkgbase = suyu-git
makedepends = spirv-headers
makedepends = vulkan-headers
makedepends = catch2
makedepends = rapidjson
depends = brotli
depends = enet
depends = gcc-libs

View file

@ -53,6 +53,7 @@ makedepends=(
spirv-headers
vulkan-headers
catch2
rapidjson
)
options=(!debug lto)
source=(
@ -141,19 +142,19 @@ build() {
-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 \
-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
}