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

35 lines
952 B
Bash

# Template file for 'xf86-video-intel'
pkgname=xf86-video-intel
version=2.99.917.847
revision=1
_commit=25c9a2fcc83ae7252a178b42262da383e59df744
lib32disabled=yes
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
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="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel"
license="MIT"
lib32disabled=yes
LDFLAGS="-Wl,-z,lazy"
do_fetch() {
git clone git://anongit.freedesktop.org/xorg/driver/xf86-video-intel ${wrksrc}
cd ${wrksrc}
git reset --hard $_commit
}
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
vlicense COPYING
}