151 Commits

Author SHA1 Message Date
teejusb 8edc14febf Update libpng and zlib to fix Mac builds 2025-05-23 19:48:00 -07:00
dando92 5cfa78c4dd Cmake hidapi fixed conditional build 2025-03-27 22:36:29 -07:00
dando92 5d1383572d Fixed mac build referencing wrong header 2025-03-27 22:36:29 -07:00
DANDO\Aless 7cdf7033ab Added cmake for both linux and win build 2025-03-27 22:36:29 -07:00
DANDO\Aless 4271f43a2e Added hidapi submodule 2025-03-27 22:36:29 -07:00
Rafał Florczak 9e1f084a46 Check for APPLE instead of MACOSX, use a list for passing arch flags 2025-03-12 19:00:24 -07:00
teejusb bb9639ead9 Remove BUILD_ALWAYS ON for libjpeg-turbo 2025-03-05 08:41:12 -08:00
Rafał Florczak c502388d15 Set static libdir for libjpeg-turbo
Some distributions like Fedora or Arch use lib64 instead of lib for the
libs. That prevented the `LIB_PATH` from pointing at the correct file,
and as a result the linking failed on those systems.
2025-03-05 08:07:45 -08:00
Rafał Florczak 3c0b480b93 Replace the vendored libjpeg with the submodule of libjpeg-turbo 3.1.0
Co-authored-by: phantom10111 <phantom10111@gmail.com>
2025-03-03 23:33:15 -08:00
Yauhen Artsiukhou 59e6e94cf3 Embed libusb 1.0 into project 2024-10-06 17:43:13 -07:00
teejusb ee18ecfff3 Downgrade from MbedTLS 3.6.0 -> 3.5.2 because of connectivity issues 2024-06-08 15:12:08 -07:00
teejusb c475e86f81 Update IXWebSockets which removes reliance on the compile time flag 2024-06-07 22:11:17 -04:00
teejusb a9fbfe4df0 Update IXWebSocket to support MbedTLS Crypto changes 2024-04-30 17:07:21 -07:00
teejusb 1920217cfb Reapply "Update mbedtls from 3.21 -> 3.6.0 LTS"
This reverts commit ff3ce9544a.
2024-04-30 16:50:25 -07:00
Arthur Eubanks adace28e57 Make zlib workaround for #107 apply everywhere
I missed zlib in #150.
2024-04-20 19:38:19 -07:00
teejusb ff3ce9544a Revert "Update mbedtls from 3.21 -> 3.6.0 LTS"
This reverts commit 6123c2bad4.
2024-04-12 10:36:51 -07:00
teejusb 6123c2bad4 Update mbedtls from 3.21 -> 3.6.0 LTS 2024-04-10 20:22:31 -07:00
nabulator 04c234831b bump ffmpeg to n5.1.4 to compile on Arch Linux as per @Drayux comment 2024-04-04 09:21:16 -05:00
teejusb 410c4b2f9e Update IXWebSocket to v11.4.5 from v11.4.3 2024-03-12 16:53:36 -07:00
Arthur Eubanks 7f76a1f5b9 Make tomcrypt workaround for #107 apply everywhere
I'm seeing the same warning building with clang on Linux.
2023-10-24 13:59:08 -07:00
Ben Kirzhner d07cb4c02f Unbreak windows builds by reverting mbedtls to 3.2.1 2023-06-15 00:13:24 -07:00
Ben Kirzhner 7c4f628247 Add requested TODOs. 2023-05-22 12:37:27 -07:00
Ben Kirzhner 0c5160dd1c Use c standard w/o warnings on macOS >=13.3
See itgmania/itgmania#107 for error details.
2023-05-22 12:37:27 -07:00
Ben Kirzhner c0b6ea633c Update mbedtls, fixing unused variable warning 2023-05-22 12:37:27 -07:00
Martin Natano 78fb2e9fc3 Decouple <cstddef> 2023-04-20 11:21:29 +02:00
teejusb ef144a7f9d Remove WITH_MINIMAID CMake option
Always build ITGmania with Minimaid

