[gnome-continuous-yocto/gnomeostree-3.28-rocko: 7171/8267] gstreamer1.0-vaapi: upgrade to version 1.12.2



commit e2bf6f7586ffd9cf369a6a7924544004d3e03749
Author: Carlos Rafael Giani <dv pseudoterminal org>
Date:   Fri Aug 11 23:37:00 2017 +0200

    gstreamer1.0-vaapi: upgrade to version 1.12.2
    
    * Remove backported patch:
      1. vaapivideobufferpool-create-allocator-if-needed.patch
    
    * Add PACKAGECONFIG_GL variable to make it possible for BSP layers to
      customize what should be the default, EGL or GLX
    
    * Set virtual/egl instead of virtual/mesa as egl dependency in case
      platform specific drivers provide virtual/egl functionality
    
    (From OE-Core rev: 42daac1ade210d873aa4761d89d2402fbe80f07b)
    
    Signed-off-by: Carlos Rafael Giani <dv pseudoterminal org>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 ...ideobufferpool-create-allocator-if-needed.patch |   61 --------------------
 .../gstreamer/gstreamer1.0-vaapi.inc               |   13 ++++-
 .../gstreamer/gstreamer1.0-vaapi_1.10.4.bb         |    7 --
 .../gstreamer/gstreamer1.0-vaapi_1.12.2.bb         |    5 ++
 4 files changed, 16 insertions(+), 70 deletions(-)
---
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc
index ef0734b..abfcc65 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc
@@ -22,12 +22,21 @@ REQUIRED_DISTRO_FEATURES ?= "opengl"
 
 PACKAGES =+ "${PN}-tests"
 
+# OpenGL packageconfig factored out to make it easy for distros
+# and BSP layers to pick either glx, egl, or no GL. By default,
+# try detecting X11 first, and if found (with OpenGL), use GLX,
+# otherwise try to check if EGL can be used.
+PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'glx', \
+                        bb.utils.contains('DISTRO_FEATURES',     'opengl', 'egl', \
+                                                                       '', d), d)}"
+
 PACKAGECONFIG ??= "drm \
-                   ${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'glx', '', d)} \
+                   ${PACKAGECONFIG_GL} \
                    ${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}"
 
 PACKAGECONFIG[drm] = "--enable-drm,--disable-drm,udev libdrm"
-PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,virtual/mesa"
+PACKAGECONFIG[egl] = "--enable-egl,--disable-egl,virtual/egl"
+PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,virtual/libgl"
 PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland"
 PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxrandr libxrender"
 
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.12.2.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.12.2.bb
new file mode 100644
index 0000000..fbd9f86
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.12.2.bb
@@ -0,0 +1,5 @@
+require gstreamer1.0-vaapi.inc
+SRC_URI[md5sum] = "bea015f33696a15ad9575fb71af862ed"
+SRC_URI[sha256sum] = "23c714e0474b3c7ae6ff8884aebf8503a1bc3ded335fa2d2b2ac31788466163a"
+
+DEPENDS += "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]