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 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 8 | SRC_URI_append = " file://gtk-doc-tweaks.patch" |
| 9 | |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 10 | inherit autotools pkgconfig upstream-version-is-even gtk-doc |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 11 | |
| 12 | acpaths = "-I ${S}/common/m4 -I ${S}/m4" |
| 13 | |
| 14 | LIBV = "1.0" |
| 15 | require gst-plugins-package.inc |
| 16 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 17 | # Orc enables runtime JIT compilation of data processing routines from Orc |
| 18 | # bytecode to SIMD instructions for various architectures (currently SSE, MMX, |
| 19 | # MIPS, Altivec and NEON are supported). |
| 20 | |
| 21 | GSTREAMER_ORC ?= "orc" |
| 22 | |
| 23 | PACKAGECONFIG[debug] = "--enable-debug,--disable-debug" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 24 | PACKAGECONFIG[orc] = "--enable-orc,--disable-orc,orc orc-native" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 25 | PACKAGECONFIG[valgrind] = "--enable-valgrind,--disable-valgrind,valgrind" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 26 | |
| 27 | export ORCC = "${STAGING_DIR_NATIVE}${bindir}/orcc" |
| 28 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 29 | EXTRA_OECONF = " \ |
| 30 | --disable-examples \ |
| 31 | " |
| 32 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 33 | delete_pkg_m4_file() { |
| 34 | # This m4 file is out of date and is missing PKG_CONFIG_SYSROOT_PATH tweaks which we need for introspection |
| 35 | rm "${S}/common/m4/pkg.m4" || true |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 36 | rm -f "${S}/common/m4/gtk-doc.m4" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 37 | } |
| 38 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 39 | do_configure[prefuncs] += " delete_pkg_m4_file" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 40 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 41 | PACKAGES_DYNAMIC = "^${PN}-.*" |