distribution/packages/debug/libva-utils/package.mk
2022-06-30 06:28:25 -04:00

24 lines
861 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libva-utils"
PKG_VERSION="2.14.0"
PKG_SHA256="0ad6410aaa27d7b15dadee0f4d775d54d6394b582bf315353a4657b49c78ac31"
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="meson"
if [ "${DISPLAYSERVER}" = "x11" ]; then
PKG_DEPENDS_TARGET="toolchain libva libdrm libX11"
DISPLAYSERVER_LIBVA="-Dx11=true"
else
PKG_DEPENDS_TARGET="toolchain libva libdrm"
DISPLAYSERVER_LIBVA="-Dx11=false"
fi
PKG_MESON_OPTS_TARGET="-Ddrm=true \
${DISPLAYSERVER_LIBVA} \
-Dwayland=false \
-Dtests=false"