summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/xf86-video-intel/PKGBUILD
blob: 3530b907004608a941344b90c50ad54a84cf411f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# $Id: PKGBUILD 19083 2008-11-14 21:09:00Z jgc $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=xf86-video-intel
pkgver=2.4.3
pkgrel=1
pkgdesc="X.org Intel i810/i830/i915/945G/G965+ video drivers"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
depends=('intel-dri>=7.2' 'libpciaccess>=0.10.5' 'libdrm>=2.3.1')
makedepends=('pkgconfig' 'xorg-server>=1.5.3' 'xf86driproto>=2.0.4' 'glproto>=1.4.9' 'mesa>=7.2' 'libdrm=2.3.1')
conflicts=('xorg-server<1.5.3' 'xf86-video-i810')
replaces=('xf86-video-i810')
options=('!libtool' 'force')
groups=('xorg-video-drivers')
source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
	20_thinkpad_g40_quirk.patch
	21_quirk_lenovo.patch
	23_quirks_studiohybrid_eeepc_and_w251u.patch
	25_quirk_nc6110.patch
	26_i830-use-lfp-data-ptrs.patch
	27_disable_fbc_on_965.patch)
md5sums=('a664819288b98a37f77ab6ae1e14c9d9'
         '68a362a168ffa4f37d9f722f43855468'
         '2d617364ac2e47ca366901d0b849b1a1'
         '3d0f8e593e8eac3000154feb6b0f45b8'
         '3deb800906e6845e8576d4e9d0f22b12'
         'cb7ee7a68858c038020e0cd991143d8e'
         'd215e428585c6e55aefd9f525ebfbe7b')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  patch -Np1 -i "${srcdir}/20_thinkpad_g40_quirk.patch" || return 1
  patch -Np1 -i "${srcdir}/21_quirk_lenovo.patch" || return 1
  patch -Np1 -i "${srcdir}/23_quirks_studiohybrid_eeepc_and_w251u.patch" || return 1
  patch -Np1 -i "${srcdir}/25_quirk_nc6110.patch" || return 1
  patch -Np1 -i "${srcdir}/26_i830-use-lfp-data-ptrs.patch" || return 1
  patch -Np1 -i "${srcdir}/27_disable_fbc_on_965.patch" || return 1
  ./configure --prefix=/usr \
              --enable-dri || return 1
  make || return 1
  make DESTDIR="${pkgdir}" install || return 1
}