build: allow Linux system dependencies #1449

Closed
dannyhashim08 wants to merge 1 commit from upstream-pr/1449 into main
dannyhashim08 commented 2026-10-08 06:56:30 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by dannyhashim08 on 2026-10-08T06:56:30Z.


What

Adds the optional ANYPS5_USE_SYSTEM_DEPENDENCIES CMake switch for Linux. When enabled it uses system SDL2, FreeType, and FFmpeg via pkg-config/CMake; the bundled dependencies remain the default. Updates docs/dev/BUILD.md with package names and runtime requirements. Closes #400.

Tested

Not run. I did not configure or build this change.

Dependencies and overlap

Depends on: none. PR #1432 adds a separate relinker-only build mode; this change does not rely on it. Both edit the top-level CMake dependency setup, so merge order may require resolving overlapping edits.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR
  • Generic behaviour, not title-specific
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4783066891 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1449). Originally posted by [dannyhashim08](https://github.com/dannyhashim08) on 2026-10-08T06:56:30Z. --- ### What Adds the optional `ANYPS5_USE_SYSTEM_DEPENDENCIES` CMake switch for Linux. When enabled it uses system SDL2, FreeType, and FFmpeg via pkg-config/CMake; the bundled dependencies remain the default. Updates `docs/dev/BUILD.md` with package names and runtime requirements. Closes #400. ### Tested Not run. I did not configure or build this change. ### Dependencies and overlap Depends on: none. PR #1432 adds a separate relinker-only build mode; this change does not rely on it. Both edit the top-level CMake dependency setup, so merge order may require resolving overlapping edits. ### Checklist - [x] Based on current main; no other open PR implements the same functions - [x] One topic per PR - [x] Generic behaviour, not title-specific - [x] Depends on: none - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-08 07:43:14 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-08T07:43:14Z.


Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
#1456 CMakeLists.txt L11, L32-58
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6055172744 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1449#issuecomment-6055172744). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-08T07:43:14Z. --- <!-- pr-overlap --> Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in **Depends on**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | #1456 | `CMakeLists.txt` [L11](https://github.com/boykopovar/AnyPS5/blob/61896dea23b8dd75b72e0085a551dd8910a5d370/CMakeLists.txt#L11), [L32-58](https://github.com/boykopovar/AnyPS5/blob/61896dea23b8dd75b72e0085a551dd8910a5d370/CMakeLists.txt#L32-L58) | | |
oneandonlydean commented 2026-10-08 08:34:57 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-08T08:34:57Z.


Closing as a duplicate of #921, which adds the same opt-in system dependency build for #400 and is further along in review. If yours covers something #921 doesn't, please say so on #921.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6056008660 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1449#issuecomment-6056008660). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-08T08:34:57Z. --- Closing as a duplicate of #921, which adds the same opt-in system dependency build for #400 and is further along in review. If yours covers something #921 doesn't, please say so on #921.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!1449
No description provided.