summaryrefslogtreecommitdiff
path: root/meta/packages/gstreamer/gst-ffmpeg_0.10.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gstreamer/gst-ffmpeg_0.10.1.bb')
-rw-r--r--meta/packages/gstreamer/gst-ffmpeg_0.10.1.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/packages/gstreamer/gst-ffmpeg_0.10.1.bb b/meta/packages/gstreamer/gst-ffmpeg_0.10.1.bb
new file mode 100644
index 0000000000..d2123f4a57
--- /dev/null
+++ b/meta/packages/gstreamer/gst-ffmpeg_0.10.1.bb
@@ -0,0 +1,32 @@
+DESCRIPTION = "FFmpeg-based GStreamer plug-in"
+SECTION = "multimedia"
+PRIORITY = "optional"
+LICENSE = "LGPL"
+HOMEPAGE = "http://www.gstreamer.net/"
+MAINTAINER = "Chris Lord <chris@openedhand.com>"
+DEPENDS = "gstreamer zlib"
+
+inherit autotools pkgconfig
+
+SRC_URI = "http://gstreamer.freedesktop.org/src/${PN}/${PN}-${PV}.tar.bz2"
+
+FILES_${PN} += "${libdir}/gstreamer-0.10"
+
+EXTRA_OECONF = "--disable-sdltest --disable-ffplay --disable-freetypetest \
+ --disable-vorbis --disable-vorbistest --disable-encoders \
+ --disable-v4l --disable-audio-oss --disable-dv1394 \
+ --disable-vhook --disable-ffmpeg --disable-ffserver \
+ --enable-pp --disable-decoder-vorbis"
+
+# We do this because the install program is called with -s which causes it to
+# call "strip" and it then mangles cross compiled stuff..
+PATH_prepend="${CROSS_DIR}/${TARGET_SYS}/bin:"
+
+# Hack to get STAGING_LIBDIR into the linker path when building ffmpeg
+CC = "${CCACHE} ${HOST_PREFIX}gcc -L${STAGING_LIBDIR}"
+
+do_configure () {
+ cd ${S}
+ oe_runconf
+}
+