summaryrefslogtreecommitdiff
path: root/package/ffmpeg/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2018-05-08 20:37:44 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2018-05-08 20:39:15 +0200
commit40e9fbe8d5e5a8b4e58c8fceb0a04724fda532d1 (patch)
treec1aceaace1af1dc399e692e865ec0ac4c3df3fa0 /package/ffmpeg/Makefile
parenta725c35f96e707bd365602d130c84e8fd9c1fe8e (diff)
add ffmpeg libx265 support
Diffstat (limited to 'package/ffmpeg/Makefile')
-rw-r--r--package/ffmpeg/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/package/ffmpeg/Makefile b/package/ffmpeg/Makefile
index f6f1fa12f..f874da9df 100644
--- a/package/ffmpeg/Makefile
+++ b/package/ffmpeg/Makefile
@@ -5,7 +5,7 @@ include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= ffmpeg
PKG_VERSION:= 3.4.2
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_HASH:= eb0370bf223809b9ebb359fed5318f826ac038ce77933b3afd55ab1a0a21785a
PKG_DESCR:= record, convert and stream audio & video
PKG_SECTION:= libs/video
@@ -31,7 +31,7 @@ PKGSD_LIBFFMPEG:= video library
PKGSC_LIBFFMPEG:= libs/video
PKG_FLAVOURS_LIBFFMPEG:= WITH_MP3 WITH_VP8 WITH_THEORA
-PKG_FLAVOURS_LIBFFMPEG+= WITH_XVID WITH_VORBIS WITH_X264
+PKG_FLAVOURS_LIBFFMPEG+= WITH_XVID WITH_VORBIS WITH_X264 WITH_X265
PKG_FLAVOURS_LIBFFMPEG+= WITH_ZLIB WITH_BZIP2
PKGFD_WITH_BZIP2:= with bzip2 compression support
@@ -49,6 +49,13 @@ ifeq ($(ADK_PACKAGE_LIBFFMPEG_WITH_X264),y)
PKG_FDEPENDS+= libx264
endif
+PKGFD_WITH_X265:= with x265 decoding support
+PKGFS_WITH_X265:= libx265
+PKGFB_WITH_X265:= libx265
+ifeq ($(ADK_PACKAGE_LIBFFMPEG_WITH_X265),y)
+PKG_FDEPENDS+= libx265
+endif
+
PKGFD_WITH_MP3:= with mp3 encoding support
PKGFS_WITH_MP3:= libmp3lame
PKGFB_WITH_MP3:= lame
@@ -202,6 +209,9 @@ endif
ifeq ($(ADK_PACKAGE_LIBFFMPEG_WITH_X264),y)
CONFIGURE_ARGS+= --enable-libx264
endif
+ifeq ($(ADK_PACKAGE_LIBFFMPEG_WITH_X265),y)
+CONFIGURE_ARGS+= --enable-libx265
+endif
ifeq ($(ADK_PACKAGE_LIBFFMPEG_WITH_MP3),y)
CONFIGURE_ARGS+= --enable-libmp3lame
endif