36 Commits

Author SHA1 Message Date
Michael Forney
e052c31cb8 ffmpeg: Update to 7.0.2 2024-08-15 01:09:25 -07:00
Michael Forney
430805e63e ffmpeg: libavcodec needs zlib, too 2023-03-21 13:01:52 -07:00
Michael Forney
2261febefc ffmpeg: Add optional support for bluray protocol 2023-03-03 00:30:40 -08:00
Michael Forney
197efbce15 ffmpeg: Update to 6.0 2023-03-02 22:31:21 -08:00
Michael Forney
743341f406 ffmpeg: Update to 5.1.1 2023-03-02 17:35:38 -08:00
Michael Forney
592b1919f4 ffmpeg: Include dummy stdatomic.h with __STDC_NO_ATOMICS__ 2021-09-07 13:41:35 -07:00
Michael Forney
fefb82678b ffmpeg: Probe for inline asm and intrinsics 2021-09-07 13:41:35 -07:00
Michael Forney
5548313d47 ffmpeg: Probe for PIC
For nasm, we cannot just use __PIC__ from the preprocessor, so add
a probe test for it.
2021-07-25 21:11:05 -07:00
Michael Forney
eb0c8690d6 ffmpeg: Update to 4.4 2021-04-17 14:22:30 -07:00
Michael Forney
a29ab4aa11 ffmpeg: Allow building with openssl by changing options.h 2021-01-20 17:42:57 -08:00
Michael Forney
df8017a9dc ffmpeg: Enable AV1 decoding through dav1d 2020-08-19 12:43:47 -07:00
Michael Forney
9e23813adc ffmpeg: Detect library dependencies from options.h 2020-08-19 12:43:47 -07:00
Michael Forney
fc47c7322d ffmpeg: Enable opus encoding through libopus 2020-08-19 12:43:47 -07:00
Michael Forney
3f6403a24b ffmpeg: Update to 4.3 2020-06-16 02:49:42 -07:00
Michael Forney
d4297a13c8 Use -isystem to include library headers
This way, warnings from headers that come from another package (in
particular linux-headers) won't show up when they get included.

To make sure we still track dependencies, use -MD instead of -MMD.
2020-06-05 03:01:44 -07:00
Michael Forney
b93e7da0fd ffmpeg: Use locally-built texi2mdoc to generate man pages 2020-05-19 14:26:45 -07:00
Michael Forney
2dfb6db807 Lua 5.1 compatibility 2020-05-10 02:15:55 -07:00
Michael Forney
051963c7fe Add support for building multiple configurations
Now, you can build in separate directories per configuration:

	mkdir foo
	(cd foo && ../setup.lua)
	samu -C foo
2020-01-29 22:14:33 -08:00
Michael Forney
2e56b33e00 ffmpeg: Build against libtls-bearssl 2019-12-10 19:04:32 -08:00
Michael Forney
f4720910b9 Update ninja requirement to 1.8.0 and don't bother with atomic outputs
Since ninja 1.8.0[0] and samurai 0.2[1], output mtime is always
recorded after a job succeeds, and outputs are considered dirty if
the recorded mtime is older than any input. This means that even
if a command partially writes its output then fails (for example,
if run with stdout redirected to a file), it will still get re-run
during the next build.

This means that outputs no longer have to be written atomically
(i.e. renamed into place) in order to ensure a correct build, and
we can drop the idiom `command >$out.tmp && mv $out.tmp $out`.

[0] 04d886b110
[1] 799bc5a471
2019-11-17 15:24:25 -08:00
Michael Forney
9ee08747f7 ffmpeg: Update to 4.2 2019-08-06 12:48:56 -07:00
Michael Forney
d04f5611ff ffmpeg: Generate ffversion.h from ver file 2019-07-10 00:43:57 -07:00
Michael Forney
85bd18bc2c ffmpeg: Use fixed version to ensure binary reproducibility 2019-06-20 00:00:47 -07:00
Michael Forney
a77ed8efe0 ffmpeg: libavformat/protocols.c depends on avconfig.h 2019-06-17 00:20:06 -07:00
Michael Forney
506a146fe4 texi2mdoc: Update date patch to one adapted from upstream commit 2018-11-13 11:52:29 -08:00
Michael Forney
bcd889d2c9 Call lua as lua5.2 to make sure we get the right version 2018-11-12 12:14:21 -08:00
Michael Forney
debf553c14 ffmpeg: Specify date for generated man pages
This ensures that they are reproducible.
2018-11-12 12:14:21 -08:00
Michael Forney
1d73018af2 ffmpeg: Update to 4.1 2018-11-06 00:00:25 -08:00
Michael Forney
a74c98d4d5 ffmpeg: Enable zlib support 2018-09-07 16:27:29 -07:00
Michael Forney
f8f4562b49 ffmpeg: Update to 4.0 2018-05-10 12:30:59 -07:00
Michael Forney
3441db2f43 Add ability to build ffmpeg and libass into PIEs 2018-02-16 02:52:34 -08:00
Michael Forney
f4c50108da Add raw mode for iterlines 2017-12-30 22:43:47 -08:00
Michael Forney
79e60e5e95 ffmpeg: Update to 3.4 2017-10-15 21:03:10 -07:00
Michael Forney
b8ca98186a ffmpeg: Add libavcodec/x86 to nasm includes
This is needed for some codecs.
2017-09-25 19:36:41 -07:00
Michael Forney
70859aff39 ffmpeg: Use texi2mdoc to build man pages 2017-09-25 19:36:41 -07:00
Michael Forney
ba94a8513d Rewrite ninja generation scripts in Lua 2017-09-25 19:23:06 -07:00