2016-02-08 06:50:11 +08:00
|
|
|
# Contributions of Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/xf86-video-intel
|
2014-06-30 05:20:35 +08:00
|
|
|
# Part of X.org group
|
2010-03-14 23:48:48 +08:00
|
|
|
|
2017-04-10 05:10:29 +08:00
|
|
|
source ../xorg.conf
|
|
|
|
|
2010-03-14 23:48:48 +08:00
|
|
|
pkgname=xf86-video-intel
|
2017-04-10 05:10:29 +08:00
|
|
|
_commit=cb6ba2da056f3298a765b4da5cd626343c00a533 # master
|
|
|
|
pkgver=2.99.917+770+gcb6ba2d
|
2015-11-17 05:11:40 +08:00
|
|
|
pkgrel=1
|
2014-06-30 03:42:18 +08:00
|
|
|
arch=('x86_64')
|
2014-06-29 05:35:11 +08:00
|
|
|
url="http://xorg.freedesktop.org/"
|
2010-03-14 23:48:48 +08:00
|
|
|
license=('custom')
|
2014-06-29 05:35:11 +08:00
|
|
|
install=$pkgname.install
|
|
|
|
pkgdesc="X.org Intel i810/i830/i915/945G/G965+ video drivers"
|
2016-02-08 06:50:11 +08:00
|
|
|
depends=('mesa-dri' 'libxvmc' 'pixman' 'xcb-util')
|
2017-04-10 05:10:29 +08:00
|
|
|
makedepends=('xorg-server-devel' "X-ABI-VIDEODRV_VERSION=${X_ABI_VIDEODRV_VERSION}" 'libx11' 'libxrender'
|
2014-06-29 05:35:11 +08:00
|
|
|
# additional deps for intel-virtual-output
|
2016-02-08 06:50:11 +08:00
|
|
|
'libxrandr' 'libxinerama' 'libxcursor' 'libxtst' 'libxss' 'git')
|
2014-06-29 05:35:11 +08:00
|
|
|
optdepends=('libxrandr: for intel-virtual-output'
|
|
|
|
'libxinerama: for intel-virtual-output'
|
|
|
|
'libxcursor: for intel-virtual-output'
|
|
|
|
'libxtst: for intel-virtual-output')
|
2017-04-10 05:10:29 +08:00
|
|
|
conflicts=("X-ABI-VIDEODRV_VERSION<${X_ABI_VIDEODRV_MAJOR}" "X-ABI-VIDEODRV_VERSION>=$((X_ABI_VIDEODRV_MAJOR+1))")
|
2011-05-01 18:50:24 +08:00
|
|
|
groups=('xorg-drivers' 'xorg')
|
2017-04-10 05:10:29 +08:00
|
|
|
source=("git://anongit.freedesktop.org/xorg/driver/xf86-video-intel#commit=$_commit")
|
2015-11-17 05:11:40 +08:00
|
|
|
sha256sums=('SKIP')
|
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd $pkgname
|
|
|
|
git describe --long | sed 's/-/+/g'
|
|
|
|
}
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd $pkgname
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
2015-09-05 04:07:30 +08:00
|
|
|
}
|
2015-11-17 05:11:40 +08:00
|
|
|
|
2010-03-14 23:48:48 +08:00
|
|
|
build() {
|
2015-11-17 05:11:40 +08:00
|
|
|
cd $pkgname
|
|
|
|
# DRI3 is disabled by default and Glamor has been removed
|
2017-04-10 05:10:29 +08:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--libexecdir=/usr/lib \
|
|
|
|
--with-default-dri=3
|
2010-10-05 05:03:14 +08:00
|
|
|
make
|
2011-05-01 18:50:24 +08:00
|
|
|
}
|
|
|
|
|
2014-06-29 05:35:11 +08:00
|
|
|
check() {
|
2015-11-17 05:11:40 +08:00
|
|
|
cd $pkgname
|
2014-06-29 05:35:11 +08:00
|
|
|
make check
|
|
|
|
}
|
|
|
|
|
2011-05-01 18:50:24 +08:00
|
|
|
package() {
|
2015-11-17 05:11:40 +08:00
|
|
|
cd $pkgname
|
2014-06-29 05:35:11 +08:00
|
|
|
|
2010-10-05 05:03:14 +08:00
|
|
|
make DESTDIR="${pkgdir}" install
|
2014-06-29 05:35:11 +08:00
|
|
|
|
2010-03-14 23:48:48 +08:00
|
|
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
2010-10-14 04:14:13 +08:00
|
|
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
|
2010-03-14 23:48:48 +08:00
|
|
|
}
|
2014-06-29 05:35:11 +08:00
|
|
|
|