[oe-commits] Andreas Oberritter : ffmpeg: add recipe for 0.6.1 (LGPLv2.1+)

git version control git at git.openembedded.org
Thu Dec 16 02:17:55 UTC 2010


Module: openembedded.git
Branch: master
Commit: 5316c5b1416391f15277ce867489e525b7eccd6e
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=5316c5b1416391f15277ce867489e525b7eccd6e

Author: Andreas Oberritter <obi at opendreambox.org>
Date:   Wed Dec  8 22:08:40 2010 +0000

ffmpeg: add recipe for 0.6.1 (LGPLv2.1+)

Signed-off-by: Andreas Oberritter <obi at opendreambox.org>
Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 recipes/ffmpeg/ffmpeg_0.6.1.bb |   39 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 39 insertions(+), 0 deletions(-)

diff --git a/recipes/ffmpeg/ffmpeg_0.6.1.bb b/recipes/ffmpeg/ffmpeg_0.6.1.bb
new file mode 100644
index 0000000..fb941a5
--- /dev/null
+++ b/recipes/ffmpeg/ffmpeg_0.6.1.bb
@@ -0,0 +1,39 @@
+require ffmpeg.inc
+
+LICENSE = "LGPLv2.1+"
+DEPENDS += "schroedinger libgsm"
+PR = "${INC_PR}.0"
+
+SRC_URI = "http://ffmpeg.org/releases/ffmpeg-${PV}.tar.bz2"
+SRC_URI[md5sum] = "4f5d732d25eedfb072251b5314ba2093"
+SRC_URI[sha256sum] = "e348aa6d0bb199f231aa3a48e8f457f037c763219bccc8b395e007ccd87ebd5f"
+
+EXTRA_FFCONF_armv7a = "--cpu=cortex-a8"
+EXTRA_FFCONF_mipsel = "--arch=mips"
+
+EXTRA_OECONF = " \
+        --arch=${TARGET_ARCH} \
+        --cross-prefix=${TARGET_PREFIX} \
+        --disable-stripping \
+        --enable-cross-compile \
+        --enable-libgsm \
+        --enable-libmp3lame \
+        --enable-libschroedinger \
+        --enable-libtheora  \
+        --enable-libvorbis \
+        --enable-pthreads \
+        --enable-shared \
+        --enable-swscale \
+        --extra-cflags="${TARGET_CFLAGS} ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \
+        --extra-ldflags="${TARGET_LDFLAGS}" \
+        --prefix=${prefix}/ \
+        --target-os=linux \
+        ${EXTRA_FFCONF} \
+"
+
+do_configure() {
+        ./configure ${EXTRA_OECONF}
+}
+
+FULL_OPTIMIZATION_armv7a = "-fexpensive-optimizations  -ftree-vectorize -fomit-frame-pointer -O4 -ffast-math"
+BUILD_OPTIMIZATION = "${FULL_OPTIMIZATION}"





More information about the Openembedded-commits mailing list