Date: Monday, December 30, 2013 @ 15:27:49 Author: andyrtr Revision: 202996
prepare next build; add experimental glamor support to have a choice for very new cpus; add check function Modified: xf86-video-intel/trunk/PKGBUILD xf86-video-intel/trunk/xf86-video-intel.install --------------------------+ PKGBUILD | 16 +++++++++------- xf86-video-intel.install | 11 +++++++---- 2 files changed, 16 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-12-30 13:17:45 UTC (rev 202995) +++ PKGBUILD 2013-12-30 14:27:49 UTC (rev 202996) @@ -3,7 +3,7 @@ # Maintainer: Jan de Groot <j...@archlinux.org> pkgname=xf86-video-intel -pkgver=2.99.906 +pkgver=2.99.907 pkgrel=1 arch=(i686 x86_64) url="http://xorg.freedesktop.org/" @@ -10,7 +10,7 @@ license=('custom') install=$pkgname.install pkgdesc="X.org Intel i810/i830/i915/945G/G965+ video drivers" -depends=('intel-dri' 'libxvmc' 'pixman' 'xcb-util>=0.3.9') +depends=('intel-dri' 'libxvmc' 'pixman' 'xcb-util>=0.3.9' 'glamor-egl') makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=15' 'libx11' 'libxrender') replaces=('xf86-video-intel-uxa' 'xf86-video-intel-sna') provides=('xf86-video-intel-uxa' 'xf86-video-intel-sna') @@ -18,18 +18,20 @@ 'xf86-video-intel-sna' 'xf86-video-intel-uxa' 'xf86-video-i810' 'xf86-video-intel-legacy') groups=('xorg-drivers' 'xorg') source=(${url}/archive/individual/driver/${pkgname}-${pkgver}.tar.bz2) -sha256sums=('2d9343ce0257f82612ab6cb4a18ebfdcb2bc76a226d8442b2f7f210cc4f63cd6') +sha256sums=('d0b02255f0ff4baa863f762bef49707ce0b4094a267a26e32e4270abe141117b') build() { cd ${pkgname}-${pkgver} - ./configure --prefix=/usr \ - --enable-dri \ - --with-default-accel=sna - + --enable-glamor make } +check() { + cd $pkgname-$pkgver + make check +} + package() { cd ${pkgname}-${pkgver} Modified: xf86-video-intel.install =================================================================== --- xf86-video-intel.install 2013-12-30 13:17:45 UTC (rev 202995) +++ xf86-video-intel.install 2013-12-30 14:27:49 UTC (rev 202996) @@ -6,13 +6,16 @@ post_install() { cat <<MSG ->>> This driver now uses SNA as the default acceleration method. You can - still fall back to UXA if you run into trouble. To do so, save a file - with the following content as /etc/X11/xorg.conf.d/20-intel.conf : +>>> This driver uses SNA as the default acceleration method. You can + fall back to UXA if you run into trouble or test experimental + Glamor acceleration. To do so, save a file with the following + content as /etc/X11/xorg.conf.d/20-intel.conf : Section "Device" Identifier "Intel Graphics" Driver "intel" - Option "AccelMethod" "uxa" + Option "AccelMethod" "sna" + #Option "AccelMethod" "uxa" + #Option "AccelMethod" "glamor" EndSection MSG }