intel-vaapi-driver: allow building with DISPLAYSERVER=weston

This commit is contained in:
Lukas Rusak 2017-12-16 10:17:50 -08:00
parent d33672f224
commit 97e09f9ede
No known key found for this signature in database
GPG Key ID: 8C310C807E7393A3

View File

@ -30,12 +30,13 @@ PKG_LONGDESC="intel-vaapi-driver: VA-API user mode driver for Intel GEN Graphics
PKG_TOOLCHAIN="autotools" PKG_TOOLCHAIN="autotools"
if [ "$DISPLAYSERVER" = "x11" ]; then if [ "$DISPLAYSERVER" = "x11" ]; then
DISPLAYSERVER_LIBVA="--enable-x11" DISPLAYSERVER_LIBVA="--enable-x11 --disable-wayland"
elif [ "$DISPLAYSERVER" = "weston" ]; then
DISPLAYSERVER_LIBVA="--disable-x11 --enable-wayland"
else else
DISPLAYSERVER_LIBVA="--disable-x11" DISPLAYSERVER_LIBVA="--disable-x11 --disable-wayland"
fi fi
PKG_CONFIGURE_OPTS_TARGET="--disable-silent-rules \ PKG_CONFIGURE_OPTS_TARGET="--disable-silent-rules \
--enable-drm \ --enable-drm \
--disable-wayland \
$DISPLAYSERVER_LIBVA" $DISPLAYSERVER_LIBVA"