summaryrefslogtreecommitdiffstats
path: root/common/recipes-multimedia
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2014-08-15 18:09:22 +0100
committerTom Zanussi <tom.zanussi@linux.intel.com>2014-08-18 14:21:20 -0500
commit579cd30427b0cb2941eca06bc0b0b9b1573d0e50 (patch)
tree4a8d001f0e1259bb5c3d69012459d2bd32852145 /common/recipes-multimedia
parent7d9471578801d571ceca9e54bbdf22cb84284ff9 (diff)
downloadmeta-intel-579cd30427b0cb2941eca06bc0b0b9b1573d0e50.tar.gz
gstreamer-vaapi: fix builds against GStreamer 1.4
Take a patch from upstream to fix configure when building against GStreamer 1.4. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Diffstat (limited to 'common/recipes-multimedia')
-rw-r--r--common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.5.8.bb2
-rw-r--r--common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc4
-rw-r--r--common/recipes-multimedia/gstreamer/gstreamer-vaapi/gstreamer14.patch36
3 files changed, 40 insertions, 2 deletions
diff --git a/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.5.8.bb b/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.5.8.bb
index 886b3c16..c1c4f5ac 100644
--- a/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.5.8.bb
+++ b/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.5.8.bb
@@ -2,4 +2,4 @@ require gstreamer-vaapi.inc
2 2
3DEPENDS += "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad" 3DEPENDS += "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"
4 4
5GST_API_VERSION = "1.2" 5GST_API_VERSION = "1.4"
diff --git a/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc b/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc
index 2f5b6f16..3614fbc7 100644
--- a/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc
+++ b/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc
@@ -12,7 +12,9 @@ LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
12DEPENDS = "libva" 12DEPENDS = "libva"
13 13
14SRC_URI = "http://www.freedesktop.org/software/vaapi/releases/${REALPN}/${REALPN}-${PV}.tar.bz2 \ 14SRC_URI = "http://www.freedesktop.org/software/vaapi/releases/${REALPN}/${REALPN}-${PV}.tar.bz2 \
15 file://install-tests.patch" 15 file://install-tests.patch \
16 file://gstreamer14.patch \
17 "
16 18
17SRC_URI[md5sum] = "375ddbab556e53ccc311b792f2c649a7" 19SRC_URI[md5sum] = "375ddbab556e53ccc311b792f2c649a7"
18SRC_URI[sha256sum] = "24fee8a1ca4cb99ed7739d876b17a4085e81b28550350867dee5105300d343c6" 20SRC_URI[sha256sum] = "24fee8a1ca4cb99ed7739d876b17a4085e81b28550350867dee5105300d343c6"
diff --git a/common/recipes-multimedia/gstreamer/gstreamer-vaapi/gstreamer14.patch b/common/recipes-multimedia/gstreamer/gstreamer-vaapi/gstreamer14.patch
new file mode 100644
index 00000000..7b54b316
--- /dev/null
+++ b/common/recipes-multimedia/gstreamer/gstreamer-vaapi/gstreamer14.patch
@@ -0,0 +1,36 @@
1Upstream-Status: Backport
2Signed-off-by: Ross Burton <ross.burton@intel.com>
3
4From 580100d7498f861b04e6e727a4fc71bd29df46b6 Mon Sep 17 00:00:00 2001
5From: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
6Date: Mon, 28 Jul 2014 14:20:33 +0200
7Subject: [PATCH] configure: fix build with GStreamer 1.4.0 release.
8
9---
10 configure.ac | 4 ++--
11 1 files changed, 2 insertions(+), 2 deletions(-)
12
13diff --git a/configure.ac b/configure.ac
14index c98d08c..b41d483 100644
15--- a/configure.ac
16+++ b/configure.ac
17@@ -220,7 +220,7 @@ case $GST_API_VERSION in
18 GST_PLUGINS_BASE_VERSION_REQUIRED=gst12_plugins_base_version
19 GST_PLUGINS_BAD_VERSION_REQUIRED=gst12_plugins_bad_version
20 ;;
21-1.3)
22+1.[[3-4]])
23 GST_VERSION_REQUIRED=gst14_version
24 GST_PLUGINS_BASE_VERSION_REQUIRED=gst14_plugins_base_version
25 GST_PLUGINS_BAD_VERSION_REQUIRED=gst14_plugins_bad_version
26@@ -473,7 +473,7 @@ case $GST_API_VERSION in
27 0.10) lt_bias=gst0_vaapi_lt_current_bias;;
28 1.0) lt_bias=gst1_vaapi_lt_current_bias;;
29 1.2) lt_bias=gst2_vaapi_lt_current_bias;;
30-1.3) lt_bias=gst4_vaapi_lt_current_bias;;
31+1.[[3-4]]) lt_bias=gst4_vaapi_lt_current_bias;;
32 esac
33 GST_VAAPI_MAJOR_VERSION=`expr gst_vaapi_lt_current - "$lt_bias"`
34 AC_SUBST(GST_VAAPI_MAJOR_VERSION)
35--
361.7.1