19 Commits
Author SHA1 Message Date
Rafał Florczakandteejusb 90aabddc7f Drop libbz2 dependency
Dynamic linking against libbz2 was problematic on some distributions.
We only needed it for pcre's CLI (which we don't use) and ffmpeg's mkv
decompression in case a user forced encoder to use it, because its usage
is discouraged by the standard.

See https://github.com/itgmania/itgmania/issues/217 for the related
discussion.
2024-06-18 05:39:51 -07:00
Martin Natano 58dd83db8a Disable vaapi
One less dependency to worry about and ffmpeg works fine without it.
2022-06-07 10:54:10 +02:00
Martin Natano 740ead25bf Universal binaries break input monitoriing on M1
Let's build two separate apps for arm64 and x86_64. Sigh
2022-06-06 11:19:59 +02:00
Martin Natano ed4090e2ba Enable asm optimizations for ffmpeg on macOS 2022-06-05 12:04:37 +02:00
Martin Natano b9171d4892 Fix ffmpeg target OS version on macos 2022-05-24 14:56:02 -07:00
Martin Natano b9ebbd32a9 Build universal binary on macOS 2022-05-02 21:23:48 +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 Natanoandteejusb 3ca3bb0773 Fix macOS build 2022-04-11 14:50:00 -07:00
Martin Natanoandteejusb a8b9c1da09 Replace some SM cmake macros with builtin functions 2022-03-31 12:06:18 -07:00
Nico Lehmannandteejusb f0170fc8ce FIx "protocol on port 9418 is no longer supported"
I was getting the following error when building:

```
fatal: remote error:
  The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
```

Changing the protocol to `https` solves the problem for me.
2022-03-28 20:11:53 -07:00
TatshandColby Klein b8a79cd0f6 Allow linking against system libraries for almost everything (#1790) 2019-02-16 08:32:52 -08:00
TatshandColby Klein d395028bd4 Mac fixes (#1776)
* macOS build fixes (#1773)

* macOS build fixes

Add missing headers
Threads_Pthreads: do not call pthread_setname_np() on macOS as it does not do
the same as on Linux
DebugStr() -> os_log()

* Make the project build with Makefiles on macOS

* Fix getting modifier key state on Mac (#1774)

We really need to clean up all Carbon calls here (many will go away when the
project switches to SDL2 for all platforms)

* Fix Xcode build; bump minimum version of macOS (#1775)

* Build fixes for the "Unix Makefiles" generator
Pass CMAKE_BUILD_TYPE to the external projects
* Fix indent
2018-12-31 19:28:59 -08:00
Kyzentun Keeslala 832fd0e1b6 Use case insensitive lookup when removing invalid sound drivers, the same lookup used when creating the sound driver. Change ffmpeg fetching to fetch from stepmania's mirror because ffmpeg.org moved theirs. 2016-08-04 16:57:31 -06:00
Devin J. Pohly c4f6149b01 Add -j1 explicitly when WITH_FFMPEG_JOBS is 1
This would otherwise not override any existing -j parameter from parent
make.
2016-05-24 11:47:08 -04:00
Devin J. Pohly 3e743add48 propagate make cmd/flags to sub-make 2016-05-12 22:10:53 -04:00
Naftuli Tzvi Kay 203189a98c Compile FFMPEG in PIC when configured as such.
When the CMake flag is specified for position independent code,
FFMPEG will be compiled with the --enable-pic flag.
2016-02-12 12:23:32 -08:00
Jason Felds d0df75205f Allow customizing the number of jobs for ffmpeg.
Yes, it is now possible to use a different number of jobs for ffmpeg and stepmania proper.
2015-10-25 07:07:48 -04:00
Jason Felds b8700f11a7 Finally bring ffmpeg 2.1.3 to Mac OS X.
This replaces #611.
2015-10-03 22:32:14 -04:00
Jason Felds b3a5a82b5c Bring us closer to working with MinGW again.
The biggest obstacle right now deals with FFMPEG. I insist on being able to utilize the git clone/submodule (5_1_0) section. I'm just struggling with the commands.

As part of this commit, some linux files are restored in the compilation chain. This is for consistency with the old Makefile approach.

Assistance will be needed at this point to complete MinGW support.
2015-09-27 17:07:15 -04:00