diff options
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 14 insertions, 10 deletions
@@ -1,6 +1,6 @@ pkgbase = pcsx2-git pkgdesc = A Sony PlayStation 2 emulator - pkgver = 1.7.2991 + pkgver = 1.7.2992 pkgrel = 1 url = https://www.pcsx2.net install = dev9.install @@ -29,12 +29,13 @@ pkgbase = pcsx2-git depends = libsamplerate depends = sdl2 depends = qt6-base + depends = qt6-wayland depends = qt6-tools - depends = fmt + depends = qt6-svg depends = soundtouch depends = wayland depends = rapidyaml - depends = zstd-cmake + depends = zstd provides = pcsx2-qt conflicts = pcsx2 source = git+https://github.com/PCSX2/pcsx2.git @@ -44,6 +45,8 @@ pkgbase = pcsx2-git source = git+https://github.com/mozilla/cubeb.git source = git+https://github.com/KhronosGroup/glslang.git source = git+https://github.com/KhronosGroup/Vulkan-Headers.git + source = git+https://github.com/fmtlib/fmt.git + sha256sums = SKIP sha256sums = SKIP sha256sums = SKIP sha256sums = SKIP @@ -34,11 +34,10 @@ depends=( qt6-wayland qt6-tools qt6-svg - fmt soundtouch wayland rapidyaml - zstd-cmake # AUR Package + zstd ) makedepends=( cmake @@ -50,7 +49,7 @@ makedepends=( vulkan-headers ) -provides=(pcsx2) +provides=(pcsx2-qt) conflicts=(pcsx2) @@ -62,6 +61,7 @@ git+https://github.com/google/googletest.git git+https://github.com/mozilla/cubeb.git git+https://github.com/KhronosGroup/glslang.git git+https://github.com/KhronosGroup/Vulkan-Headers.git +git+https://github.com/fmtlib/fmt.git ) sha256sums=( @@ -72,6 +72,7 @@ SKIP SKIP SKIP SKIP +SKIP ) prepare() @@ -85,7 +86,8 @@ prepare() git config submodule.3rdparty/imgui/imgui.url $srcdir/imgui git config submodule.3rdparty/glslang/glslang.url $srcdir/glslang git config submodule.3rdparty/vulkan-headers.url $srcdir/Vulkan-Headers - git submodule update 3rdparty/libchdr/libchdr 3rdparty/gtest 3rdparty/cubeb/cubeb 3rdparty/imgui 3rdparty/glslang/glslang 3rdparty/vulkan-headers + git config submodule.3rdparty/fmt/fmt.url $srcdir/fmt + git submodule update 3rdparty/libchdr/libchdr 3rdparty/gtest 3rdparty/cubeb/cubeb 3rdparty/imgui 3rdparty/glslang/glslang 3rdparty/vulkan-headers 3rdparty/fmt/fmt } pkgver() @@ -106,8 +108,7 @@ build() -DWAYLAND_API=ON \ -DQT_BUILD=ON \ -DXDG_STD=TRUE \ - -USE_VULKAN=ON \ - -DUSE_SYSTEM_LIBS=ON \ + -DUSE_VULKAN=ON \ -GNinja \ -DPACKAGE_MODE=ON \ -DDISABLE_SETCAP=ON @@ -119,7 +120,7 @@ package() DESTDIR="${pkgdir}" cmake --install build mv "${pkgdir}"/usr/bin/pcsx2-qt "${pkgdir}"/usr/share/PCSX2 ln -s /usr/share/PCSX2/pcsx2-qt "${pkgdir}"/usr/bin/pcsx2-qt - sed -i 's/Exec=env GDK_BACKEND=x11 MESA_NO_ERROR=1 pcsx2/Exec=pcsx2-qt/g' "${pkgdir}"/usr/share/applications/PCSX2.desktop + sed -i 's/Exec=env GDK_BACKEND=x11 MESA_NO_ERROR=1 pcsx2/Exec=env QT_QPA_PLATFORM=xcb MESA_NO_ERROR=1 pcsx2-qt/g' "${pkgdir}"/usr/share/applications/PCSX2.desktop } # vim: ts=2 sw=2 et: |