[meta-freescale] [meta-fsl-arm][PATCH v2 1/2] gstreamer1.0-plugins-bad: Install head file of gstaggregator and gstvideoaggregator
Yuqing Zhu
b54851 at freescale.com
Tue Sep 22 02:35:12 PDT 2015
Install the head file of gstaggregator and gstvideoaggregator.
So that we can use them outside of gstreamer-plugins-bad package.
Signed-off-by: Yuqing Zhu <b54851 at freescale.com>
---
...ll-gstaggregator-and-gstvideoaggregator-h.patch | 59 ++++++++++++++++++++++
.../gstreamer/gstreamer1.0-plugins-bad_%.bbappend | 5 ++
2 files changed, 64 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 0000000..018826f
--- /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 <mingke.wang at freescale.com>
+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 <mingke.wang at freescale.com>
+
+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_ at GST_API_VERSION@_la_SOURCES = \
+ libgstbadbase_ at GST_API_VERSION@_la_CFLAGS = $(GST_CFLAGS) \
+ -DGST_USE_UNSTABLE_API
+
++libgstbadbase_ at GST_API_VERSION@includedir = $(includedir)/gstreamer- at GST_API_VERSION@/gst/base
++libgstbadbase_ at GST_API_VERSION@include_HEADERS = \
++ gstaggregator.h
++
+ libgstbadbase_ at GST_API_VERSION@_la_LIBADD = $(GST_LIBS)
+ libgstbadbase_ at 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_ at GST_API_VERSION@_la_CFLAGS = \
+ $(GST_PLUGINS_BASE_CFLAGS) \
+ $(GST_BASE_CFLAGS)
+
++libgstbadvideo_ at GST_API_VERSION@includedir = $(includedir)/gstreamer- at GST_API_VERSION@/gst/video
++libgstbadvideo_ at GST_API_VERSION@include_HEADERS = \
++ gstvideoaggregatorpad.h \
++ gstvideoaggregator.h
++
+ libgstbadvideo_ at 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_ at 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 bcce7c7..9255b3f 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,6 @@ CFLAGS_append_mx6 = " -DLINUX \
PACKAGECONFIG_GL_mx6sl = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', \
base_contains('DISTRO_FEATURES', 'x11', \
'opengl', '', d), '', d)}"
+
+SRC_URI_append = " file://0001-PATCH-install-gstaggregator-and-gstvideoaggregator-h.patch \
+"
--
1.9.1
More information about the meta-freescale
mailing list