libvdpau: only include when x11 in DISTRO_FEATURES

Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Armin Kuster
2018-03-06 17:27:30 -08:00
parent 323f5d88e3
commit 0055684612
@@ -12,7 +12,9 @@ SRC_URI = "git://anongit.freedesktop.org/vdpau/libvdpau"
S = "${WORKDIR}/git"
inherit autotools pkgconfig
inherit distro_features_check autotools pkgconfig
REQUIRED_DISTRO_FEATURES = "x11"
do_install_append() {
rm -f ${D}${libdir}/*/*.la