commit: 2261febefcd5efd0548298ef2c07a933a4d89173
parent 7ecd213bfe3bbdd8a360c42c79c10f837e292d20
Author: Michael Forney <mforney@mforney.org>
Date: Fri, 3 Mar 2023 00:30:40 -0800
ffmpeg: Add optional support for bluray protocol
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/pkg/ffmpeg/gen.lua b/pkg/ffmpeg/gen.lua
@@ -147,6 +147,12 @@ if options.CONFIG_ZLIB then
table.insert(sources.libavformat, '$builddir/pkg/zlib/libz.a')
end
+if options.CONFIG_BLURAY_PROTOCOL then
+ cflags{'-isystem $builddir/pkg/libbluray/include'}
+ table.insert(pkg.deps, 'pkg/libbluray/headers')
+ table.insert(sources.libavcodec, '$builddir/pkg/libbluray/libbluray.a.d')
+end
+
lib('libavcodec.a', {
expand{'libavcodec/', {
'ac3_parser.c',