citadel/recipes-multimedia/libva/va-intel.bb
brl 5789f1b122 Squashed 'meta-intel/' content from commit c811c0b338
git-subtree-dir: meta-intel
git-subtree-split: c811c0b33862a2f911fe2afdd2054958b1f28e40
2017-12-04 16:35:46 -05:00

33 lines
741 B
BlitzBasic

DESCRIPTION = "Video Acceleration Add-ons for Intel BSPs"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
S = "${WORKDIR}"
PR = "r1"
def map_valibs(d):
# The intel implementation requires the libva-intel-driver package
if bb.utils.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*'
inherit distro_features_check
REQUIRED_DISTRO_FEATURES = "opengl"