Commit Graph

2 Commits

Author SHA1 Message Date
jolavillette
d4a20720ae build(macos): detect Qt version for the deploy archive name
deploy-macos.sh hardcoded QT_VERSION="UnknownQt", producing archive names like
...-Qt-UnknownQt.dmg. Query qmake (and the keg-only Homebrew qt@5 qmake) to put
the real Qt version in the name, mirroring deploy-windows.sh; fall back to
"UnknownQt" only if nothing is found.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-06 17:31:56 +02:00
jolavillette
28ff5a6d33 build: move deploy scripts under build_scripts/<platform>/
Following the removal of the orchestrator Makefile, the canonical build is now
plain CMake on the top-level CMakeLists.txt (e.g. cmake -B Build-cmake -S .
-DRS_PLUGINS=ON && cmake --build Build-cmake; on Windows add -G "MSYS Makefiles"
-DRS_LIBRETROSHARE_STATIC=OFF -DRS_LIBRETROSHARE_SHARED=ON).

Move the packaging scripts into their matching build_scripts/ sub-directories and
make them independent of the Makefile and of the invocation directory:
- deploy-macos.sh   -> build_scripts/OSX/deploy-macos.sh
- deploy-windows.sh -> build_scripts/Windows-msys2/deploy-windows.sh
Each script now cd's to the repository root from its own location and reads the
build directory from BUILD_DIR (default Build-cmake) instead of assuming it.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-06 12:34:07 +02:00