ppssppgold
maintainer forgezhzh
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package builds from multiple git sources, mostly from the official PPSSPP and related developer repositories; SKIP'd checksums are expected for git sources, and no untrusted or executable downloads are performed.
Triggered rules
LOW
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
LOW
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds from multiple git sources, mostly from the official PPSSPP and related developer repositories; SKIP'd checksums are expected for git sources, and no untrusted or executable downloads are performed.
PKGBUILD
1
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
3
# Contributor: Ben Reedy <thebenj88@gmail.com>
4
# Contributor: Clement Guerin <geecko.dev@free.fr>
5
# Contributor: Thiago Kenji Okada <thiago.mast3r@gmail.com>
6
# Contributor: caramel1205zh <forgezhzh@outlook.com>
7
8
pkgbase=ppssppgold
9
pkgname=(
10
ppssppgold
11
ppssppgold-assets
12
)
13
pkgver=1.20.4
14
pkgrel=4
15
pkgdesc='A PSP emulator written in C++'
16
arch=(x86_64)
17
url=https://www.ppsspp.org/
18
license=(GPL-2.0-or-later)
19
20
makedepends=(
21
clang
22
cmake
23
git
24
glew
25
glu
26
libglvnd
27
libpng
28
libzip
29
miniupnpc
30
ninja
31
openxr
32
python
33
sdl2
34
sdl2_ttf
35
snappy
36
zlib
37
)
38
39
source=(
40
git+https://github.com/hrydgard/ppsspp.git#tag=v${pkgver}
41
0001-ppssppgold.patch
42
git+https://github.com/Kethen/aemu_postoffice.git
43
git+https://github.com/Kingcom/armips.git
44
git+https://github.com/google/cpu_features.git
45
git+https://github.com/discordapp/discord-rpc.git
46
git+https://github.com/hrydgard/ppsspp-ffmpeg.git
47
armips-filesystem::git+https://github.com/Kingcom/filesystem.git
48
ppsspp-freetype::git+https://github.com/hrydgard/freetype.git
49
ppsspp-glslang::git+https://github.com/hrydgard/glslang.git
50
git+https://github.com/hrydgard/ppsspp-lang.git
51
git+https://github.com/rtissera/libchdr.git
52
git+https://github.com/hrydgard/ppsspp-lua.git
53
git+https://github.com/miniupnp/miniupnp.git
54
git+https://github.com/hrydgard/nanosvg.git
55
git+https://github.com/KhronosGroup/OpenXR-SDK.git
56
git+https://github.com/Tencent/rapidjson.git
57
git+https://github.com/RetroAchievements/rcheevos.git
58
git+https://github.com/KhronosGroup/SPIRV-Cross.git
59
)
60
61
b2sums=(
62
'cd2bca3351b97831f2e0d372bf544dcf3aa9d44095b56fe30de8bf4d586216e56ba24f22f3fac51ffb1343d4763fe3466628d6730c502c5e2230315b6319c336'
63
'SKIP'
64
'SKIP'
65
'SKIP'
66
'SKIP'
67
'SKIP'
68
'SKIP'
69
'SKIP'
70
'SKIP'
71
'SKIP'
72
'SKIP'
73
'SKIP'
74
'SKIP'
75
'SKIP'
76
'SKIP'
77
'SKIP'
78
'SKIP'
79
'SKIP'
80
'SKIP'
81
)
82
83
options=(!debug)
84
85
prepare() {
86
cd ppsspp
87
88
patch -Np1 -i ../0001-ppssppgold.patch
89
90
sed 's|miniupnpc/include/|miniupnpc/|g' -i Core/Util/PortManager.h
91
92
git cherry-pick -n 0f48685bb9158e5d6cafa0158441d7adba2471c7
93
94
for submodule in ffmpeg assets/lang ext/freetype ext/glslang ext/lua; do
95
git submodule init ${submodule}
96
git config submodule.${submodule}.url ../ppsspp-${submodule#*/}
97
git -c protocol.file.allow=always submodule update ${submodule}
98
done
99
100
for submodule in ext/{aemu_postoffice,armips,cpu_features,discord-rpc,libchdr,miniupnp,nanosvg,OpenXR-SDK,rapidjson,rcheevos,SPIRV-Cross}; do
101
git submodule init ${submodule}
102
git config submodule.${submodule}.url ../${submodule#*/}
103
git -c protocol.file.allow=always submodule update ${submodule}
104
done
105
106
cd ext/armips
107
108
for submodule in ext/filesystem; do
109
git submodule init ${submodule}
110
git config submodule.${submodule}.url ../../../armips-${submodule#*/}
111
git -c protocol.file.allow=always submodule update ${submodule}
112
done
113
}
114
115
build() {
116
export CC=clang
117
export CXX=clang++
118
119
export CFLAGS="-march=native -mtune=native -O3 -pipe"
120
export CXXFLAGS="$CFLAGS"
121
122
cmake -S ppsspp -B build -G Ninja \
123
-DCMAKE_BUILD_TYPE=None \
124
-DCMAKE_SKIP_RPATH=ON \
125
-DCMAKE_C_FLAGS="$CFLAGS" \
126
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
127
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
128
-DHEADLESS=ON \
129
-DGOLD=ON \
130
-DOpenGL_GL_PREFERENCE=GLVND \
131
-DUSE_SYSTEM_LIBZIP=ON \
132
-DUSE_SYSTEM_MINIUPNPC=ON \
133
-DUSE_SYSTEM_SNAPPY=ON \
134
-DUSE_SYSTEM_ZSTD=ON \
135
-DUSING_QT_UI=OFF \
136
-Wno-dev
137
138
cmake --build build --parallel
139
}
140
141
package_ppssppgold() {
142
provides=(ppsspp)
143
conflicts=(ppsspp)
144
145
depends=(
146
glew
147
glibc
148
hicolor-icon-theme
149
libgcc
150
libgl
151
libpng
152
libstdc++
153
libzip
154
miniupnpc
155
openxr
156
ppssppgold-assets
157
sdl2
158
sdl2_ttf
159
snappy
160
zlib
161
zstd
162
)
163
164
install -Dm755 build/PPSSPPGold -t "${pkgdir}"/usr/bin/
165
install -Dm755 build/PPSSPPHeadless -t "${pkgdir}"/usr/bin/
166
167
install -dm755 "${pkgdir}"/usr/share/icons
168
169
cp -dr --no-preserve=ownership \
170
ppsspp/icons/hicolor \
171
"${pkgdir}"/usr/share/icons/
172
173
install -Dm644 \
174
ppsspp/icons/icon-512.svg \
175
"${pkgdir}"/usr/share/icons/hicolor/scalable/apps/ppsspp.svg
176
177
install -Dm644 \
178
build/ppsspp.desktop \
179
-t "${pkgdir}"/usr/share/applications/
180
}
181
182
package_ppssppgold-assets() {
183
provides=(ppsspp-assets)
184
conflicts=(ppsspp-assets)
185
186
depends=(
187
noto-fonts
188
noto-fonts-cjk
189
)
190
191
install -dm755 "${pkgdir}"/usr/share/ppssppgold
192
193
cp -dr --no-preserve=ownership \
194
build/assets \
195
"${pkgdir}"/usr/share/ppssppgold/
196
}
197
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 03:13:55 | LOW | 2 |