meta-intel/common/recipes-multimedia/libva/va-intel.bb
Tom Zanussi 756571750b meta-intel: add va-impl-intel MACHINE_FEATURE
Add a new va-impl-intel MACHINE_FEATURE to explicitly choose intel
video acceleration, rather than have it as the fallthrough default, so
that anything that wants to specify something different locally
doesn't get unwanted components.

Also rename the gst-va-mixvideo feature to va-impl-mixvideo match and
since it isn't only concerned with gst.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-08-30 16:28:10 -05:00

31 lines
942 B
BlitzBasic

DESCRIPTION = "Video Acceleration Add-ons for Intel BSPs"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PR = "r1"
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 = "1"
RDEPENDS_va-intel = " \
${VA_IMPL} \
"
COMPATIBLE_HOST = '(i.86|x86_64).*-linux*'