intel-vaapi-driver: use meson

This commit is contained in:
Lukas Rusak 2020-01-26 09:58:14 -08:00
parent 3c9a267312
commit ad6e23187e
No known key found for this signature in database
GPG Key ID: 8C310C807E7393A3

View File

@ -11,15 +11,17 @@ PKG_SITE="https://01.org/linuxmedia"
PKG_URL="https://github.com/intel/intel-vaapi-driver/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain libva libdrm"
PKG_LONGDESC="intel-vaapi-driver: VA-API user mode driver for Intel GEN Graphics family"
PKG_TOOLCHAIN="autotools"
PKG_TOOLCHAIN="meson"
if [ "$DISPLAYSERVER" = "x11" ]; then
DISPLAYSERVER_LIBVA="--enable-x11 --disable-wayland"
DISPLAYSERVER_LIBVA="-Dwith_x11=yes -Dwith_wayland=no"
elif [ "$DISPLAYSERVER" = "weston" ]; then
DISPLAYSERVER_LIBVA="--disable-x11 --enable-wayland"
DISPLAYSERVER_LIBVA="-Dwith_x11=no -Dwith_wayland=yes"
else
DISPLAYSERVER_LIBVA="--disable-x11 --disable-wayland"
DISPLAYSERVER_LIBVA="-Dwith_x11=no -Dwith_wayland=no"
fi
PKG_CONFIGURE_OPTS_TARGET="--disable-silent-rules \
$DISPLAYSERVER_LIBVA"
PKG_MESON_OPTS_TARGET="-Denable_hybrid_code=false \
-Denable_tests=false \
$DISPLAYSERVER_LIBVA"