mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26: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_SITE="https://github.com/01org/libva-utils"
|
||||||
PKG_URL="https://github.com/intel/libva-utils/archive/$PKG_VERSION.tar.gz"
|
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_LONGDESC="Libva-utils is a collection of tests for VA-API (VIdeo Acceleration API)"
|
||||||
PKG_TOOLCHAIN="autotools"
|
PKG_TOOLCHAIN="meson"
|
||||||
|
|
||||||
if [ "$DISPLAYSERVER" = "x11" ]; then
|
if [ "$DISPLAYSERVER" = "x11" ]; then
|
||||||
PKG_DEPENDS_TARGET="toolchain libva libdrm libX11"
|
PKG_DEPENDS_TARGET="toolchain libva libdrm libX11"
|
||||||
DISPLAYSERVER_LIBVA="--enable-x11"
|
DISPLAYSERVER_LIBVA="-Dx11=true"
|
||||||
else
|
else
|
||||||
PKG_DEPENDS_TARGET="toolchain libva libdrm"
|
PKG_DEPENDS_TARGET="toolchain libva libdrm"
|
||||||
DISPLAYSERVER_LIBVA="--disable-x11"
|
DISPLAYSERVER_LIBVA="-Dx11=false"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
PKG_CONFIGURE_OPTS_TARGET="--disable-silent-rules \
|
PKG_MESON_OPTS_TARGET="-Ddrm=true \
|
||||||
--enable-drm \
|
$DISPLAYSERVER_LIBVA \
|
||||||
$DISPLAYSERVER_LIBVA \
|
-Dwayland=false \
|
||||||
--disable-wayland \
|
-Dtests=false"
|
||||||
--disable-tests"
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user