Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ PKG_URL="${PKG_SITE}.git"
PKG_DEPENDS_TARGET="toolchain llvm qt6 SDL3 ffmpeg curl zlib zstd libpng pugixml \
libusb libevdev alsa-lib pulseaudio openal-soft miniupnpc"
PKG_LONGDESC="PS3 Emulator"
PKG_WIKI_CONFIG_DB="https://api.rpcs3.net/config/?api=v1"

if [ "${OPENGL_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGL} glew"
Expand Down Expand Up @@ -54,4 +55,12 @@ makeinstall_target() {

mkdir -p ${INSTALL}/usr/config/rpcs3
cp -aL ${PKG_DIR}/config/${DEVICE}/* ${INSTALL}/usr/config/rpcs3

mkdir -p ${INSTALL}/usr/config/rpcs3/GuiConfigs
CONFIG_DB="${PKG_BUILD}/config_database.dat"
if curl -fLo "${CONFIG_DB}" "${PKG_WIKI_CONFIG_DB}" && grep -q '"games"' "${CONFIG_DB}"; then
cp "${CONFIG_DB}" ${INSTALL}/usr/config/rpcs3/GuiConfigs
else
log_qa_check "config_database" "could not fetch a valid config database from ${PKG_WIKI_CONFIG_DB}"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is that log_qa_check function defined ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's in config/functions. No package.mk calls it directly, but safe_remove uses it, so it's available there. It only prints a warning and doesn't break the build. Happy to switch to a plain echo if you prefer.

fi
}