DEFAULT_PREFERENCE = "-1"
-inherit autotools pkgconfig
+inherit autotools gettext pkgconfig
+
+# gstreamer uses AG_GST_GETTEXT which autotools.bbclass doesn't grep for
+do_configure_prepend() {
+ glib-gettextize --force --copy || true
+}
OE_LT_RPATH_ALLOW = "any"
OE_LT_RPATH_ALLOW[export]="1"
DESCRIPTION = "GStreamer is a multimedia framework for encoding and decoding video and sound. \
It supports a wide range of formats including mp3, ogg, avi, mpeg and quicktime."
-DEPENDS = "libxml2 glib-2.0 gettext-native popt"
+DEPENDS += "libxml2 glib-2.0 popt"
SRC_URI = "http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.bz2;name=archive"
-EXTRA_OECONF = "--disable-docs-build --disable-dependency-tracking --with-check=no --enable-introspection=no"
+EXTRA_OECONF += "--disable-docs-build --disable-dependency-tracking --with-check=no --enable-introspection=no"
FILES_${PN} += " ${libdir}/gstreamer-0.10/*.so"
FILES_${PN}-dev += " ${libdir}/gstreamer-0.10/*.la ${libdir}/gstreamer-0.10/*.a"
EXTRA_OECONF += "ac_cv_func_register_printf_function=no"
-do_configure_prepend() {
- sed -i -e s:docs::g Makefile.am
-}
-
-
SRC_URI[archive.md5sum] = "88544e034a051baf472983791d233076"
SRC_URI[archive.sha256sum] = "39b2ba7b3bfa8df6d998a9461e7091c27757e36a53e93969d7d9982a56526578"