upgpkg: master-1
This commit is contained in:
parent
2272837db9
commit
8f3919b367
2 changed files with 14 additions and 15 deletions
14
.SRCINFO
14
.SRCINFO
|
@ -1,11 +1,12 @@
|
||||||
pkgbase = suyu-git
|
pkgbase = suyu-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 (master branch)
|
||||||
pkgver = r27087.c15523798
|
pkgver = r27048.f7c0931e3c
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://gitlab.com/suyu-emu/suyu
|
url = https://gitlab.com/suyu-emu/suyu
|
||||||
install = suyu-git.install
|
install = suyu-git.install
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = GPL3
|
license = GPL-3.0-or-later
|
||||||
|
makedepends = brotli
|
||||||
makedepends = boost
|
makedepends = boost
|
||||||
makedepends = clang
|
makedepends = clang
|
||||||
makedepends = cmake
|
makedepends = cmake
|
||||||
|
@ -19,10 +20,11 @@ pkgbase = suyu-git
|
||||||
makedepends = shaderc
|
makedepends = shaderc
|
||||||
makedepends = spirv-headers
|
makedepends = spirv-headers
|
||||||
makedepends = vulkan-headers
|
makedepends = vulkan-headers
|
||||||
|
makedepends = vulkan-utility-libraries
|
||||||
makedepends = catch2
|
makedepends = catch2
|
||||||
makedepends = rapidjson
|
makedepends = rapidjson
|
||||||
depends = brotli
|
|
||||||
depends = enet
|
depends = enet
|
||||||
|
depends = llvm-libs
|
||||||
depends = gcc-libs
|
depends = gcc-libs
|
||||||
depends = glibc
|
depends = glibc
|
||||||
depends = hicolor-icon-theme
|
depends = hicolor-icon-theme
|
||||||
|
@ -34,7 +36,6 @@ pkgbase = suyu-git
|
||||||
depends = libopus.so
|
depends = libopus.so
|
||||||
depends = libspeexdsp.so
|
depends = libspeexdsp.so
|
||||||
depends = libssl.so
|
depends = libssl.so
|
||||||
depends = libswscale.so
|
|
||||||
depends = libusb-1.0.so
|
depends = libusb-1.0.so
|
||||||
depends = libva.so
|
depends = libva.so
|
||||||
depends = libzstd.so
|
depends = libzstd.so
|
||||||
|
@ -43,13 +44,8 @@ pkgbase = suyu-git
|
||||||
depends = qt5-multimedia
|
depends = qt5-multimedia
|
||||||
depends = qt5-webengine
|
depends = qt5-webengine
|
||||||
depends = sdl2
|
depends = sdl2
|
||||||
depends = vulkan-utility-libraries
|
|
||||||
depends = zlib
|
depends = zlib
|
||||||
provides = suyu
|
provides = suyu
|
||||||
conflicts = suyu-dev-git
|
|
||||||
conflicts = yuzu
|
|
||||||
conflicts = yuzu-early-access-appimage
|
|
||||||
conflicts = yuzu-early-access-git
|
|
||||||
options = !debug
|
options = !debug
|
||||||
options = lto
|
options = lto
|
||||||
source = git+https://gitlab.com/suyu-emu/suyu.git#branch=master
|
source = git+https://gitlab.com/suyu-emu/suyu.git#branch=master
|
||||||
|
|
15
PKGBUILD
15
PKGBUILD
|
@ -3,18 +3,17 @@
|
||||||
_pkgname=suyu
|
_pkgname=suyu
|
||||||
_branch=master
|
_branch=master
|
||||||
pkgname=suyu-git
|
pkgname=suyu-git
|
||||||
pkgver=r27087.c15523798
|
pkgver=r27048.f7c0931e3c
|
||||||
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 (master branch)"
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
url=https://gitlab.com/suyu-emu/suyu
|
url=https://gitlab.com/suyu-emu/suyu
|
||||||
license=(GPL3)
|
license=(GPL-3.0-or-later)
|
||||||
provides=('suyu')
|
provides=('suyu')
|
||||||
conflicts=(suyu-dev-git yuzu yuzu-early-access-appimage yuzu-early-access-git)
|
|
||||||
install=$pkgname.install
|
install=$pkgname.install
|
||||||
depends=(
|
depends=(
|
||||||
brotli
|
|
||||||
enet
|
enet
|
||||||
|
llvm-libs
|
||||||
gcc-libs
|
gcc-libs
|
||||||
glibc
|
glibc
|
||||||
hicolor-icon-theme
|
hicolor-icon-theme
|
||||||
|
@ -26,7 +25,6 @@ depends=(
|
||||||
libopus.so
|
libopus.so
|
||||||
libspeexdsp.so
|
libspeexdsp.so
|
||||||
libssl.so
|
libssl.so
|
||||||
libswscale.so
|
|
||||||
libusb-1.0.so
|
libusb-1.0.so
|
||||||
libva.so
|
libva.so
|
||||||
libzstd.so
|
libzstd.so
|
||||||
|
@ -35,10 +33,10 @@ depends=(
|
||||||
qt5-multimedia
|
qt5-multimedia
|
||||||
qt5-webengine
|
qt5-webengine
|
||||||
sdl2
|
sdl2
|
||||||
vulkan-utility-libraries
|
|
||||||
zlib
|
zlib
|
||||||
)
|
)
|
||||||
makedepends=(
|
makedepends=(
|
||||||
|
brotli
|
||||||
boost
|
boost
|
||||||
clang
|
clang
|
||||||
cmake
|
cmake
|
||||||
|
@ -52,6 +50,7 @@ makedepends=(
|
||||||
shaderc
|
shaderc
|
||||||
spirv-headers
|
spirv-headers
|
||||||
vulkan-headers
|
vulkan-headers
|
||||||
|
vulkan-utility-libraries
|
||||||
catch2
|
catch2
|
||||||
rapidjson
|
rapidjson
|
||||||
)
|
)
|
||||||
|
@ -127,6 +126,9 @@ prepare() {
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
if [[ $CXXFLAGS == *"-flto"* ]]; then
|
||||||
|
flags+=("-DSUYU_ENABLE_LTO=ON")
|
||||||
|
fi
|
||||||
export CXXFLAGS+=' -Wno-switch'
|
export CXXFLAGS+=' -Wno-switch'
|
||||||
cmake -S suyu -B build -G Ninja \
|
cmake -S suyu -B build -G Ninja \
|
||||||
-DCMAKE_BUILD_TYPE=None \
|
-DCMAKE_BUILD_TYPE=None \
|
||||||
|
@ -155,6 +157,7 @@ build() {
|
||||||
-DSUYU_USE_QT_MULTIMEDIA=ON \
|
-DSUYU_USE_QT_MULTIMEDIA=ON \
|
||||||
-DSUYU_USE_QT_WEB_ENGINE=ON \
|
-DSUYU_USE_QT_WEB_ENGINE=ON \
|
||||||
-DSUYU_TESTS=OFF \
|
-DSUYU_TESTS=OFF \
|
||||||
|
"${flags[@]}" \
|
||||||
-Wno-dev
|
-Wno-dev
|
||||||
cmake --build build
|
cmake --build build
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue