summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-12-08 18:57:58 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-13 22:55:20 +0000
commit46f66b5e5d93ad84f3b7dd087e52565ebfc220ed (patch)
tree65d72451906b894b45494748efd6c296e93b4802 /meta/recipes-multimedia
parent3db2a581f249894b026c8066383fc01d53595c1c (diff)
downloadpoky-46f66b5e5d93ad84f3b7dd087e52565ebfc220ed.tar.gz
gstreamer1.0-vaapi: Import from meta-intel
Update to 1.10.1 at the same time (From OE-Core rev: cf4d28d7d9820cc8f658670f766267d35133865f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc36
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/install-tests.patch43
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.10.1.bb6
3 files changed, 85 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc
new file mode 100644
index 0000000000..6dea9cfc3c
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc
@@ -0,0 +1,36 @@
1SUMMARY = "VA-API support to GStreamer"
2DESCRIPTION = "gstreamer-vaapi consists of a collection of VA-API \
3based plugins for GStreamer and helper libraries: `vaapidecode', \
4`vaapiconvert', and `vaapisink'."
5
6REALPN = "gstreamer-vaapi"
7FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/${REALPN}", "${FILE_DIRNAME}/${REALPN}"], d)}"
8
9LICENSE = "LGPLv2.1+"
10LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
11
12DEPENDS = "libva"
13
14SRC_URI = "https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.xz \
15 "
16
17S = "${WORKDIR}/${REALPN}-${PV}"
18
19inherit autotools pkgconfig gtk-doc
20
21PACKAGES =+ "${PN}-tests"
22
23PACKAGECONFIG ??= "drm \
24 ${@bb.utils.contains("DISTRO_FEATURES", "opengl x11", "glx", "", d)} \
25 ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "wayland", "", d)} \
26 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "x11", "", d)}"
27
28PACKAGECONFIG[drm] = "--enable-drm,--disable-drm,udev libdrm"
29PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,virtual/mesa"
30PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland"
31PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxrandr libxrender"
32
33FILES_${PN} += "${libdir}/gstreamer-*/*.so"
34FILES_${PN}-dbg += "${libdir}/gstreamer-*/.debug"
35FILES_${PN}-dev += "${libdir}/gstreamer-*/*.la ${libdir}/gstreamer-*/*.a"
36FILES_${PN}-tests = "${bindir}/*"
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/install-tests.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/install-tests.patch
new file mode 100644
index 0000000000..d7def3a0c3
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/install-tests.patch
@@ -0,0 +1,43 @@
1From 2791dfde0de0abe8100fa833dfe1a9c2e74c2629 Mon Sep 17 00:00:00 2001
2From: Jianxun Zhang <jianxun.zhang@linux.intel.com>
3Date: Thu, 21 Jan 2016 16:25:44 -0800
4Subject: [PATCH] Install tests
5
6This patch is updated for 0.6.1
7
8Upstream-Status: Inappropriate
9
10Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
11---
12 tests/Makefile.am | 6 +++---
13 1 file changed, 3 insertions(+), 3 deletions(-)
14
15diff --git a/tests/Makefile.am b/tests/Makefile.am
16index 3637d92..7cc6a97 100644
17--- a/tests/Makefile.am
18+++ b/tests/Makefile.am
19@@ -1,4 +1,4 @@
20-noinst_PROGRAMS = \
21+bin_PROGRAMS = \
22 simple-decoder \
23 test-decode \
24 test-display \
25@@ -9,13 +9,13 @@ noinst_PROGRAMS = \
26 $(NULL)
27
28 if USE_ENCODERS
29-noinst_PROGRAMS += \
30+bin_PROGRAMS += \
31 simple-encoder \
32 $(NULL)
33 endif
34
35 if USE_GLX
36-noinst_PROGRAMS += \
37+bin_PROGRAMS += \
38 test-textures \
39 $(NULL)
40 endif
41--
421.9.1
43
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.10.1.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.10.1.bb
new file mode 100644
index 0000000000..1c727f5775
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.10.1.bb
@@ -0,0 +1,6 @@
1require gstreamer1.0-vaapi.inc
2
3SRC_URI[md5sum] = "514757933ff719a6b8206091f70e0221"
4SRC_URI[sha256sum] = "99aecaa609f37d65e12518b1e77cc70e3cc5dde0c7dfc8e83f508d7e64e1da34"
5
6DEPENDS += "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"