]> code.ossystems Code Review - meta-freescale.git/commitdiff
gstreamer1.0-plugins-bad: Install head file of gstaggregator and gstvideoaggregator
authorYuqing Zhu <b54851@freescale.com>
Wed, 23 Sep 2015 06:05:51 +0000 (14:05 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 19 Apr 2016 18:03:20 +0000 (15:03 -0300)
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 <b54851@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-PATCH-install-gstaggregator-and-gstvideoaggregator-h.patch [new file with mode: 0755]
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend

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 (executable)
index 0000000..018826f
--- /dev/null
@@ -0,0 +1,59 @@
+From 853d7f2ca821682c1e1e594b23ff654505e07054 Mon Sep 17 00:00:00 2001
+From: Mingke Wang <mingke.wang@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@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_@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
+
index bcce7c785b0c3ddb5a21475790a36f294d36ef2d..2c78cd2a5a253271036a4e2b23118e034953afe8 100644 (file)
@@ -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}"