summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/gstreamer
diff options
context:
space:
mode:
authorYuqing Zhu <b54851@freescale.com>2015-09-23 14:05:51 +0800
committerOtavio Salvador <otavio@ossystems.com.br>2015-10-02 09:41:24 -0300
commit02df9370f4399c989e9211cdd907c3d1b56712d8 (patch)
tree62838e6ebdb7c75be5bb5c21c4f9e2bf89941246 /recipes-multimedia/gstreamer
parent10471566d2868b07f8ac832b94d5e98a463826ba (diff)
downloadmeta-fsl-arm-02df9370f4399c989e9211cdd907c3d1b56712d8.tar.gz
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 <b54851@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-multimedia/gstreamer')
-rwxr-xr-xrecipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-PATCH-install-gstaggregator-and-gstvideoaggregator-h.patch59
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend11
2 files changed, 70 insertions, 0 deletions
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 @@
1From 853d7f2ca821682c1e1e594b23ff654505e07054 Mon Sep 17 00:00:00 2001
2From: Mingke Wang <mingke.wang@freescale.com>
3Date: Wed, 1 Jul 2015 10:19:25 +0800
4Subject: [PATCH] [PATCH] install gstaggregator and gstvideoaggregator header
5 file
6
7intall the header file of gstaggregator and gstvideoaggregator
8so that we can use them outside of gstreamer-plugins-bad package
9
10Upstream-Status: Inappropriate [i.MX specific]
11
12Signed-off-by: Mingke Wang <mingke.wang@freescale.com>
13
14diff --git a/gst-libs/gst/base/Makefile.am b/gst-libs/gst/base/Makefile.am
15old mode 100644
16new mode 100755
17index 0d55368..7268095
18--- a/gst-libs/gst/base/Makefile.am
19+++ b/gst-libs/gst/base/Makefile.am
20@@ -6,11 +6,12 @@ libgstbadbase_@GST_API_VERSION@_la_SOURCES = \
21 libgstbadbase_@GST_API_VERSION@_la_CFLAGS = $(GST_CFLAGS) \
22 -DGST_USE_UNSTABLE_API
23
24+libgstbadbase_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/base
25+libgstbadbase_@GST_API_VERSION@include_HEADERS = \
26+ gstaggregator.h
27+
28 libgstbadbase_@GST_API_VERSION@_la_LIBADD = $(GST_LIBS)
29 libgstbadbase_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
30
31-noinst_HEADERS = \
32- gstaggregator.h
33-
34 EXTRA_DIST =
35
36diff --git a/gst-libs/gst/video/Makefile.am b/gst-libs/gst/video/Makefile.am
37old mode 100644
38new mode 100755
39index 4f0f09f..3c5da6b
40--- a/gst-libs/gst/video/Makefile.am
41+++ b/gst-libs/gst/video/Makefile.am
42@@ -19,8 +19,13 @@ libgstbadvideo_@GST_API_VERSION@_la_CFLAGS = \
43 $(GST_PLUGINS_BASE_CFLAGS) \
44 $(GST_BASE_CFLAGS)
45
46+libgstbadvideo_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/video
47+libgstbadvideo_@GST_API_VERSION@include_HEADERS = \
48+ gstvideoaggregatorpad.h \
49+ gstvideoaggregator.h
50+
51 libgstbadvideo_@GST_API_VERSION@_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS) $(ORC_LIBS) -lgstvideo-$(GST_API_VERSION)\
52 $(top_builddir)/gst-libs/gst/base/libgstbadbase-$(GST_API_VERSION).la $(LIBM)
53 libgstbadvideo_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
54
55-noinst_HEADERS = gstcms.h videoconvert.h gstvideoaggregatorpad.h gstvideoaggregator.h
56+noinst_HEADERS = gstcms.h videoconvert.h
57--
581.7.9.5
59
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
index bcce7c7..2c78cd2 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
@@ -1,5 +1,7 @@
1# Vivante EGL headers require the correct preprocessor 1# Vivante EGL headers require the correct preprocessor
2# defines to be set for each platform 2# defines to be set for each platform
3FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
4
3CFLAGS_append_mx6 = " -DLINUX \ 5CFLAGS_append_mx6 = " -DLINUX \
4 ${@base_contains('DISTRO_FEATURES', 'x11', '', \ 6 ${@base_contains('DISTRO_FEATURES', 'x11', '', \
5 base_contains('DISTRO_FEATURES', 'wayland', '-DEGL_API_FB -DWL_EGL_PLATFORM', \ 7 base_contains('DISTRO_FEATURES', 'wayland', '-DEGL_API_FB -DWL_EGL_PLATFORM', \
@@ -9,3 +11,12 @@ CFLAGS_append_mx6 = " -DLINUX \
9PACKAGECONFIG_GL_mx6sl = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', \ 11PACKAGECONFIG_GL_mx6sl = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', \
10 base_contains('DISTRO_FEATURES', 'x11', \ 12 base_contains('DISTRO_FEATURES', 'x11', \
11 'opengl', '', d), '', d)}" 13 'opengl', '', d), '', d)}"
14
15SRC_URI_append_mx6 = " file://0001-PATCH-install-gstaggregator-and-gstvideoaggregator-h.patch"
16SRC_URI_append_mx6ul = " file://0001-PATCH-install-gstaggregator-and-gstvideoaggregator-h.patch"
17SRC_URI_append_mx7 = " file://0001-PATCH-install-gstaggregator-and-gstvideoaggregator-h.patch"
18
19
20PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}"
21PACKAGE_ARCH_mx6ul = "${MACHINE_SOCARCH}"
22PACKAGE_ARCH_mx7 = "${MACHINE_SOCARCH}"