1 SUMMARY = "GStreamer 1.0 multimedia framework"
2 DESCRIPTION = "GStreamer is a multimedia framework for encoding and decoding video and sound. \
3 It supports a wide range of formats including mp3, ogg, avi, mpeg and quicktime."
4 HOMEPAGE = "http://gstreamer.freedesktop.org/"
5 BUGTRACKER = "https://bugzilla.gnome.org/enter_bug.cgi?product=Gstreamer"
9 DEPENDS = "glib-2.0 glib-2.0-native libcap libxml2 bison-native flex-native"
11 inherit autotools pkgconfig gettext upstream-version-is-even gobject-introspection
13 # This way common/m4/introspection.m4 will come first
14 # (it has a custom INTROSPECTION_INIT macro, and so must be used instead of our common introspection.m4 file)
15 acpaths = "-I ${S}/common/m4 -I ${S}/m4"
18 file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \
23 PACKAGECONFIG[check] = "--enable-check,--disable-check"
24 PACKAGECONFIG[debug] = "--enable-debug,--disable-debug"
25 PACKAGECONFIG[tests] = "--enable-tests,--disable-tests"
26 PACKAGECONFIG[valgrind] = "--enable-valgrind,--disable-valgrind,valgrind,"
29 --disable-dependency-tracking \
35 CACHED_CONFIGUREVARS += "ac_cv_header_valgrind_valgrind_h=no"
37 # musl libc generates warnings if <sys/poll.h> is included directly
38 CACHED_CONFIGUREVARS += "ac_cv_header_sys_poll_h=no"
40 PACKAGES += "${PN}-bash-completion"
42 FILES_${PN} += "${libdir}/gstreamer-1.0/*.so"
43 FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la ${libdir}/gstreamer-1.0/*.a ${libdir}/gstreamer-1.0/include"
44 FILES_${PN}-bash-completion += "${datadir}/bash-completion/completions/ ${datadir}/bash-completion/helpers/gst*"
46 RRECOMMENDS_${PN}_qemux86 += "kernel-module-snd-ens1370 kernel-module-snd-rawmidi"
47 RRECOMMENDS_${PN}_qemux86-64 += "kernel-module-snd-ens1370 kernel-module-snd-rawmidi"
49 delete_pkg_m4_file() {
50 # This m4 file is out of date and is missing PKG_CONFIG_SYSROOT_PATH tweaks which we need for introspection
51 rm "${S}/common/m4/pkg.m4" || true
54 do_configure[prefuncs] += " delete_pkg_m4_file"
56 do_compile_prepend() {
57 export GIR_EXTRA_LIBS_PATH="${B}/gst/.libs:${B}/libs/gst/base/.libs"