aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/libva/va-intel.bb
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2015-06-24 10:23:05 -0700
committerDarren Hart <dvhart@linux.intel.com>2015-06-24 10:23:05 -0700
commitdc39b5cc7a83424be8731ad779852aa3553c48d7 (patch)
treeb2a1a33b37a6e4d062b68ec88d1e4a92b12a65ff /recipes-multimedia/libva/va-intel.bb
parentfe0d32f59bfe8ee1f76f7f9435c425f9b23903af (diff)
downloadmeta-minnow-dc39b5cc7a83424be8731ad779852aa3553c48d7.tar.gz
meta-minnow-dc39b5cc7a83424be8731ad779852aa3553c48d7.tar.bz2
meta-minnow-dc39b5cc7a83424be8731ad779852aa3553c48d7.zip
multimedia: Add gstreamer and libva support for EMGD
EMGD requires specific versions and support from gstreamer and libva. These are copied in from meta-intel/daisy with PR and INC_PR removed as suggested by Koon Kooi. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'recipes-multimedia/libva/va-intel.bb')
-rw-r--r--recipes-multimedia/libva/va-intel.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-multimedia/libva/va-intel.bb b/recipes-multimedia/libva/va-intel.bb
new file mode 100644
index 0000000..9bc6939
--- /dev/null
+++ b/recipes-multimedia/libva/va-intel.bb
@@ -0,0 +1,28 @@
+DESCRIPTION = "Video Acceleration Add-ons for Intel BSPs"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \
+ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+def map_valibs(d):
+ # The emgd mixvideo implementation requires libva-x11/tpi/glx/egl
+ if base_contains('MACHINE_FEATURES', 'va-impl-mixvideo', "1", "0", d) == "1":
+ return "libva libva-x11 libva-tpi libva-glx libva-egl"
+ # The intel implementation requires the libva-intel-driver package
+ if base_contains('MACHINE_FEATURES', 'va-impl-intel', "1", "0", d) == "1":
+ return "libva libva-intel-driver"
+ # All meta-intel video acceleration requires libva
+ return "libva"
+
+VA_IMPL = "${@map_valibs(d)}"
+
+PACKAGES = "\
+ va-intel \
+ "
+
+ALLOW_EMPTY_va-intel = "1"
+
+RDEPENDS_va-intel = " \
+ ${VA_IMPL} \
+ "
+
+COMPATIBLE_HOST = '(i.86|x86_64).*-linux*'