[arch-commits] Commit in xf86-video-intel/repos (6 files)
Andreas Radke
andyrtr at archlinux.org
Wed Nov 11 09:23:48 UTC 2015
Date: Wednesday, November 11, 2015 @ 10:23:47
Author: andyrtr
Revision: 250698
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
xf86-video-intel/repos/staging-i686/
xf86-video-intel/repos/staging-i686/PKGBUILD
(from rev 250697, xf86-video-intel/trunk/PKGBUILD)
xf86-video-intel/repos/staging-i686/xf86-video-intel.install
(from rev 250697, xf86-video-intel/trunk/xf86-video-intel.install)
xf86-video-intel/repos/staging-x86_64/
xf86-video-intel/repos/staging-x86_64/PKGBUILD
(from rev 250697, xf86-video-intel/trunk/PKGBUILD)
xf86-video-intel/repos/staging-x86_64/xf86-video-intel.install
(from rev 250697, xf86-video-intel/trunk/xf86-video-intel.install)
-----------------------------------------+
staging-i686/PKGBUILD | 61 ++++++++++++++++++++++++++++++
staging-i686/xf86-video-intel.install | 20 +++++++++
staging-x86_64/PKGBUILD | 61 ++++++++++++++++++++++++++++++
staging-x86_64/xf86-video-intel.install | 20 +++++++++
4 files changed, 162 insertions(+)
Copied: xf86-video-intel/repos/staging-i686/PKGBUILD (from rev 250697, xf86-video-intel/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-11-11 09:23:47 UTC (rev 250698)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=xf86-video-intel
+pkgver=2.99.917+478+gdf72bc5
+pkgrel=3
+epoch=1
+arch=(i686 x86_64)
+url="http://xorg.freedesktop.org/"
+license=('custom')
+install=$pkgname.install
+pkgdesc="X.org Intel i810/i830/i915/945G/G965+ video drivers"
+depends=('mesa-dri' 'libxvmc' 'pixman' 'xcb-util>=0.3.9')
+makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=20' 'libx11' 'libxrender'
+ # additional deps for intel-virtual-output
+ 'libxrandr' 'libxinerama' 'libxcursor' 'libxtst'
+ # additional for git snapshot
+ 'git')
+optdepends=('libxrandr: for intel-virtual-output'
+ 'libxinerama: for intel-virtual-output'
+ 'libxcursor: for intel-virtual-output'
+ 'libxtst: for intel-virtual-output')
+replaces=('xf86-video-intel-uxa' 'xf86-video-intel-sna')
+provides=('xf86-video-intel-uxa' 'xf86-video-intel-sna')
+conflicts=('xorg-server<1.16' 'X-ABI-VIDEODRV_VERSION<20' 'X-ABI-VIDEODRV_VERSION>=21'
+ '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)
+source=('git://anongit.freedesktop.org/xorg/driver/xf86-video-intel#commit=df72bc5')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --long | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd $pkgname
+ ./configure --prefix=/usr --libexecdir=/usr/lib
+ make
+}
+
+check() {
+ cd $pkgname
+ make check
+}
+
+package() {
+ cd $pkgname
+
+ make DESTDIR="${pkgdir}" install
+
+ install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+}
Copied: xf86-video-intel/repos/staging-i686/xf86-video-intel.install (from rev 250697, xf86-video-intel/trunk/xf86-video-intel.install)
===================================================================
--- staging-i686/xf86-video-intel.install (rev 0)
+++ staging-i686/xf86-video-intel.install 2015-11-11 09:23:47 UTC (rev 250698)
@@ -0,0 +1,20 @@
+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 :
+ Section "Device"
+ Identifier "Intel Graphics"
+ Driver "intel"
+ Option "AccelMethod" "uxa"
+ #Option "AccelMethod" "sna"
+ EndSection
+MSG
+}
+
Copied: xf86-video-intel/repos/staging-x86_64/PKGBUILD (from rev 250697, xf86-video-intel/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-11-11 09:23:47 UTC (rev 250698)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=xf86-video-intel
+pkgver=2.99.917+478+gdf72bc5
+pkgrel=3
+epoch=1
+arch=(i686 x86_64)
+url="http://xorg.freedesktop.org/"
+license=('custom')
+install=$pkgname.install
+pkgdesc="X.org Intel i810/i830/i915/945G/G965+ video drivers"
+depends=('mesa-dri' 'libxvmc' 'pixman' 'xcb-util>=0.3.9')
+makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=20' 'libx11' 'libxrender'
+ # additional deps for intel-virtual-output
+ 'libxrandr' 'libxinerama' 'libxcursor' 'libxtst'
+ # additional for git snapshot
+ 'git')
+optdepends=('libxrandr: for intel-virtual-output'
+ 'libxinerama: for intel-virtual-output'
+ 'libxcursor: for intel-virtual-output'
+ 'libxtst: for intel-virtual-output')
+replaces=('xf86-video-intel-uxa' 'xf86-video-intel-sna')
+provides=('xf86-video-intel-uxa' 'xf86-video-intel-sna')
+conflicts=('xorg-server<1.16' 'X-ABI-VIDEODRV_VERSION<20' 'X-ABI-VIDEODRV_VERSION>=21'
+ '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)
+source=('git://anongit.freedesktop.org/xorg/driver/xf86-video-intel#commit=df72bc5')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --long | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd $pkgname
+ ./configure --prefix=/usr --libexecdir=/usr/lib
+ make
+}
+
+check() {
+ cd $pkgname
+ make check
+}
+
+package() {
+ cd $pkgname
+
+ make DESTDIR="${pkgdir}" install
+
+ install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+}
Copied: xf86-video-intel/repos/staging-x86_64/xf86-video-intel.install (from rev 250697, xf86-video-intel/trunk/xf86-video-intel.install)
===================================================================
--- staging-x86_64/xf86-video-intel.install (rev 0)
+++ staging-x86_64/xf86-video-intel.install 2015-11-11 09:23:47 UTC (rev 250698)
@@ -0,0 +1,20 @@
+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 :
+ Section "Device"
+ Identifier "Intel Graphics"
+ Driver "intel"
+ Option "AccelMethod" "uxa"
+ #Option "AccelMethod" "sna"
+ EndSection
+MSG
+}
+
More information about the arch-commits
mailing list