Files
Arch-R/packages/multimedia/libva/package.mk
Rudi Heitbaum 01fa746632 libva: update to 2.14.0
version 2.14.0 - 16.Feb.2022
 * add: Add av1 encode interfaces
 * add: VA/X11 VAAPI driver mapping for crocus DRI driver
 * doc: Add description of the fd management for surface importing
 * ci: fix freebsd build
 * meson: Copy public headers to build directory to support subproject
2022-02-17 05:50:56 +00:00

30 lines
1.2 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libva"
PKG_VERSION="2.14.0"
PKG_SHA256="f21152a2170edda9d1c4dd463d52eaf62b553e83e553c0a946654523cca86d5e"
PKG_ARCH="x86_64"
PKG_LICENSE="GPL"
PKG_SITE="https://01.org/linuxmedia"
PKG_URL="https://github.com/intel/libva/archive/${PKG_VERSION}.tar.gz"
PKG_LONGDESC="Libva is an implementation for VA-API (VIdeo Acceleration API)."
PKG_TOOLCHAIN="meson"
if [ "${DISPLAYSERVER}" = "x11" ]; then
PKG_DEPENDS_TARGET="toolchain libX11 libXext libXfixes libdrm"
DISPLAYSERVER_LIBVA="-Dwith_x11=yes -Dwith_glx=no -Dwith_wayland=no"
elif [ "${DISPLAYSERVER}" = "wl" ]; then
DISPLAYSERVER_LIBVA="-Dwith_x11=no -Dwith_glx=no -Dwith_wayland=yes"
PKG_DEPENDS_TARGET="toolchain libdrm wayland"
else
PKG_DEPENDS_TARGET="toolchain libdrm"
DISPLAYSERVER_LIBVA="-Dwith_x11=no -Dwith_glx=no -Dwith_wayland=no"
fi
PKG_MESON_OPTS_TARGET="-Ddisable_drm=false \
-Denable_docs=false \
-Denable_va_messaging=true \
${DISPLAYSERVER_LIBVA}"