blob: f23950ecff8f07d838bfcbd63017694c59c40cdf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Contributor: Díaz Urbaneja Diego <sodomon2@gmail.com>
# Maintainer: Díaz Urbaneja Diego <sodomon2@gmail.com>
pkgname=ppsspp
pkgver=1.17.1
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"
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="
eaa0046f5d8e529efd8238690fa242638aa88630172abe59c4b7ffb16b1e18eeb38fcaf8e70ef76dbd2304b226d1f33e10cde709abe00fa2a5baff16c1883c31 ppsspp-1.17.1.tar.xz
"
|