summaryrefslogtreecommitdiff
path: root/package/ffmpeg/Makefile
diff options
context:
space:
mode:
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 debea9675..ac7f1fa5f 100644
--- a/package/ffmpeg/Makefile
+++ b/package/ffmpeg/Makefile
@@ -27,7 +27,7 @@ PKGSC_FFSERVER:= multimedia
PKGSD_FFPROBE:= simple multimedia stream analyzer
PKGSC_FFPROBE:= multimedia
-PKG_FLAVOURS_LIBFFMPEG:= WITH_AAC WITH_MP3 WITH_VP8
+PKG_FLAVOURS_LIBFFMPEG:= WITH_AAC WITH_MP3 WITH_VP8 WITH_THEORA
PKGFD_WITH_AAC:= with AAC encoding support
PKGFS_WITH_AAC:= libfaac
@@ -50,6 +50,13 @@ ifeq ($(ADK_PACKAGE_LIBFFMPEG_WITH_VP8),y)
PKG_FDEPENDS+= libvpx
endif
+PKGFD_WITH_THEORA:= with Theora encoding support
+PKGFS_WITH_THEORA:= libtheora
+PKGFB_WITH_THEORA:= libtheora
+ifeq ($(ADK_PACKAGE_LIBFFMPEG_WITH_THEORA),y)
+PKG_FDEPENDS+= libtheora
+endif
+
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
include ${TOPDIR}/mk/package.mk
@@ -105,9 +112,12 @@ endif
ifeq ($(ADK_PACKAGE_LIBFFMPEG_WITH_MP3),y)
CONFIGURE_ARGS+= --enable-libmp3lame
endif
-ifeq ($(ADK_PACKAGE_LIBFFMPEG_WITH_MP3),y)
+ifeq ($(ADK_PACKAGE_LIBFFMPEG_WITH_VP8),y)
CONFIGURE_ARGS+= --enable-libvpx
endif
+ifeq ($(ADK_PACKAGE_LIBFFMPEG_WITH_THEORA),y)
+CONFIGURE_ARGS+= --enable-libtheora
+endif
libffmpeg-install:
${INSTALL_DIR} ${IDIR_LIBFFMPEG}/usr/lib