All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gstreamer1.0-plugins-bad: Fix compilation on non DRM devices.
@ 2015-04-28 18:16 Jacob Stiffler
  2015-04-30 20:14 ` Denys Dmytriyenko
  0 siblings, 1 reply; 2+ messages in thread
From: Jacob Stiffler @ 2015-04-28 18:16 UTC (permalink / raw)
  To: meta-arago

* Conditionally build libgstdrm based on whether both libdrm and
  libdce are available.
* Add libdrm/libdce dependency on dra7xx platforms.
* Only include wayland packageconfig if wayland is a distro feature.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 .../0006-GstDRMBufferPool-support-fix.patch        |   36 ++++++++++++++++++++
 .../gstreamer1.0-plugins-bad_1.2.3.bbappend        |   13 +++++--
 2 files changed, 46 insertions(+), 3 deletions(-)
 create mode 100644 meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0006-GstDRMBufferPool-support-fix.patch

diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0006-GstDRMBufferPool-support-fix.patch b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0006-GstDRMBufferPool-support-fix.patch
new file mode 100644
index 0000000..0af1323
--- /dev/null
+++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0006-GstDRMBufferPool-support-fix.patch
@@ -0,0 +1,36 @@
+From 9e4d46611c4d4600a5abac81b619ae1489d4b8c1 Mon Sep 17 00:00:00 2001
+From: Jacob Stiffler <j-stiffler@ti.com>
+Date: Mon, 27 Apr 2015 08:27:59 -0400
+Subject: [PATCH 6/6] GstDRMBufferPool support fix:
+
+Conditionally build drm library based on if kmssink dependencies are
+by pkgconfig found.
+
+Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
+---
+ gst-libs/gst/Makefile.am |    8 ++++++--
+ 1 file changed, 6 insertions(+), 2 deletions(-)
+
+diff --git a/gst-libs/gst/Makefile.am b/gst-libs/gst/Makefile.am
+index b915d07..52ff331 100644
+--- a/gst-libs/gst/Makefile.am
++++ b/gst-libs/gst/Makefile.am
+@@ -2,9 +2,13 @@ if HAVE_EGL
+ EGL_DIR = egl
+ endif
+ 
+-SUBDIRS = interfaces basecamerabinsrc codecparsers drm \
++if USE_KMS
++DRM_DIR = drm
++endif
++
++SUBDIRS = interfaces basecamerabinsrc codecparsers $(DRM_DIR) \
+ 	 insertbin uridownloader mpegts $(EGL_DIR)
+ 
+ noinst_HEADERS = gst-i18n-plugin.h gettext.h glib-compat-private.h
+-DIST_SUBDIRS = interfaces egl basecamerabinsrc codecparsers \
++DIST_SUBDIRS = interfaces egl basecamerabinsrc codecparsers drm \
+ 	insertbin uridownloader mpegts
+-- 
+1.7.9.5
+
diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend
index b1cacac..d49da02 100644
--- a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend
+++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend
@@ -1,12 +1,19 @@
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PACKAGECONFIG = "faad wayland"
+PACKAGECONFIG = "faad ${@base_contains('DISTRO_FEATURES','wayland','wayland','',d)}"
+
+DEPENDS_append_dra7xx = " \
+    libdce \
+    libdrm \
+"
 
 SRC_URI_append = " \
         file://0001-Added-GstDRMBufferPool-support.patch \
         file://0002-Modified-waylandsink-to-accept-NV12-format.patch \
         file://0003-Added-KMSsink-support.patch \
         file://0004-waylandsink-Removed-dependency-on-dri2.patch \
-        file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch"
+        file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch \
+        file://0006-GstDRMBufferPool-support-fix.patch \
+"
 
-PR_append = "-arago0"
+PR_append = "-arago1"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-30 20:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-28 18:16 [PATCH] gstreamer1.0-plugins-bad: Fix compilation on non DRM devices Jacob Stiffler
2015-04-30 20:14 ` Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.