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

35 lines
925 B
Bash

# Template file for 'xf86-video-intel'
pkgname=xf86-video-intel
version=2.99.917.847
revision=1
_commit=25c9a2fcc83ae7252a178b42262da383e59df744
lib32disabled=yes
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-intel-dri"
short_desc="Xorg DDX Intel video driver"
maintainer="Orphaned <orphan@voidlinux.org>"
homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
license="MIT"
lib32disabled=yes
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
}