summaryrefslogtreecommitdiff
path: root/pkg/ffmpeg
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2023-03-03 00:30:40 -0800
committerMichael Forney <mforney@mforney.org>2023-03-03 00:30:40 -0800
commit2261febefcd5efd0548298ef2c07a933a4d89173 (patch)
tree3cad2c0cdabfec66ef3b506f8c0d5ad8333a08d0 /pkg/ffmpeg
parent7ecd213bfe3bbdd8a360c42c79c10f837e292d20 (diff)
ffmpeg: Add optional support for bluray protocol
Diffstat (limited to 'pkg/ffmpeg')
-rw-r--r--pkg/ffmpeg/gen.lua6
1 files changed, 6 insertions, 0 deletions
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',