distribution/packages/debug/libva-utils/package.mk

25 lines
861 B
Makefile
Raw Normal View History

2022-02-05 14:23:32 +00:00
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libva-utils"
2022-06-30 10:28:25 +00:00
PKG_VERSION="2.14.0"
PKG_SHA256="0ad6410aaa27d7b15dadee0f4d775d54d6394b582bf315353a4657b49c78ac31"
2022-02-05 14:23:32 +00:00
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/01org/libva-utils"
2022-06-30 10:28:25 +00:00
PKG_URL="https://github.com/intel/libva-utils/archive/${PKG_VERSION}.tar.gz"
2022-02-05 14:23:32 +00:00
PKG_LONGDESC="Libva-utils is a collection of tests for VA-API (VIdeo Acceleration API)"
2022-06-30 10:28:25 +00:00
PKG_TOOLCHAIN="meson"
2022-02-05 14:23:32 +00:00
2022-06-30 10:28:25 +00:00
if [ "${DISPLAYSERVER}" = "x11" ]; then
2022-02-05 14:23:32 +00:00
PKG_DEPENDS_TARGET="toolchain libva libdrm libX11"
2022-06-30 10:28:25 +00:00
DISPLAYSERVER_LIBVA="-Dx11=true"
2022-02-05 14:23:32 +00:00
else
PKG_DEPENDS_TARGET="toolchain libva libdrm"
2022-06-30 10:28:25 +00:00
DISPLAYSERVER_LIBVA="-Dx11=false"
2022-02-05 14:23:32 +00:00
fi
2022-06-30 10:28:25 +00:00
PKG_MESON_OPTS_TARGET="-Ddrm=true \
${DISPLAYSERVER_LIBVA} \
-Dwayland=false \
-Dtests=false"