[meta-intel] [PATCH 1/3] gstreamer-vaapi: upgrade to 0.6.0

Lim Siew Hoon siew.hoon.lim at intel.com
Thu Jul 23 02:48:13 PDT 2015


Add in depedendecy libva-intel-driver.
Update the install-test.patch based on 0.6.0 version.
A lot of major changes and bug fixes add in in 0.6.0 version.

GStreamer support corner:
  - Removed the support for GStreamer 0.10 and 1.0
  - GStreamer >= 1.2 is the minimal requirement

Signed-off-by: Lim Siew Hoon <siew.hoon.lim at intel.com>
---
 .../gstreamer/gstreamer-vaapi-1.0_0.5.10.bb        |  5 -----
 .../gstreamer/gstreamer-vaapi-1.0_0.6.0.bb         |  5 +++++
 .../gstreamer/gstreamer-vaapi.inc                  |  6 +++---
 .../gstreamer/gstreamer-vaapi/install-tests.patch  | 25 ++++++++++++++++------
 4 files changed, 26 insertions(+), 15 deletions(-)
 delete mode 100644 common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.5.10.bb
 create mode 100755 common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.6.0.bb

diff --git a/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.5.10.bb b/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.5.10.bb
deleted file mode 100644
index c1c4f5a..0000000
--- a/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.5.10.bb
+++ /dev/null
@@ -1,5 +0,0 @@
-require gstreamer-vaapi.inc
-
-DEPENDS += "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"
-
-GST_API_VERSION = "1.4"
diff --git a/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.6.0.bb b/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.6.0.bb
new file mode 100755
index 0000000..c1c4f5a
--- /dev/null
+++ b/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.6.0.bb
@@ -0,0 +1,5 @@
+require gstreamer-vaapi.inc
+
+DEPENDS += "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"
+
+GST_API_VERSION = "1.4"
diff --git a/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc b/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc
index 64c6131..20a17a4 100644
--- a/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc
+++ b/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc
@@ -9,14 +9,14 @@ FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/${REALPN}", "${FILE_DIRNAME
 LICENSE = "LGPLv2.1+"
 LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
 
-DEPENDS = "libva"
+DEPENDS = "libva libva-intel-driver"
 
 SRC_URI = "http://www.freedesktop.org/software/vaapi/releases/${REALPN}/${REALPN}-${PV}.tar.bz2 \
            file://install-tests.patch \
            "
 
-SRC_URI[md5sum] = "3bd90b696b644be943450ba0c1497193"
-SRC_URI[sha256sum] = "0dd236c7bf225322b8934fdba99a7a9e4542566a2acbe7564cdc3ec2c8b73c9d"
+SRC_URI[md5sum] = "c8d8ba19d7d18d9e7bd455f73bb5daf2"
+SRC_URI[sha256sum] = "f6a4c657606849fb09ee2db778c80278cfa4546e9103862f273c910e208872b8"
 
 S = "${WORKDIR}/${REALPN}-${PV}"
 
diff --git a/common/recipes-multimedia/gstreamer/gstreamer-vaapi/install-tests.patch b/common/recipes-multimedia/gstreamer/gstreamer-vaapi/install-tests.patch
index 9281b04..629354c 100644
--- a/common/recipes-multimedia/gstreamer/gstreamer-vaapi/install-tests.patch
+++ b/common/recipes-multimedia/gstreamer/gstreamer-vaapi/install-tests.patch
@@ -1,14 +1,18 @@
-Install tests.
+From 6c4b4379702fb2cfc095dc62c4800e8ae417a564 Mon Sep 17 00:00:00 2001
+From: Lim Siew Hoon <siew.hoon.lim at intel.com>
+Date: Wed, 22 Jul 2015 18:18:15 +0800
+Subject: [PATCH] Upgrade for Install tests
 
 Upstream-Status: Inappropriate
-Signed-off-by: Ross Burton <ross.burton at intel.com>
+Based on gstreamer-vaapi 0.6.0 version.
 
+Signed-off-by: Lim Siew Hoon <siew.hoon.lim at intel.com>
 ---
- tests/Makefile.am |    4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
+ tests/Makefile.am | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
 
 diff --git a/tests/Makefile.am b/tests/Makefile.am
-index 2e7f191..8f65446 100644
+index 3637d92..7cc6a97 100644
 --- a/tests/Makefile.am
 +++ b/tests/Makefile.am
 @@ -1,4 +1,4 @@
@@ -17,9 +21,16 @@ index 2e7f191..8f65446 100644
  	simple-decoder			\
  	test-decode			\
  	test-display			\
-@@ -9,7 +9,7 @@ noinst_PROGRAMS = \
+@@ -9,13 +9,13 @@ noinst_PROGRAMS = \
  	$(NULL)
  
+ if USE_ENCODERS
+-noinst_PROGRAMS += \
++bin_PROGRAMS += \
+ 	simple-encoder			\
+ 	$(NULL)
+ endif
+ 
  if USE_GLX
 -noinst_PROGRAMS += \
 +bin_PROGRAMS += \
@@ -27,5 +38,5 @@ index 2e7f191..8f65446 100644
  	$(NULL)
  endif
 -- 
-1.7.10.4
+2.1.0
 
-- 
2.1.0



More information about the meta-intel mailing list