From 8c811dad8865ed7bb068436557b280fbe499d4f9 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 17 Sep 2011 19:58:38 +0200 Subject: add support for Theora codec --- package/ffmpeg/Makefile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'package/ffmpeg') 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 -- cgit v1.2.3