diff options
author | kenshen112 | 2022-06-23 12:02:12 -0700 |
---|---|---|
committer | kenshen112 | 2022-06-23 12:02:12 -0700 |
commit | 6ebe573b5df5104847b67c61797eee8d4a1a4606 (patch) | |
tree | 37680de50d10cdd9d153bfea15a10eae6852cacf /PKGBUILD | |
parent | 831e08d26e07bc316480b994bf16aaf0e8d7b0cf (diff) | |
download | aur-6ebe573b5df5104847b67c61797eee8d4a1a4606.tar.gz |
Test QT
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -30,7 +30,8 @@ depends=( portaudio libsamplerate sdl2 - wxgtk3 + qt6-base + qt6-tools fmt soundtouch wayland @@ -46,7 +47,7 @@ makedepends=( python vulkan-headers ) -provides=(pcsx2) +provides=(pcsx2-qt) conflicts=(pcsx2) source=( git+https://github.com/PCSX2/pcsx2.git @@ -88,6 +89,7 @@ build() -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON \ -DWAYLAND_API=ON \ + -DQT_BUILD=ON \ -DXDG_STD=TRUE \ -USE_VULKAN=ON \ -DUSE_SYSTEM_LIBS=ON \ @@ -100,6 +102,14 @@ build() package() { DESTDIR="${pkgdir}" cmake --install build + mv "${pkgdir}"/usr/bin/pcsx2-qt "${pkgdir}"/usr/share/PCSX2 + ln -s "${pkgdir}"/usr/share/PCSX2/pcsx2-qt "${pkgdir}"/usr/bin/pcsx2-qt + +} + +post_install() +{ + rm /usr/bin/pcsx2 } # vim: ts=2 sw=2 et: |