summaryrefslogtreecommitdiff
path: root/package/ffmpeg
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/ffmpeg
Initial import
Diffstat (limited to 'package/ffmpeg')
-rw-r--r--package/ffmpeg/Config.in6
-rw-r--r--package/ffmpeg/Makefile56
-rw-r--r--package/ffmpeg/ipkg/ffmpeg.control4
3 files changed, 66 insertions, 0 deletions
diff --git a/package/ffmpeg/Config.in b/package/ffmpeg/Config.in
new file mode 100644
index 000000000..9eebed177
--- /dev/null
+++ b/package/ffmpeg/Config.in
@@ -0,0 +1,6 @@
+config ADK_PACKAGE_FFMPEG
+ tristate "ffmpeg............................ audio/video multimedia library"
+ default n
+ help
+ cross-platform solution to record, convert and stream audio and video.
+ http://www.ffmpeg.org
diff --git a/package/ffmpeg/Makefile b/package/ffmpeg/Makefile
new file mode 100644
index 000000000..58b029276
--- /dev/null
+++ b/package/ffmpeg/Makefile
@@ -0,0 +1,56 @@
+# $Id$
+#-
+# 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:= ffmpeg
+PKG_VERSION:= 0.5
+PKG_RELEASE:= 2
+PKG_MD5SUM:= be8503f15c3b81ba00eb8379ca8dcf33
+MASTER_SITES:= http://www.ffmpeg.org/releases/
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,FFMPEG,ffmpeg,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE:= manual
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
+
+include ${TOPDIR}/mk/cpu.mk
+
+do-configure:
+ cd ${WRKBUILD}; \
+ env ${CONFIGURE_ENV} \
+ ${BASH} ${WRKSRC}/configure \
+ --prefix=/usr \
+ --arch=${CPU_ARCH} \
+ --enable-cross-compile \
+ --cross-prefix=${TARGET_CROSS} \
+ --cc=$(TARGET_CC) \
+ --host-cc=$(HOSTCC) \
+ --disable-debug \
+ --disable-stripping \
+ --enable-small \
+ --enable-shared \
+ --enable-static \
+ --disable-ffmpeg \
+ --disable-ffplay \
+ --disable-ffserver \
+ --disable-vhook \
+ --enable-gpl \
+ --enable-swscale \
+ --enable-postproc \
+ --enable-libfaad \
+ ${CONFIGURE_CPU_OPTS}
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_FFMPEG}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libavformat.so* ${IDIR_FFMPEG}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libavcodec.so* ${IDIR_FFMPEG}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libavutil.so* ${IDIR_FFMPEG}/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ffmpeg/ipkg/ffmpeg.control b/package/ffmpeg/ipkg/ffmpeg.control
new file mode 100644
index 000000000..0389ef984
--- /dev/null
+++ b/package/ffmpeg/ipkg/ffmpeg.control
@@ -0,0 +1,4 @@
+Package: ffmpeg
+Priority: optional
+Section: sound
+Description: cross-platform solution to record, convert and stream audio and video