There's no harm in always having this built as it's configurable based on the LightsDriver field.

Update mmmagic.dll -> mmmagic64.dll to conform with the new dll filename

Also fix PacDrive.h header
2022-12-19 20:19:16 -08:00
Martin Natano 838de6fb81 Remove support for mingw
MSVC works fine and the bundled mingw libraries are outdated.
2022-06-07 22:49:05 +02:00
Martin Natano 258fd61229 Use mbedtls on all platforms & bundle root CAs
Certificate bundle downloaded from https://curl.se/docs/caextract.html.
It is licensed under the MPL 2.0.
2022-06-07 10:54:10 +02:00
Martin Natano f47ea91e0a Stop looking for bundled libraries 2022-06-07 10:54:10 +02:00
Martin Natano 7b9a799cdb Statically link MSVC runtime 2022-06-03 19:47:45 +02:00
Martin Natano 2fc8705f45 Force dead code elimination for libtommath 2022-05-31 18:21:35 +02:00
Martin Natano 327278436d Remove support for building with system libraries 2022-05-31 18:21:35 +02:00
Martin Natano f83dd1989d Move libtomcrypt to submodule 2022-05-30 23:57:33 +02:00
Martin Natano 967ff91cc6 Upgrade libtommath unknown version from 2010 -> 1.2.0 and move to submodule 2022-05-30 23:57:33 +02:00
Martin Natano 9723a67ad7 Upgrade pcre 4.5 -> 8.45 2022-05-30 23:57:33 +02:00
Martin Natano d112fdd1d2 Rename libmad directory 2022-05-30 23:57:33 +02:00
Martin Natano 06154a0094 Upgrade libjpeg 8c -> 9e 2022-05-30 23:57:33 +02:00
Martin Natano 2934af7784 Upgrade glew 1.5.8 -> 2.2.0 2022-05-30 23:57:33 +02:00
Martin Natano 2bb9124c72 Clean up build system 2022-05-30 23:57:33 +02:00
Martin Natano 7d29ee308d Upgrade vorbis 1.3.6 -> 1.3.7 and move to submodule 2022-05-30 23:57:33 +02:00
Martin Natano 1a44af0cf4 Upgrade ogg 1.3.2 -> 1.3.5 and move to submodule 2022-05-30 23:57:33 +02:00
Martin Natano 1764dbcea8 Move libpng to submodule 2022-05-30 23:57:33 +02:00
Martin Natano b6620d50ed Move ffmpeg to submodule 2022-05-30 23:57:33 +02:00
Martin Natano 3d05e523c8 Upgrade zlib 1.2.11 -> 1.2.12 and move to submodule 2022-05-30 23:57:33 +02:00
Martin Natano 7f06ca703d Upgrade IXWebSocket 11.3.2 -> 11.4.3 and move to submodule 2022-05-30 23:57:33 +02:00
Martin Natano 9cf66ae643 Update ffmpeg 2.1.3 -> 5.0.1
Old ffmpeg has a lot of vulnerabilities that have been fixed in newer
versions, see https://www.cvedetails.com/vulnerability-list/vendor_id-3611/Ffmpeg.html.
2022-04-30 23:22:52 +02:00
Martin Natano 3ca3bb0773 Fix macOS build 2022-04-11 14:50:00 -07:00
Martin Natano 5019625aaf Remove unused extern cmake project 2022-04-11 14:50:00 -07:00
Martin Natano a8b9c1da09 Replace some SM cmake macros with builtin functions 2022-03-31 12:06:18 -07:00
Martin Natano 67d1c78450 Implement FILEMAN:Unzip(string zipPath, string targetPath, int strip)
Unzip zip file at `zipPath` to `targetPath`.
`strip` is optional and defaults to `0`. If set to a number larger than
`0`, that many components are removed from the paths of the extracted
files. e.g. `a/b/c` is replaced with `b/c` when stripping one component
or just `c` when stripping two.
Returns whether all files were extracted successfully.
2022-03-13 11:46:28 -07:00