summaryrefslogtreecommitdiff
path: root/packages/gstreamer/gst-ffmpeg_0.10.2.bb
diff options
context:
space:
mode:
authorManuel Teira <manuel.teira@telefonica.net>2007-04-13 16:56:50 +0000
committerKoen Kooi <koen@openembedded.org>2007-04-13 16:56:50 +0000
commit509365bd849d7dc17381c2e0aef2352121548697 (patch)
treec99994420892aaafbd75f63c04e1c18c9cdaf110 /packages/gstreamer/gst-ffmpeg_0.10.2.bb
parent456c8e8df783247f20bb7ab0a2bc8cbc88896fda (diff)
gst-ffmpeg: merge recipe from poky, closes #2085
Diffstat (limited to 'packages/gstreamer/gst-ffmpeg_0.10.2.bb')
-rw-r--r--packages/gstreamer/gst-ffmpeg_0.10.2.bb34
1 files changed, 34 insertions, 0 deletions
diff --git a/packages/gstreamer/gst-ffmpeg_0.10.2.bb b/packages/gstreamer/gst-ffmpeg_0.10.2.bb
new file mode 100644
index 0000000000..7c1b45eb8a
--- /dev/null
+++ b/packages/gstreamer/gst-ffmpeg_0.10.2.bb
@@ -0,0 +1,34 @@
+DESCRIPTION = "FFmpeg-based GStreamer plug-in"
+SECTION = "multimedia"
+PRIORITY = "optional"
+LICENSE = "LGPL"
+HOMEPAGE = "http://www.gstreamer.net/"
+DEPENDS = "gstreamer zlib"
+PR = "r0"
+
+inherit autotools pkgconfig
+
+SRC_URI = "http://gstreamer.freedesktop.org/src/${PN}/${PN}-${PV}.tar.bz2"
+
+FILES_${PN} += "${libdir}/gstreamer-0.10/*.so"
+FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug"
+FILES_${PN}-dev += "${libdir}/gstreamer-0.10/*.la ${libdir}/gstreamer-0.10/*.a"
+
+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
+}
+