From: Zoltan Boszormenyi Date: Thu, 7 May 2020 13:33:00 +0000 (+0200) Subject: mesa: Add PACKAGECONFIG knob to enable VAAPI X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~11164 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1169238a4586852f807a63d9e70a8a556d84dac6;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git mesa: Add PACKAGECONFIG knob to enable VAAPI The previously added libva-initial recipe makes it possible and trivial. Signed-off-by: Böszörményi Zoltán Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index f59503bf140..7a889a5b119 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc @@ -142,6 +142,7 @@ PACKAGECONFIG[gallium] = "-Dgallium-drivers=${GALLIUMDRIVERS}, -Dgallium-drivers PACKAGECONFIG[gallium-llvm] = "-Dllvm=true -Dshared-llvm=true, -Dllvm=false, llvm${MESA_LLVM_RELEASE} llvm-native \ ${@'elfutils' if ${GALLIUMDRIVERS_LLVM33_ENABLED} else ''}" PACKAGECONFIG[xa] = "-Dgallium-xa=true, -Dgallium-xa=false" +PACKAGECONFIG[va] = "-Dgallium-va=true,-Dgallium-va=false,libva-initial" PACKAGECONFIG[lima] = "" GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'lima', ',lima', '', d)}"