void-packages/srcpkgs/xf86-video-intel/template

35 lines
923 B
Bash

# Template file for 'xf86-video-intel'
pkgname=xf86-video-intel
version=2.99.917.899
revision=2
_commit=f66d39544bb8339130c96d282a80f87ca1606caf
archs="i686* x86_64*"
build_style=gnu-configure
configure_args="--with-default-dri=3"
hostmakedepends="git automake libtool pkg-config xorg-util-macros"
makedepends="libXScrnSaver-devel libXcursor-devel libXinerama-devel
libXrandr-devel libXvMC-devel xorg-server-devel"
depends="virtual?xserver-abi-video-24_1 mesa-dri"
short_desc="Xorg DDX Intel video driver"
maintainer="Benjamin Slade <slade@lambda-y.net>"
license="MIT"
homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
lib32disabled=yes
CFLAGS="-fcommon"
LDFLAGS="-Wl,-z,lazy"
do_fetch() {
git clone https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel ${wrksrc}
cd ${wrksrc}
git reset --hard $_commit
}
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
vlicense COPYING
}