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

37 lines
958 B
Bash

# Template file for 'xf86-video-intel'
pkgname=xf86-video-intel
version=2.99.917.20200515
revision=1
_commit=5ca3ac1a90af177eb111a965e9b4dd8a27cc58fc
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 --single-branch \
https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel.git \
${wrksrc}
cd ${wrksrc}
git reset --hard ${_commit}
}
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
vlicense COPYING
}