ports/multimedia/kodi/files/patch-tools_depends_target_ffmpeg_Makefile
Guido Falsi 2452e02db4 - Update kodi to 17.6
- Renamed patches to use modern naming convention
- Regenerated a few other paatches

PR:		224301
Submitted by:	me
Approved by:	maintainer timeout
2017-12-28 09:17:14 +00:00

14 lines
642 B
Text

--- tools/depends/target/ffmpeg/Makefile.orig 2017-11-14 16:55:01 UTC
+++ tools/depends/target/ffmpeg/Makefile
@@ -24,6 +24,11 @@ ffmpg_config += --enable-encoder=png --enable-encoder=
ifeq ($(CROSS_COMPILING), yes)
ffmpg_config += --arch=$(CPU) --enable-cross-compile
endif
+ifeq ($(OS), freebsd)
+ ffmpg_config += --target-os=$(OS) --cpu=$(CPU)
+ ffmpg_config += --enable-vdpau --enable-vaapi --enable-gnutls
+ ffmpg_config += --enable-libvorbis --enable-muxer=ogg --enable-encoder=libvorbis
+endif
ifeq ($(OS), linux)
ffmpg_config += --target-os=$(OS) --cpu=$(CPU)
ffmpg_config += --enable-vdpau --enable-vaapi --enable-pic