mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
43 lines
1.9 KiB
Makefile
43 lines
1.9 KiB
Makefile
################################################################################
|
|
# This file is part of LibreELEC - https://libreelec.tv
|
|
# Copyright (C) 2017-present Team LibreELEC
|
|
#
|
|
# LibreELEC is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 2 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# LibreELEC is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
|
################################################################################
|
|
|
|
PKG_NAME="intel-vaapi-driver"
|
|
PKG_VERSION="2.0.0"
|
|
PKG_SHA256="10f6b0a91f34715d8d4d9a9e0fb3cc0afe5fcf85355db1272bd5fff31522f469"
|
|
PKG_ARCH="x86_64"
|
|
PKG_LICENSE="GPL"
|
|
PKG_SITE="https://01.org/linuxmedia"
|
|
PKG_URL="https://github.com/01org/intel-vaapi-driver/releases/download/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
|
PKG_DEPENDS_TARGET="toolchain libva libdrm"
|
|
PKG_SECTION="multimedia"
|
|
PKG_SHORTDESC="intel-vaapi-driver: VA-API user mode driver for Intel GEN Graphics family"
|
|
PKG_LONGDESC="intel-vaapi-driver: VA-API user mode driver for Intel GEN Graphics family"
|
|
PKG_TOOLCHAIN="autotools"
|
|
|
|
if [ "$DISPLAYSERVER" = "x11" ]; then
|
|
DISPLAYSERVER_LIBVA="--enable-x11 --disable-wayland"
|
|
elif [ "$DISPLAYSERVER" = "weston" ]; then
|
|
DISPLAYSERVER_LIBVA="--disable-x11 --enable-wayland"
|
|
else
|
|
DISPLAYSERVER_LIBVA="--disable-x11 --disable-wayland"
|
|
fi
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="--disable-silent-rules \
|
|
--enable-drm \
|
|
$DISPLAYSERVER_LIBVA"
|