Use dev branch

This commit is contained in:
Fijxu 2024-03-06 17:21:31 -03:00
parent 5214e44963
commit ef19f62012
3 changed files with 32 additions and 12 deletions

View file

@ -1,8 +1,9 @@
pkgbase = suyu-git pkgbase = suyu-dev-git
pkgdesc = suyu is the afterlife the world's most popular, open-source, Nintendo Switch emulator (master branch) pkgdesc = suyu is the afterlife the world's most popular, open-source, Nintendo Switch emulator (dev branch)
pkgver = r27087.c15523798 pkgver = r27098.b92e62988
pkgrel = 1 pkgrel = 1
url = https://gitlab.com/suyu-emu/suyu url = https://gitlab.com/suyu-emu/suyu
install = suyu-dev-git.install
arch = x86_64 arch = x86_64
license = GPL3 license = GPL3
makedepends = boost makedepends = boost
@ -47,7 +48,7 @@ pkgbase = suyu-git
conflicts = yuzu-early-access-appimage conflicts = yuzu-early-access-appimage
conflicts = yuzu-early-access-git conflicts = yuzu-early-access-git
options = !debug options = !debug
source = git+https://gitlab.com/suyu-emu/suyu.git#branch=master source = git+https://gitlab.com/suyu-emu/suyu.git#branch=dev
source = git+https://github.com/arsenm/sanitizers-cmake.git source = git+https://github.com/arsenm/sanitizers-cmake.git
source = git+https://github.com/yhirose/cpp-httplib.git source = git+https://github.com/yhirose/cpp-httplib.git
source = git+https://github.com/arun11299/cpp-jwt.git source = git+https://github.com/arun11299/cpp-jwt.git
@ -78,4 +79,4 @@ pkgbase = suyu-git
b2sums = SKIP b2sums = SKIP
b2sums = SKIP b2sums = SKIP
pkgname = suyu-git pkgname = suyu-dev-git

View file

@ -1,14 +1,16 @@
# Maintainer: Fijxu <fijxu [at] nadeko [dot] net> # Maintainer: Fijxu <fijxu [at] nadeko [dot] net>
_pkgname=suyu _pkgname=suyu
pkgname=suyu-git _branch=dev
pkgver=r27087.c15523798 pkgname=suyu-dev-git
pkgver=r27098.b92e62988
pkgrel=1 pkgrel=1
pkgdesc="suyu is the afterlife the world's most popular, open-source, Nintendo Switch emulator (master branch)" pkgdesc="suyu is the afterlife the world's most popular, open-source, Nintendo Switch emulator (dev branch)"
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
conflicts=(yuzu yuzu-early-access-appimage yuzu-early-access-git) conflicts=(yuzu yuzu-early-access-appimage yuzu-early-access-git)
depends=( depends=(
brotli brotli
@ -54,7 +56,7 @@ makedepends=(
options=(!debug) options=(!debug)
_tag=d32620fe796f9cd90e8e5660deb0fc8f4decd61f _tag=d32620fe796f9cd90e8e5660deb0fc8f4decd61f
source=( source=(
git+https://gitlab.com/suyu-emu/suyu.git#branch=master git+https://gitlab.com/suyu-emu/suyu.git#branch=${_branch}
git+https://github.com/arsenm/sanitizers-cmake.git git+https://github.com/arsenm/sanitizers-cmake.git
git+https://github.com/yhirose/cpp-httplib.git git+https://github.com/yhirose/cpp-httplib.git
git+https://github.com/arun11299/cpp-jwt.git git+https://github.com/arun11299/cpp-jwt.git
@ -129,15 +131,15 @@ build() {
-DCMAKE_BUILD_TYPE=None \ -DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_REPOSITORY=suyu-emu/suyu \ -DBUILD_REPOSITORY=suyu-emu/suyu \
-DBUILD_TAG=${pkgver} \ -DBUILD_TAG=${_branch}-${pkgver} \
-DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \ -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \
-DENABLE_QT6=OFF \ -DENABLE_QT6=OFF \
-DENABLE_QT_TRANSLATION=ON \ -DENABLE_QT_TRANSLATION=ON \
-DENABLE_SDL2=ON \ -DENABLE_SDL2=ON \
-DENABLE_WEB_SERVICE=ON \ -DENABLE_WEB_SERVICE=ON \
-DSIRIT_USE_SYSTEM_SPIRV_HEADERS=ON \ -DSIRIT_USE_SYSTEM_SPIRV_HEADERS=ON \
-DTITLE_BAR_FORMAT_IDLE="suyu | ${pkgver} {}" \ -DTITLE_BAR_FORMAT_IDLE="suyu | ${_branch}-${pkgver} {}" \
-DTITLE_BAR_FORMAT_RUNNING="suyu | ${pkgver} | {}" \ -DTITLE_BAR_FORMAT_RUNNING="suyu | ${_branch}-${pkgver} | {}" \
-DUSE_DISCORD_PRESENCE=OFF \ -DUSE_DISCORD_PRESENCE=OFF \
-DYUZU_CHECK_SUBMODULES=OFF \ -DYUZU_CHECK_SUBMODULES=OFF \
-DYUZU_DOWNLOAD_TIME_ZONE_DATA=ON \ -DYUZU_DOWNLOAD_TIME_ZONE_DATA=ON \
@ -158,6 +160,12 @@ build() {
package() { package() {
DESTDIR="${pkgdir}" cmake --install build DESTDIR="${pkgdir}" cmake --install build
mv ${pkgdir}/usr/bin/yuzu ${pkgdir}/usr/bin/suyu
ln -s ${pkgdir}/usr/bin/suyu ${pkgdir}/usr/bin/yuzu
mv ${pkgdir}/usr/bin/yuzu-cmd ${pkgdir}/usr/bin/suyu-cmd
ln -s ${pkgdir}/usr/bin/suyu-cmd ${pkgdir}/usr/bin/yuzu-cmd
mv ${pkgdir}/usr/bin/yuzu-room ${pkgdir}/usr/bin/suyu-room
ln -s ${pkgdir}/usr/bin/suyu-room ${pkgdir}/usr/bin/yuzu-room
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/
} }

11
suyu-dev-git.install Normal file
View file

@ -0,0 +1,11 @@
pre_install() {
cat << EOF
==> WARNING: suyu uses a completly different directory to store their data.
You will need to copy all the files from the ./local/share/yuzu directory to ./local/share/suyu
You can do it using this command: mkdir -p ~/.local/share/suyu && cp -ra ~/.local/share/yuzu/* ~/.local/share/suyu/*
EOF
}