Commit Graph

52 Commits

Author SHA1 Message Date
bnnm
f28cd1ada9 cleanup: remove jansson dependency 2024-07-28 18:40:05 +02:00
KatieFrogs
2e3694e102 CMake: Add stripping
- Strips binaries on gcc/clang
  - Affects Linux binary size: from 14.2mb to 6.1mb for static, and from 3.1mb to 2.6mb for shared
  - Does not affect wasm binary size
- Fix building static linux binaries on Ubuntu 22.10 by renaming a few functions in libcelt that clash with system libopus
- Fix building wasm binaries on systems with Vulkan installed
2023-01-24 17:15:20 +01:00
John K. Luebs
4834b27789 Do not use shallow git clones for dependencies pinned at a raw commit hash 2023-01-22 18:04:02 -06:00
bnnm
495958af42 build: tweaks 2023-01-15 22:44:52 +01:00
bnnm
bbca255d24 build: move helper ext_lib files to ext_lib/extra 2023-01-15 20:10:21 +01:00
bnnm
757710e888 move libspeex with other DLLs
- also to libspeex-1.dll for consistency with other autoconf DLLs
2023-01-15 19:13:33 +01:00
bnnm
872db6072b remove maiatrac3plus code
- hasn't been used for a long time
2023-01-15 18:52:56 +01:00
bnnm
86c4d81506 update ffmpeg
- compiled with VS2019 (since old DLL used MSVC too)
- version n5.1.2
- removed unused config and included binka
- removed XP support
- comments in config txt
- has some crash bugs (to be improved in later commits)
2023-01-15 17:39:01 +01:00
bnnm
4429bb0fca update libspeex
- compiled with mingw-w64 GCC 12.2
- version 1.2.1
- properly stripped and exports external API only
2023-01-15 17:28:16 +01:00
bnnm
0c77e5bec4 update libcelt
- compiled with mingw-w64 GCC 12.2
- properly stripped and exports external API only
- uses (symbol)_(version) renames for consistency
2023-01-15 17:11:54 +01:00
bnnm
f5e4a952e2 update libmpg123
- compiled with mingw-w64 GCC 12.2
- version 1.31.1
- compared with old DLL, output results in many +-1 diffs, but is correct vs newer official binaries
2023-01-15 17:06:15 +01:00
bnnm
6babe91a5e Use ffmpeg 5.1.2 in cmake 2022-10-18 00:05:56 +02:00
KatieFrogs
860ec12bd6 Cmake: Fix building Audacious plugin 2022-06-27 02:55:14 +02:00
KatieFrogs
49004ee1e1 CMake: Fix downloading Speex 2022-04-14 15:29:54 +03:00
Adam Gashlin
abafdb4b9e Use NOT VERSION_LESS for CMake 3.6 2022-03-22 13:45:39 -07:00
Adam Gashlin
ea45158d7d Only use FetchContent on CMake >= 3.11 2022-03-22 13:07:44 -07:00
Lukas Cone
e7e6365bdd
fixed system ffmpeg detection 2022-03-07 09:25:47 +01:00
KatieFrogs
04b5a1f098 Cmake: Fix Celt not downloading
Falls back to downloading through Git if it downloads an empty file
2022-02-04 06:29:15 +03:00
KatieFrogs
21af22ac2b Fix jansson not building 2021-10-25 11:03:15 +03:00
KatieFrogs
493c12916c Cmake: Build mpg123 and jansson for wasm target 2021-10-25 10:06:59 +03:00
KatieFrogs
64b360b4d9 Actions: Add dependency caching for Linux and wasm 2021-10-23 10:48:06 +03:00
KatieFrogs
ba271b800b Remove ogg dependency from celt 2021-10-22 19:56:36 +03:00
KatieFrogs
55a85957ff Download preconfigured celt 2021-10-22 16:59:33 +03:00
KatieFrogs
bf0924823c Use cmake ranlib in speex 2021-10-22 11:31:57 +03:00
KatieFrogs
15713562a1 Fix ogg dependency 2021-10-22 10:29:06 +03:00
KatieFrogs
c6a7070428 Cmake: Build celt for wasm target 2021-10-22 10:09:33 +03:00
KatieFrogs
d53c624ab9 Fix static build with celt 2021-10-22 08:19:11 +03:00
KatieFrogs
009bddf976 Cmake: Build celt for Linux target 2021-10-22 07:51:04 +03:00
KatieFrogs
bf89c3503d Cmake: Fixes for dependencies
- Sets dependencies for targets
  - Fixes not being able to build single targets, like `make vgmstream_cli`
  - Fixes not being able to build with multiple jobs, like `make -j 5`
