build: emit yaps2-qt / yaps2-sdl binaries for the fork

Rename the two shipped application frontends' output files from pcsx2-qt / pcsx2-sdl to yaps2-qt / yaps2-sdl via OUTPUT_NAME. The CMake target names are unchanged, so the build graph, install() rules and ctest references keep working; only the produced binary file name changes.

Also repoint the Linux packaging that launches the app at the new name: the .desktop Exec, the AppImage BINARY/--executable, and the Flatpak command. The desktop app-id (net.pcsx2.PCSX2), window class, config dir (~/.config/PCSX2) and the dev/test runners are intentionally left as-is; a full display-name/app-id rebrand is a separate change.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Brian Degenhardt
2026-07-03 15:36:51 -07:00
co-authored by Claude Opus 4.8
parent 7126e22d08
commit 5bb52bef60
5 changed files with 13 additions and 4 deletions
@@ -37,7 +37,7 @@ BUILDDIR=$2
DEPSDIR=$3
NAME=$4
BINARY=pcsx2-qt
BINARY=yaps2-qt
APPDIRNAME=PCSX2.AppDir
STRIP=strip
@@ -111,7 +111,7 @@ EXTRA_PLATFORM_PLUGINS="libqwayland.so" \
DEPLOY_PLATFORM_THEMES="1" \
QMAKE="$DEPSDIR/bin/qmake" \
NO_STRIP="1" \
$LINUXDEPLOY --plugin qt --appdir="$OUTDIR" --executable="$BUILDDIR/bin/pcsx2-qt" ${EXTRA_LIBS_ARGS[@]} \
$LINUXDEPLOY --plugin qt --appdir="$OUTDIR" --executable="$BUILDDIR/bin/yaps2-qt" ${EXTRA_LIBS_ARGS[@]} \
--desktop-file="net.pcsx2.PCSX2.desktop" --icon-file="PCSX2.png"
echo "Copying resources into AppDir..."
@@ -14,7 +14,7 @@
"autodownload": true
}
},
"command": "pcsx2-qt",
"command": "yaps2-qt",
"finish-args": [
"--device=all",
"--share=network",
@@ -6,7 +6,7 @@ Name=PCSX2
StartupWMClass=PCSX2
GenericName=PlayStation 2 Emulator
Comment=Sony PlayStation 2 emulator
Exec=pcsx2-qt
Exec=yaps2-qt
Icon=PCSX2
Keywords=game;emulator;
Categories=Game;Emulator;
+5
View File
@@ -367,6 +367,11 @@ endif()
fixup_file_properties(pcsx2-qt)
setup_main_executable(pcsx2-qt)
# yaps2 fork: emit the application binary as "yaps2-qt" instead of "pcsx2-qt".
# The CMake target stays named pcsx2-qt so the build graph, install() rules and
# ctest references are untouched; only the produced file name changes.
set_target_properties(pcsx2-qt PROPERTIES OUTPUT_NAME "yaps2-qt")
# Opt-in non-PIE link for cross-run VU program cache validation.
# A PIE build is loaded at an ASLR-randomized image base, so a cached
# program's recorded image base mismatches on every cold boot and
+4
View File
@@ -1,5 +1,9 @@
add_executable(pcsx2-sdl)
# yaps2 fork: emit the handheld frontend binary as "yaps2-sdl" instead of
# "pcsx2-sdl". Target name stays pcsx2-sdl; only the produced file changes.
set_target_properties(pcsx2-sdl PROPERTIES OUTPUT_NAME "yaps2-sdl")
if (PACKAGE_MODE)
install(TARGETS pcsx2-sdl DESTINATION ${CMAKE_INSTALL_BINDIR})
else()