From: Bernd Kuhls Date: Sun, 1 Nov 2015 18:47:29 +0000 (+0100) Subject: package/ffmpeg: Add support for x265 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d6a69587a9a1bb61e4b61280e3f1cad4a7fee110;p=buildroot.git package/ffmpeg: Add support for x265 Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk index d4815cac68..d25346cd9e 100644 --- a/package/ffmpeg/ffmpeg.mk +++ b/package/ffmpeg/ffmpeg.mk @@ -341,6 +341,13 @@ else FFMPEG_CONF_OPTS += --disable-libx264 endif +ifeq ($(BR2_PACKAGE_X265)$(BR2_PACKAGE_FFMPEG_GPL),yy) +FFMPEG_CONF_OPTS += --enable-libx265 +FFMPEG_DEPENDENCIES += x265 +else +FFMPEG_CONF_OPTS += --disable-libx265 +endif + ifeq ($(BR2_X86_CPU_HAS_MMX),y) FFMPEG_CONF_OPTS += --enable-yasm FFMPEG_DEPENDENCIES += host-yasm