distribution/packages/x11/driver/xf86-video-intel/package.mk
2022-02-05 09:23:32 -05:00

40 lines
1.8 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="xf86-video-intel"
PKG_VERSION="31486f40f8e8f8923ca0799aea84b58799754564"
PKG_SHA256="e47eb678c681d80df138e897ee27c79f9b42e3517d55b1f0684e9a70361c8218"
PKG_ARCH="x86_64"
PKG_LICENSE="OSS"
PKG_SITE="https://www.x.org/wiki/IntelGraphicsDriver/"
PKG_URL="https://gitlab.freedesktop.org/xorg/driver/${PKG_NAME}/-/archive/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain libXcomposite libXxf86vm libXdamage libdrm util-macros systemd xorg-server"
PKG_LONGDESC="Open-source Xorg graphics driver for Intel graphics."
PKG_TOOLCHAIN="autotools"
PKG_CONFIGURE_OPTS_TARGET="--disable-backlight \
--disable-backlight-helper \
--disable-gen4asm \
--enable-udev \
--disable-tools \
--enable-dri \
--disable-dri1 \
--enable-dri2 \
--enable-dri3 \
--enable-kms --enable-kms-only \
--disable-ums --disable-ums-only \
--enable-sna \
--enable-uxa \
--disable-xvmc \
--disable-xaa \
--disable-dga \
--disable-tear-free \
--disable-create2 \
--disable-async-swap \
--with-default-dri=2 \
--with-xorg-module-dir=${XORG_PATH_MODULES}"
post_makeinstall_target() {
rm -rf ${INSTALL}/usr/share/polkit-1
}