Commit Graph

677 Commits

Author SHA1 Message Date
DioEgizio
5532976ea7 fix: Add back fallback to pkgconfig for tomlplusplus
fixes a regression in #4405
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2025-12-01 21:47:18 +01:00
Seth Flynn
0704027e6c build: install 256x256 png icons
This is required by `go-appimage` - and apparently(?) a requirement by
XDG, with SVGs being optional

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-29 11:09:24 -05:00
Seth Flynn
5c8b18098f Remove in-tree third party dependencies (#4405) 2025-11-28 07:59:20 -05:00
Seth Flynn
38afa3a94c build: remove vendored gamemode code
Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-28 04:02:08 -05:00
Seth Flynn
e2c31569dc build: remove third party submodules
Most of these are extremely common in distributions now, so packagers
don't have much need for our in-tree versions - most don't even use them
as is

With our move to vcpkg for Windows/macOS, we also don't have a need for
them. So time to say goodbye!

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-28 04:01:59 -05:00
Seth Flynn
5cb09d6ae8 De-vendor Qt and ECM CMake files (#4404) 2025-11-27 19:01:21 -05:00
Seth Flynn
dc774aa424 build(cmake): remove Launcher_FORCE_BUNDLED_LIBS option
As we won't be providing "bundled" libraries anymore, this option is
basically pointless

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-27 16:51:16 -05:00
Seth Flynn
690a61a9e0 build(cmake): de-vendor versionless qt commands
These are already shipped in all versions of Qt 6

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-27 15:54:29 -05:00
Trial97
074846d72a remove qt5compat
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-27 22:37:31 +02:00
Trial97
c456e35e41 build(cmake): better detect libarchive
Co-authored-by: Octol1ttle <l1ttleofficial@outlook.com>
Co-authored-by: Seth Flynn <getchoo@tuta.io>
Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
Signed-off-by: Seth Flynn <getchoo@tuta.io>
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:41:57 +02:00
Trial97
8cace06df9 move libarchive outside bundle libs
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:41:22 +02:00
Trial97
84efa6814d remove quazip
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:41:20 +02:00
Trial97
60b2585711 move some functions from MMCZip to use libarchive
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:39:18 +02:00
Trial97
fa930afe4b move ExportToZipTask
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:39:18 +02:00
Alexandru Ionut Tripon
dd295aaf1e Use multi-config generator for CMake presets (#4301) 2025-11-13 20:21:40 +02:00
Seth Flynn
a9f27ef075 Use libqrencode for MSA QR codes (#3956) 2025-11-13 05:11:38 -05:00
Seth Flynn
3b9e020115 feat(ui/MSALoginDialog): use libqrencode for qr codes
`qrcodegen` isn't available in most repositories, package discovery
scripts for it are maintained in a different repository, and they are
bugged for Windows at least. This basically forces us into vendoring it,
which isn't cool; libqrencode seems like viable alternative used by many
more apps

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-13 04:12:52 -05:00
DioEgizio
42b53504be chore: update to latest version of sparkle framework
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2025-11-09 09:01:24 +01:00
Seth Flynn
1e4e3fd914 build(cmake): match ninja multi-config for compile commands
Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-06 17:41:22 -05:00
Seth Flynn
85d6e03a4e build(cmake): always emit compile commands
Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-06 17:41:21 -05:00
Trial97
29231e2038 chore: update to cxx20
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-07-30 18:52:52 +03:00
Seth Flynn
af73cfa20f Add support for vcpkg (#3742) 2025-07-09 06:50:41 -04:00
seth
a5f5d14538 build(cmake): fallback to pkg-config discovery for tomlplusplus
Some distributions of it (like in vcpkg *wink*) won't contain CMake files

Signed-off-by: seth <getchoo@tuta.io>
2025-07-09 05:22:44 -04:00
Seth Flynn
f3b778342e build(cmake): replace INSTALL_BUNDLE with install component
Considering this doesn't affect the build, it has never made much sense
for it to be a build option or require rereconfiguration of the project
to change

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-07-08 11:03:19 -04:00
seth
1688db055e build: modernize launcher bundling
Replaces fixup_bundle with Qt's deployment scripts and CMake's newer
RUNTIME_DEPENDENCY_SET target, making it a bit easier to find and
include linked dependencies with less code on our end

Signed-off-by: seth <getchoo@tuta.io>
2025-07-08 11:03:19 -04:00
Seth Flynn
1deda8cdf4 build(cmake): set minimum version to 3.22
This requirement was introduced in Qt 6.9

https://doc.qt.io/qt-6/whatsnew69.html#build-system-changes

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-07-03 04:46:18 -04:00
seth
71be6eb7d8 build: deploy pdbs with windows builds
Signed-off-by: seth <getchoo@tuta.io>
2025-06-30 15:22:51 -04:00
seth
dac73b394a build: emit pdbs on mingw
Signed-off-by: seth <getchoo@tuta.io>
2025-06-30 15:21:04 -04:00
Puqns67
49dc9a5d3f chore(deps): try find system wide qrcodegencpp-cmake and use it
Signed-off-by: Puqns67 <me@puqns67.icu>
2025-06-02 00:58:42 +08:00
Trial97
476054ba19 feat: move qr code glue in MSALoginDialog
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-04-29 11:27:02 +03:00
Seth Flynn
3df98dd5e7 Remove support for Qt 5 (#2174) 2025-04-18 16:26:55 -04:00
Trial97
cb591ba52e chore:add qr code support for login
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-04-18 18:46:10 +03:00
Trial97
2271a05b19 chore: add back deprecation warnings and disable all API deprecated before 6.0
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-04-18 12:37:54 +03:00
Trial97
5fee4e3f8b chore: remove qt5 from release and copyright
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-04-18 00:17:29 +03:00
Trial97
59bd6a915b chore: remove qt5 from cmake files
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-04-17 23:38:49 +03:00
Alexandru Ionut Tripon
42007290a0 Start using patch versioning for launcher (#3605) 2025-04-13 20:27:14 +03:00
Trial97
4361aaa094 remove ghc_filesystem
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-04-10 22:38:55 +03:00
Rachel Powers
b579cae5c2 feat(server): start using semver for launcher
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2025-04-08 04:27:06 -07:00
Seth Flynn
8a21b07915 build: export compile commands for debug builds
Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-03-22 22:16:18 -04:00
Trial97
47af33ff6f Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into skin 2025-02-21 08:40:33 +02:00
Trial97
bf1084d7fa Fix some undefined behaviour
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-02-11 10:59:10 +02:00
Trial97
49d82ab528 fix build
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-01-21 23:49:42 +02:00
Seth Flynn
e66f447ce5 feat: use better compile flags for mingw
Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-01-20 20:36:48 -05:00
Trial97
87ec7cdd39 move background to vertex buffer
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-01-10 14:54:40 +02:00
Trial97
cd0895b237 Add skin preview
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-01-10 00:54:14 +02:00
Kenneth Chew
b6cd46ad27 Update Sparkle to v2.6.4
Signed-off-by: Kenneth Chew <79120643+kthchew@users.noreply.github.com>
2024-12-14 00:42:08 -05:00
Jan200101
514ec99a03 Integrate switcheroo-control for discrete GPU support
Signed-off-by: Jan200101 <sentrycraft123@gmail.com>
2024-11-25 22:29:39 +01:00
Trial97
3bc40120cd bump develop to 10
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2024-10-25 00:17:34 +03:00
Trial97
2d234b127b make sure that tests are only disabled fro cmark
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2024-10-19 22:07:31 +03:00
Trial97
2030041fcc Fix tests segfault
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2024-10-19 21:42:14 +03:00