Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "Plugins for the GStreamer multimedia framework 1.x" |
| 2 | HOMEPAGE = "http://gstreamer.freedesktop.org/" |
| 3 | BUGTRACKER = "https://bugzilla.gnome.org/enter_bug.cgi?product=Gstreamer" |
| 4 | SECTION = "multimedia" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 5 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 6 | DEPENDS = "gstreamer1.0 glib-2.0-native" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 7 | |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 8 | inherit autotools pkgconfig upstream-version-is-even gobject-introspection gtk-doc |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 9 | |
| 10 | acpaths = "-I ${S}/common/m4 -I ${S}/m4" |
| 11 | |
| 12 | LIBV = "1.0" |
| 13 | require gst-plugins-package.inc |
| 14 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 15 | # Orc enables runtime JIT compilation of data processing routines from Orc |
| 16 | # bytecode to SIMD instructions for various architectures (currently SSE, MMX, |
| 17 | # MIPS, Altivec and NEON are supported). |
| 18 | |
| 19 | GSTREAMER_ORC ?= "orc" |
| 20 | |
| 21 | PACKAGECONFIG[debug] = "--enable-debug,--disable-debug" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 22 | PACKAGECONFIG[orc] = "--enable-orc,--disable-orc,orc orc-native" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 23 | PACKAGECONFIG[valgrind] = "--enable-valgrind,--disable-valgrind,valgrind" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 24 | |
| 25 | export ORCC = "${STAGING_DIR_NATIVE}${bindir}/orcc" |
| 26 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 27 | EXTRA_OECONF = " \ |
| 28 | --disable-examples \ |
| 29 | " |
| 30 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 31 | delete_pkg_m4_file() { |
| 32 | # This m4 file is out of date and is missing PKG_CONFIG_SYSROOT_PATH tweaks which we need for introspection |
| 33 | rm "${S}/common/m4/pkg.m4" || true |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 34 | rm -f "${S}/common/m4/gtk-doc.m4" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 35 | } |
| 36 | |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 37 | # gstreamer is not using system-wide makefiles (which we patch in gtkdoc recipe, |
| 38 | # but its own custom ones, which we have to patch here |
| 39 | patch_gtk_doc_makefiles() { |
| 40 | # Patch the gtk-doc makefiles so that the qemu wrapper is used to run transient binaries |
| 41 | # instead of libtool wrapper or running them directly |
| 42 | # Also substitute a bogus plugin scanner, as trying to run the real one is causing issues during build on x86_64. |
| 43 | sed -i \ |
| 44 | -e "s|GTKDOC_RUN =.*|GTKDOC_RUN = \$(top_builddir)/gtkdoc-qemuwrapper|" \ |
| 45 | -e "s|\$(GTKDOC_EXTRA_ENVIRONMENT)|\$(GTKDOC_EXTRA_ENVIRONMENT) GST_PLUGIN_SCANNER_1_0=\$(top_builddir)/libs/gst/helpers/gst-plugin-scanner-dummy|" \ |
| 46 | ${S}/common/gtk-doc*mak |
| 47 | } |
| 48 | |
| 49 | do_configure[prefuncs] += " delete_pkg_m4_file patch_gtk_doc_makefiles" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 50 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 51 | PACKAGES_DYNAMIC = "^${PN}-.*" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 52 | |
| 53 | # qemu-mips64: error while loading shared libraries: .../recipe-sysroot/usr/lib/libgthread-2.0.so.0: ELF file data encoding not little-endian |
| 54 | EXTRA_OECONF_append_mips64 = " --disable-introspection " |