- Compiles dependencies out of the source directory
- Fixes double lib suffix, renaming liblibvgmstream.a to libvgmstream.a
- Removes zlib dependency from static builds, previously required by ffmpeg
- If ARCHIVE_EXTRACT is not available in cmake, mpg123 will be downloaded through svn, then fall back to git if that is not available either
2021-10-02 09:02:27 +03:00
bnnm
a46606fddb cmake: mpg123 downloads in v3.18< 2021-10-01 00:06:19 +02:00
LoveEevee
22639565f6 Cmake fixes 2021-09-27 02:36:54 +03:00
LoveEevee
60cb90c4a0 Cmake: Build FFmpeg for wasm target 2021-09-19 20:00:39 +03:00
LoveEevee
81ebcddd7b Cmake: Refactor dependency fetching
- Build maiatrac3plus on targets without ffmpeg
2021-09-19 08:46:47 +03:00
LoveEevee
63ec122712 Do not require opus in shared builds 2021-08-30 08:07:37 +03:00
LoveEevee
a9c398e8c8 Static link more libraries 2021-08-30 07:52:15 +03:00
LoveEevee
25d6b980dc Add static building option in cmake
Not compatible:
- mpeg
- ffmpeg
- speex
- vgmstream123
- audacious plugin
2021-08-28 20:32:52 +03:00
LoveEevee
4bd621abac Add Atrac9 and Speex to cmake on Linux 2021-08-27 17:04:32 +03:00
bnnm
d351710887 cli/audacious/foobar: print logs 2021-08-26 18:43:17 +02:00
LoveEevee
26f2e7cd28 Add G.719 support on Linux 2021-08-25 18:50:20 +03:00
Lukas Cone
0bdc09f56e fix cmake cache var override 2021-07-23 10:50:35 +02:00
Lukas Cone
aa196055c2 Allow use of external ffmpeg SDK 2021-07-17 20:09:11 +02:00
Lukas Cone
be7a8371ba ffmpeg includes from system for unix 2021-07-17 20:09:11 +02:00
bnnm
628e98116b Update builds for libspeex 2021-01-23 16:44:16 +01:00
Naram Qashat
1441caccc5 Some CMake updates.
* Remove a couple TODO messages as they have already been done.
* Add check for parent directory to stop warning about there being no parent scope if building vgmstream directly.
* Remove the options for FDK-AAC and QAAC.
* Fix a few uses of CMAKE_CURRENT_SOURCE_DIR to use VGM_SOURCE_DIR (for consistency sake).
* Fix a few uses of CMAKE_BINARY_DIR to use VGM_BINARY_DIR.
* Add some conditionals for the install paths so they don't show if you aren't building something.
2020-03-07 22:25:31 -04:00
bnnm
7762bce8a5 Remove libg7221_decode 2020-01-12 12:33:37 +01:00
Lukas Cone
087ed737ca CMake Refactor 2020-01-11 17:34:53 +01:00
Naram Qashat
b469045937 Fix build on *nix-based systems by linking to libm. 2019-03-23 12:47:06 -04:00
Naram Qashat
4b99dd6a7f Add vgmstream123 to CMake scripts (and make compile), other cleanups
For some reason vgmstream123 doesn't actually play anything for me...
2019-03-20 22:23:47 -04:00
Naram Qashat
2dda273627 Add install rules to CMake scripts 2019-03-19 22:00:48 -04:00
Naram Qashat
30506a084a Add Audacious CMake script, cleanup
Also had to fix a few of the audacious files to get them to compile, mainly not using NULL in the input plugin constructor and casting the STREAMFILE functions (maybe some *nix compilers would've accepted those, but FreeBSD 12's Clang did not)
2019-03-18 00:17:08 -04:00