mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +00:00
intel-vaapi-driver: use meson
This commit is contained in:
parent
3c9a267312
commit
ad6e23187e
@ -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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user