summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-11-16 15:01:43 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-11-16 15:01:43 (GMT)
commitb74188cc7faea8353d277f072bd3396185859849 (patch)
treed5e195841cea40700179924605da51b75f37456a /abs
parent37f15d10be0e5bf7be918f12c98eedeae1c7f076 (diff)
downloadlinhes_pkgbuild-b74188cc7faea8353d277f072bd3396185859849.zip
linhes_pkgbuild-b74188cc7faea8353d277f072bd3396185859849.tar.gz
linhes_pkgbuild-b74188cc7faea8353d277f072bd3396185859849.tar.bz2
xf86-video-intel: update to 2.99.917+730
Diffstat (limited to 'abs')
-rw-r--r--abs/core/xf86-video-intel/PKGBUILD8
-rw-r--r--abs/core/xf86-video-intel/xf86-video-intel.install23
2 files changed, 17 insertions, 14 deletions
diff --git a/abs/core/xf86-video-intel/PKGBUILD b/abs/core/xf86-video-intel/PKGBUILD
index fd7d99f..51dd19a 100644
--- a/abs/core/xf86-video-intel/PKGBUILD
+++ b/abs/core/xf86-video-intel/PKGBUILD
@@ -3,8 +3,8 @@
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=xf86-video-intel
-_commit=a508b11 # 7 digits
-pkgver=2.99.917+654+g${_commit}
+_commit=dad64e9 # 7 digits
+pkgver=2.99.917+730+gdad64e9
pkgrel=1
epoch=1
arch=(i686 x86_64)
@@ -44,7 +44,9 @@ prepare() {
build() {
cd $pkgname
- ./configure --prefix=/usr --libexecdir=/usr/lib
+ ./configure --prefix=/usr \
+ --libexecdir=/usr/lib \
+ --with-default-dri=3
make
}
diff --git a/abs/core/xf86-video-intel/xf86-video-intel.install b/abs/core/xf86-video-intel/xf86-video-intel.install
index 213f7d4..1d31abe 100644
--- a/abs/core/xf86-video-intel/xf86-video-intel.install
+++ b/abs/core/xf86-video-intel/xf86-video-intel.install
@@ -1,20 +1,21 @@
-post_upgrade() {
- if (( $(vercmp $2 2.21.15) < 0 )); then
- post_install
- fi
-}
-
post_install() {
cat <<MSG
->>> This driver uses SNA as the default acceleration method. You can try
- falling 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 now uses DRI3 as the default Direct Rendering
+ Infrastructure. You can try falling back to DRI2 if you run
+ into trouble. 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 "DRI" "2" # DRI3 is now default
+ #Option "AccelMethod" "sna" # default
+ #Option "AccelMethod" "uxa" # fallback
EndSection
MSG
}
+post_upgrade() {
+ if (( $(vercmp $2 1:2.99.917+684+g6988b87-3) < 0 )); then
+ post_install
+ fi
+}