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
|
|
|
|
|
|
|
pkgname=xf86-video-intel
|
2016-11-01 12:55:44 +08:00
|
|
|
pkgver=2.99.917+722+g714052f
|
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')
|
2015-11-17 05:11:40 +08:00
|
|
|
makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=19' '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')
|
2016-02-08 06:50:11 +08:00
|
|
|
conflicts=('X-ABI-VIDEODRV_VERSION<19' 'X-ABI-VIDEODRV_VERSION>=20')
|
2011-05-01 18:50:24 +08:00
|
|
|
groups=('xorg-drivers' 'xorg')
|
2015-11-17 05:11:40 +08:00
|
|
|
source=(${url}/archive/individual/driver/${pkgname}-${pkgver}.tar.bz2)
|
2016-11-01 12:55:44 +08:00
|
|
|
source=('git://anongit.freedesktop.org/xorg/driver/xf86-video-intel#commit=714052f')
|
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
|
|
|
|
./configure --prefix=/usr --libexecdir=/usr/lib
|
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
|
|
|
|