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

24 lines
839 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"
2023-02-28 02:43:53 +00:00
PKG_VERSION="2.17.1"
PKG_SHA256="6ea5993c3eba230a979fa9d35b4cad8df06d4474a773dc0918033bf50353f966"
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
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"