mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
28 lines
1016 B
Makefile
28 lines
1016 B
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="intel-vaapi-driver"
|
|
PKG_VERSION="2.4.0"
|
|
PKG_SHA256="58567dac882167021f031489062cbbab76bc646214be0ee44d5f724d960b3d76"
|
|
PKG_ARCH="x86_64"
|
|
PKG_LICENSE="GPL"
|
|
PKG_SITE="https://01.org/linuxmedia"
|
|
PKG_URL="https://github.com/intel/intel-vaapi-driver/archive/$PKG_VERSION.tar.gz"
|
|
PKG_DEPENDS_TARGET="toolchain libva libdrm"
|
|
PKG_LONGDESC="intel-vaapi-driver: VA-API user mode driver for Intel GEN Graphics family"
|
|
PKG_TOOLCHAIN="meson"
|
|
|
|
if [ "$DISPLAYSERVER" = "x11" ]; then
|
|
DISPLAYSERVER_LIBVA="-Dwith_x11=yes -Dwith_wayland=no"
|
|
elif [ "$DISPLAYSERVER" = "weston" ]; then
|
|
DISPLAYSERVER_LIBVA="-Dwith_x11=no -Dwith_wayland=yes"
|
|
else
|
|
DISPLAYSERVER_LIBVA="-Dwith_x11=no -Dwith_wayland=no"
|
|
fi
|
|
|
|
PKG_MESON_OPTS_TARGET="-Denable_hybrid_code=false \
|
|
-Denable_tests=false \
|
|
$DISPLAYSERVER_LIBVA"
|
|
|