mirror of
https://git.suyu.dev/suyu/suyu-dev-git_PKGBUILD
synced 2024-11-21 14:29:13 -07:00
fix: Use -DSUYU
variables, enable DiscordRPC and add RapidJSON.
This commit is contained in:
parent
a4afac6dfd
commit
063cc7aae4
2 changed files with 18 additions and 16 deletions
1
.SRCINFO
1
.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
|
||||
|
|
33
PKGBUILD
33
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
|
||||
|
|
Loading…
Reference in a new issue