From 2261febefcd5efd0548298ef2c07a933a4d89173 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Fri, 3 Mar 2023 00:30:40 -0800 Subject: ffmpeg: Add optional support for bluray protocol --- pkg/ffmpeg/gen.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pkg/ffmpeg/gen.lua') diff --git a/pkg/ffmpeg/gen.lua b/pkg/ffmpeg/gen.lua index defeb705..88747e40 100644 --- 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', -- cgit v1.2.3