From 4de61e84bf8f3726619d2b657a7e10af0f925e13 Mon Sep 17 00:00:00 2001 From: Yuqing Zhu Date: Wed, 23 Sep 2015 14:05:51 +0800 Subject: [PATCH] gstreamer1.0-plugins-bad: Install head file of gstaggregator and gstvideoaggregator Install the head file of gstaggregator and gstvideoaggregator. So that we can use them outside of gstreamer-plugins-bad package. Add SoC family and package arch. Signed-off-by: Yuqing Zhu Signed-off-by: Otavio Salvador --- ...taggregator-and-gstvideoaggregator-h.patch | 59 +++++++++++++++++++ .../gstreamer1.0-plugins-bad_%.bbappend | 11 ++++ 2 files changed, 70 insertions(+) create mode 100755 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-PATCH-install-gstaggregator-and-gstvideoaggregator-h.patch diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-PATCH-install-gstaggregator-and-gstvideoaggregator-h.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-PATCH-install-gstaggregator-and-gstvideoaggregator-h.patch new file mode 100755 index 00000000..018826fb --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-PATCH-install-gstaggregator-and-gstvideoaggregator-h.patch @@ -0,0 +1,59 @@ +From 853d7f2ca821682c1e1e594b23ff654505e07054 Mon Sep 17 00:00:00 2001 +From: Mingke Wang +Date: Wed, 1 Jul 2015 10:19:25 +0800 +Subject: [PATCH] [PATCH] install gstaggregator and gstvideoaggregator header + file + +intall the header file of gstaggregator and gstvideoaggregator +so that we can use them outside of gstreamer-plugins-bad package + +Upstream-Status: Inappropriate [i.MX specific] + +Signed-off-by: Mingke Wang + +diff --git a/gst-libs/gst/base/Makefile.am b/gst-libs/gst/base/Makefile.am +old mode 100644 +new mode 100755 +index 0d55368..7268095 +--- a/gst-libs/gst/base/Makefile.am ++++ b/gst-libs/gst/base/Makefile.am +@@ -6,11 +6,12 @@ libgstbadbase_@GST_API_VERSION@_la_SOURCES = \ + libgstbadbase_@GST_API_VERSION@_la_CFLAGS = $(GST_CFLAGS) \ + -DGST_USE_UNSTABLE_API + ++libgstbadbase_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/base ++libgstbadbase_@GST_API_VERSION@include_HEADERS = \ ++ gstaggregator.h ++ + libgstbadbase_@GST_API_VERSION@_la_LIBADD = $(GST_LIBS) + libgstbadbase_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS) + +-noinst_HEADERS = \ +- gstaggregator.h +- + EXTRA_DIST = + +diff --git a/gst-libs/gst/video/Makefile.am b/gst-libs/gst/video/Makefile.am +old mode 100644 +new mode 100755 +index 4f0f09f..3c5da6b +--- a/gst-libs/gst/video/Makefile.am ++++ b/gst-libs/gst/video/Makefile.am +@@ -19,8 +19,13 @@ libgstbadvideo_@GST_API_VERSION@_la_CFLAGS = \ + $(GST_PLUGINS_BASE_CFLAGS) \ + $(GST_BASE_CFLAGS) + ++libgstbadvideo_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/video ++libgstbadvideo_@GST_API_VERSION@include_HEADERS = \ ++ gstvideoaggregatorpad.h \ ++ gstvideoaggregator.h ++ + libgstbadvideo_@GST_API_VERSION@_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS) $(ORC_LIBS) -lgstvideo-$(GST_API_VERSION)\ + $(top_builddir)/gst-libs/gst/base/libgstbadbase-$(GST_API_VERSION).la $(LIBM) + libgstbadvideo_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS) + +-noinst_HEADERS = gstcms.h videoconvert.h gstvideoaggregatorpad.h gstvideoaggregator.h ++noinst_HEADERS = gstcms.h videoconvert.h +-- +1.7.9.5 + diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend index bcce7c78..2c78cd2a 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend @@ -1,5 +1,7 @@ # Vivante EGL headers require the correct preprocessor # defines to be set for each platform +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + CFLAGS_append_mx6 = " -DLINUX \ ${@base_contains('DISTRO_FEATURES', 'x11', '', \ base_contains('DISTRO_FEATURES', 'wayland', '-DEGL_API_FB -DWL_EGL_PLATFORM', \ @@ -9,3 +11,12 @@ CFLAGS_append_mx6 = " -DLINUX \ PACKAGECONFIG_GL_mx6sl = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', \ base_contains('DISTRO_FEATURES', 'x11', \ 'opengl', '', d), '', d)}" + +SRC_URI_append_mx6 = " file://0001-PATCH-install-gstaggregator-and-gstvideoaggregator-h.patch" +SRC_URI_append_mx6ul = " file://0001-PATCH-install-gstaggregator-and-gstvideoaggregator-h.patch" +SRC_URI_append_mx7 = " file://0001-PATCH-install-gstaggregator-and-gstvideoaggregator-h.patch" + + +PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}" +PACKAGE_ARCH_mx6ul = "${MACHINE_SOCARCH}" +PACKAGE_ARCH_mx7 = "${MACHINE_SOCARCH}" -- 2.40.1