diff options
-rw-r--r-- | package/ffmpeg/Makefile | 14 | ||||
-rw-r--r-- | package/libtheora/Makefile | 28 | ||||
-rw-r--r-- | package/libvpx/Makefile | 5 |
3 files changed, 44 insertions, 3 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 diff --git a/package/libtheora/Makefile b/package/libtheora/Makefile new file mode 100644 index 000000000..328307941 --- /dev/null +++ b/package/libtheora/Makefile @@ -0,0 +1,28 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= libtheora +PKG_VERSION:= 1.1.1 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 292ab65cedd5021d6b7ddd117e07cd8e +PKG_DESCR:= Theora video codec +PKG_SECTION:= libs +PKG_DEPENDS:= libsdl libogg libvorbis +PKG_BUILDDEP:= sdl libogg libvorbis +PKG_URL:= http://www.theora.org/ +PKG_SITES:= http://downloads.xiph.org/releases/theora/ + +DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2 + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,LIBTHEORA,libtheora,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +libtheora-install: + $(INSTALL_DIR) $(IDIR_LIBTHEORA)/usr/lib + $(CP) $(WRKINST)/usr/lib/libtheora*.so* \ + $(IDIR_LIBTHEORA)/usr/lib + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/libvpx/Makefile b/package/libvpx/Makefile index d7344ed87..ab3333164 100644 --- a/package/libvpx/Makefile +++ b/package/libvpx/Makefile @@ -12,7 +12,7 @@ PKG_SECTION:= libs PKG_URL:= http://www.webmproject.org/about/ PKG_SITES:= http://webm.googlecode.com/files/ -PKG_SYSTEM_DEPENDS:= sharp-zaurus +PKG_SYSTEM_DEPENDS:= sharp-zaurus ibm-x40 DISTFILES:= ${PKG_NAME}-v${PKG_VERSION}-p1.tar.bz2 WRKDIST= $(WRKDIR)/${PKG_NAME}-v${PKG_VERSION}-p1 @@ -25,6 +25,9 @@ CONFIG_STYLE:= minimal ifeq ($(ADK_TARGET_SYSTEM_SHARP_ZAURUS),y) CONFIGURE_ARGS+= --target=armv5te-linux-gcc endif +ifeq ($(ADK_TARGET_SYSTEM_IBM_X40),y) +CONFIGURE_ARGS+= --target=x86-linux-gcc --as=yasm +endif CONFIGURE_ARGS+= --prefix=/usr \ --disable-install-docs \ --disable-install-bins \ |