# Contributor: Díaz Urbaneja Diego # Maintainer: Díaz Urbaneja Diego pkgname=ppsspp pkgver=1.15.4 pkgrel=0 pkgdesc="PPSSPP - a fast and portable PSP emulator" url="https://www.ppsspp.org/" arch="aarch64 x86 x86_64 ppc64le" # other arches fail to build license="GPL-2.0-only" makedepends=" cmake ffmpeg4-dev glew-dev libzip-dev mesa-dev miniupnpc-dev python3 qt5-qtbase-dev qt5-qtmultimedia-dev samurai sdl2-dev snappy-dev zlib-dev zstd-dev " source="https://github.com/hrydgard/ppsspp/releases/download/v$pkgver/ppsspp-$pkgver.tar.xz gcc13.patch " options="!check" # make check not implemented build() { cmake -B build-qt -G Ninja \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DUSE_DISCORD=OFF \ -DUSE_SYSTEM_FFMPEG=ON \ -DUSE_SYSTEM_LIBPNG=ON \ -DUSE_SYSTEM_LIBSDL2=ON \ -DUSE_SYSTEM_LIBZIP=ON \ -DUSE_SYSTEM_MINIUPNPC=ON \ -DUSE_SYSTEM_SNAPPY=ON \ -DUSE_SYSTEM_ZSTD=ON \ -DUSING_QT_UI=ON \ -DUSING_GLES2=ON \ -DUSING_EGL=ON cmake --build build-qt } package() { DESTDIR="$pkgdir" cmake --install build-qt } sha512sums=" 9d2c140b0d633e5ca6191aaf276b7e4f6d029f29d1313a45fb78ee3879fec09f57d816604c51474ab6fe9cde713787d5769e87466d3c3015fe6a9b195ff198d2 ppsspp-1.15.4.tar.xz febb3fa9c7c1d81178d1f7ca81ad2e6040f115369030ce9fe0bcc4f1a94e0ca2e875f3ee7c766f75b687a33c11d41bb4b8f4b97b08187a05337e9864656967ea gcc13.patch "