mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 21:56:42 +00:00
libva-utils: use meson
This commit is contained in:
parent
ad6e23187e
commit
43d2b8cd3b
@ -8,18 +8,18 @@ PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://github.com/01org/libva-utils"
|
||||
PKG_URL="https://github.com/intel/libva-utils/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_LONGDESC="Libva-utils is a collection of tests for VA-API (VIdeo Acceleration API)"
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
PKG_TOOLCHAIN="meson"
|
||||
|
||||
if [ "$DISPLAYSERVER" = "x11" ]; then
|
||||
PKG_DEPENDS_TARGET="toolchain libva libdrm libX11"
|
||||
DISPLAYSERVER_LIBVA="--enable-x11"
|
||||
DISPLAYSERVER_LIBVA="-Dx11=true"
|
||||
else
|
||||
PKG_DEPENDS_TARGET="toolchain libva libdrm"
|
||||
DISPLAYSERVER_LIBVA="--disable-x11"
|
||||
DISPLAYSERVER_LIBVA="-Dx11=false"
|
||||
fi
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-silent-rules \
|
||||
--enable-drm \
|
||||
$DISPLAYSERVER_LIBVA \
|
||||
--disable-wayland \
|
||||
--disable-tests"
|
||||
PKG_MESON_OPTS_TARGET="-Ddrm=true \
|
||||
$DISPLAYSERVER_LIBVA \
|
||||
-Dwayland=false \
|
||||
-Dtests=false"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user