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 = spirv-headers
|
||||||
makedepends = vulkan-headers
|
makedepends = vulkan-headers
|
||||||
makedepends = catch2
|
makedepends = catch2
|
||||||
|
makedepends = rapidjson
|
||||||
depends = brotli
|
depends = brotli
|
||||||
depends = enet
|
depends = enet
|
||||||
depends = gcc-libs
|
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)
|
arch=(x86_64)
|
||||||
url=https://gitlab.com/suyu-emu/suyu
|
url=https://gitlab.com/suyu-emu/suyu
|
||||||
license=(GPL3)
|
license=(GPL3)
|
||||||
provides=(suyu)
|
provides=('suyu')
|
||||||
install=$pkgname.install
|
install=$pkgname.install
|
||||||
conflicts=(yuzu yuzu-early-access-appimage yuzu-early-access-git)
|
conflicts=(yuzu yuzu-early-access-appimage yuzu-early-access-git)
|
||||||
depends=(
|
depends=(
|
||||||
|
@ -53,6 +53,7 @@ makedepends=(
|
||||||
spirv-headers
|
spirv-headers
|
||||||
vulkan-headers
|
vulkan-headers
|
||||||
catch2
|
catch2
|
||||||
|
rapidjson
|
||||||
)
|
)
|
||||||
options=(!debug lto)
|
options=(!debug lto)
|
||||||
source=(
|
source=(
|
||||||
|
@ -140,20 +141,20 @@ build() {
|
||||||
-DSIRIT_USE_SYSTEM_SPIRV_HEADERS=ON \
|
-DSIRIT_USE_SYSTEM_SPIRV_HEADERS=ON \
|
||||||
-DTITLE_BAR_FORMAT_IDLE="suyu | ${_branch}-${pkgver} {}" \
|
-DTITLE_BAR_FORMAT_IDLE="suyu | ${_branch}-${pkgver} {}" \
|
||||||
-DTITLE_BAR_FORMAT_RUNNING="suyu | ${_branch}-${pkgver} | {}" \
|
-DTITLE_BAR_FORMAT_RUNNING="suyu | ${_branch}-${pkgver} | {}" \
|
||||||
-DUSE_DISCORD_PRESENCE=OFF \
|
-DUSE_DISCORD_PRESENCE=ON \
|
||||||
-DYUZU_CHECK_SUBMODULES=OFF \
|
-DSUYU_CHECK_SUBMODULES=OFF \
|
||||||
-DYUZU_DOWNLOAD_TIME_ZONE_DATA=ON \
|
-DSUYU_DOWNLOAD_TIME_ZONE_DATA=ON \
|
||||||
-DYUZU_USE_BUNDLED_FFMPEG=OFF \
|
-DSUYU_USE_BUNDLED_FFMPEG=OFF \
|
||||||
-DYUZU_USE_BUNDLED_QT=OFF \
|
-DSUYU_USE_BUNDLED_QT=OFF \
|
||||||
-DYUZU_USE_BUNDLED_SDL2=OFF \
|
-DSUYU_USE_BUNDLED_SDL2=OFF \
|
||||||
-DYUZU_USE_EXTERNAL_VULKAN_HEADERS=OFF \
|
-DSUYU_USE_EXTERNAL_VULKAN_HEADERS=OFF \
|
||||||
-DYUZU_USE_EXTERNAL_VULKAN_UTILITY_LIBRARIES=OFF \
|
-DSUYU_USE_EXTERNAL_VULKAN_UTILITY_LIBRARIES=OFF \
|
||||||
-DYUZU_USE_EXTERNAL_SDL2=OFF \
|
-DSUYU_USE_EXTERNAL_SDL2=OFF \
|
||||||
-DYUZU_USE_FASTER_LD=OFF \
|
-DSUYU_USE_FASTER_LD=ON \
|
||||||
-DYUZU_USE_PRECOMPILED_HEADERS=OFF \
|
-DSUYU_USE_PRECOMPILED_HEADERS=OFF \
|
||||||
-DYUZU_USE_QT_MULTIMEDIA=ON \
|
-DSUYU_USE_QT_MULTIMEDIA=ON \
|
||||||
-DYUZU_USE_QT_WEB_ENGINE=ON \
|
-DSUYU_USE_QT_WEB_ENGINE=ON \
|
||||||
-DYUZU_TESTS=OFF \
|
-DSUYU_TESTS=OFF \
|
||||||
-Wno-dev
|
-Wno-dev
|
||||||
cmake --build build
|
cmake --build build
|
||||||
}
|
}
|
||||||
|
@ -169,4 +170,4 @@ package() {
|
||||||
install -Dm644 ${_pkgname}/dist/72-yuzu-input.rules -t "${pkgdir}"/usr/lib/udev/rules.d/
|
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