summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-12-16 19:26:50 +0100
committerKoen Kooi <koen@openembedded.org>2008-12-16 19:26:50 +0100
commit93bd3cf3190b476256f7696cae3e08fa7adc64d4 (patch)
tree7f996b825e3aa3b22f6789acd51bbb4b21289103
parent1108b299c067c3ef1c7d1541a9f0f51e5ef7d8a8 (diff)
gst-ffmpeg: add 0.10.6 for ffmpeg change
-rw-r--r--conf/checksums.ini4
-rw-r--r--packages/gstreamer/gst-ffmpeg-0.10.6/configure-hack.diff10
-rw-r--r--packages/gstreamer/gst-ffmpeg_0.10.6.bb31
3 files changed, 45 insertions, 0 deletions
diff --git a/conf/checksums.ini b/conf/checksums.ini
index 45593e3e69..82b8369f00 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -8194,6 +8194,10 @@ sha256=b85899ac1c792db2e12d7063c45c0c6638dc8cc234d3ac6786b739cc6486439f
md5=761cbbc0b5f077449082d0ea7527941e
sha256=840015b4e0f0e7248b178eafc37476d6eb9aea3876eb3b07e2a66b430b526da2
+[http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg-0.10.6.tar.bz2]
+md5=063a8184916426d6b79a97dea9636a78
+sha256=c9a5f4c9b1eddd7cb042d83390072f832f19f3712d023e4d6568391e5eb4878a
+
[http://core.fluendo.com/gstreamer/src/gst-fluendo-mp3/gst-fluendo-mp3-0.10.2.tar.bz2]
md5=f3c32e0bc3ec1be461ce43e407a6a67f
sha256=cba1eac94de8de8c181c6c60dfc59f8069d388761aba71bcd8c48b8ba9b2edf5
diff --git a/packages/gstreamer/gst-ffmpeg-0.10.6/configure-hack.diff b/packages/gstreamer/gst-ffmpeg-0.10.6/configure-hack.diff
new file mode 100644
index 0000000000..0c3b5b162f
--- /dev/null
+++ b/packages/gstreamer/gst-ffmpeg-0.10.6/configure-hack.diff
@@ -0,0 +1,10 @@
+--- /tmp/configure.ac 2008-07-03 19:47:44.000000000 +0200
++++ gst-ffmpeg-0.10.4/configure.ac 2008-07-03 19:47:57.000000000 +0200
+@@ -294,7 +294,6 @@
+ AC_SUBST(FFMPEG_CO_DIR)
+ AC_SUBST(FFMPEG_SVN)
+ AC_SUBST(FFMPEG_REVISION)
+- AC_CONFIG_SUBDIRS(gst-libs/ext/ffmpeg)
+ AC_MSG_NOTICE([Using included FFMpeg code])
+ fi
+
diff --git a/packages/gstreamer/gst-ffmpeg_0.10.6.bb b/packages/gstreamer/gst-ffmpeg_0.10.6.bb
new file mode 100644
index 0000000000..1e7f28d115
--- /dev/null
+++ b/packages/gstreamer/gst-ffmpeg_0.10.6.bb
@@ -0,0 +1,31 @@
+DESCRIPTION = "FFmpeg-based GStreamer plug-in"
+SECTION = "multimedia"
+PRIORITY = "optional"
+LICENSE = "LGPL"
+HOMEPAGE = "http://www.gstreamer.net/"
+DEPENDS = "ffmpeg gstreamer gst-plugins-base zlib"
+PR = "r0"
+
+inherit autotools pkgconfig
+
+SRC_URI = "http://gstreamer.freedesktop.org/src/${PN}/${PN}-${PV}.tar.bz2 \
+ file://configure-hack.diff;patch=1 \
+"
+
+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 --with-system-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 ${TARGET_CC_ARCH} -L${STAGING_LIBDIR}"
+