[arch-commits] Commit in xf86-video-intel/repos/extra-x86_64 (4 files)
Andreas Radke
andyrtr at archlinux.org
Tue Nov 17 19:35:32 UTC 2020
Date: Tuesday, November 17, 2020 @ 19:35:32
Author: andyrtr
Revision: 401322
archrelease: copy trunk to extra-x86_64
Added:
xf86-video-intel/repos/extra-x86_64/PKGBUILD
(from rev 401321, xf86-video-intel/trunk/PKGBUILD)
xf86-video-intel/repos/extra-x86_64/xf86-video-intel.install
(from rev 401321, xf86-video-intel/trunk/xf86-video-intel.install)
Deleted:
xf86-video-intel/repos/extra-x86_64/PKGBUILD
xf86-video-intel/repos/extra-x86_64/xf86-video-intel.install
--------------------------+
PKGBUILD | 166 ++++++++++++++++++++++-----------------------
xf86-video-intel.install | 42 +++++------
2 files changed, 104 insertions(+), 104 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-17 19:35:23 UTC (rev 401321)
+++ PKGBUILD 2020-11-17 19:35:32 UTC (rev 401322)
@@ -1,83 +0,0 @@
-# Maintainer: AndyRTR <andyrtr at archlinux.org>
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgname=xf86-video-intel
-# https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/log/
-# https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel/commits/master
-_commit=67f15b36faf8c4aa902d953067df0faf43387208 # master 2020-08-20
-pkgver=2.99.917+910+g67f15b36
-pkgrel=1
-epoch=1
-arch=(x86_64)
-url="https://01.org/linuxgraphics"
-license=('custom')
-install=$pkgname.install
-pkgdesc="X.org Intel i810/i830/i915/945G/G965+ video drivers"
-depends=('mesa' 'libxvmc' 'pixman' 'xcb-util>=0.3.9' 'systemd-libs')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=24.0' 'libx11' 'libxrender' 'libxv'
- # additional deps for intel-virtual-output
- 'libxrandr' 'libxinerama' 'libxcursor' 'libxtst' 'libxss'
- # additional for git snapshot
- 'git') # 'meson' 'valgrind')
-optdepends=('libxrandr: for intel-virtual-output'
- 'libxinerama: for intel-virtual-output'
- 'libxcursor: for intel-virtual-output'
- 'libxtst: for intel-virtual-output'
- 'libxss: 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.20' 'X-ABI-VIDEODRV_VERSION<24' 'X-ABI-VIDEODRV_VERSION>=25'
- 'xf86-video-intel-sna' 'xf86-video-intel-uxa' 'xf86-video-i810' 'xf86-video-intel-legacy')
-groups=('xorg-drivers')
-source=("git+https://anongit.freedesktop.org/git/xorg/driver/xf86-video-intel#commit=$_commit")
-sha256sums=('SKIP')
-#options=('!makeflags')
-
-pkgver() {
- cd $pkgname
- git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
- cd $pkgname
- NOCONFIGURE=1 ./autogen.sh
-
-# mkdir build
-}
-
-build() {
- cd $pkgname
-
- # Since pacman 5.0.2-2, hardened flags are now enabled in makepkg.conf
- # With them, module fail to load with undefined symbol.
- # See https://bugs.archlinux.org/task/55102 / https://bugs.archlinux.org/task/54845
- export CFLAGS=${CFLAGS/-fno-plt}
- export CXXFLAGS=${CXXFLAGS/-fno-plt}
- export LDFLAGS=${LDFLAGS/,-z,now}
-
- ./configure --prefix=/usr \
- --libexecdir=/usr/lib \
- --with-default-dri=3
- make
-# cd build
-# arch-meson $pkgname build \
-# -Dwith-default-dri=3
-# ninja -C build
-}
-
-check() {
- cd $pkgname
- make check
-# meson test -C build
-}
-
-package() {
- cd $pkgname
-
- make DESTDIR="${pkgdir}" install
-
-# DESTDIR="$pkgdir" ninja -C build install
-
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
Copied: xf86-video-intel/repos/extra-x86_64/PKGBUILD (from rev 401321, xf86-video-intel/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-17 19:35:32 UTC (rev 401322)
@@ -0,0 +1,83 @@
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=xf86-video-intel
+# https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/log/
+# https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel/commits/master
+_commit=ad5540f6ecaec287c70259f0181e613561b716f6 # master 2020-11-16
+pkgver=2.99.917+912+gad5540f6
+pkgrel=1
+epoch=1
+arch=(x86_64)
+url="https://01.org/linuxgraphics"
+license=('custom')
+install=$pkgname.install
+pkgdesc="X.org Intel i810/i830/i915/945G/G965+ video drivers"
+depends=('mesa' 'libxvmc' 'pixman' 'xcb-util>=0.3.9' 'systemd-libs')
+makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=24.0' 'libx11' 'libxrender' 'libxv'
+ # additional deps for intel-virtual-output
+ 'libxrandr' 'libxinerama' 'libxcursor' 'libxtst' 'libxss'
+ # additional for git snapshot
+ 'git') # 'meson' 'valgrind')
+optdepends=('libxrandr: for intel-virtual-output'
+ 'libxinerama: for intel-virtual-output'
+ 'libxcursor: for intel-virtual-output'
+ 'libxtst: for intel-virtual-output'
+ 'libxss: 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.20' 'X-ABI-VIDEODRV_VERSION<24' 'X-ABI-VIDEODRV_VERSION>=25'
+ 'xf86-video-intel-sna' 'xf86-video-intel-uxa' 'xf86-video-i810' 'xf86-video-intel-legacy')
+groups=('xorg-drivers')
+source=("git+https://anongit.freedesktop.org/git/xorg/driver/xf86-video-intel#commit=$_commit")
+sha256sums=('SKIP')
+#options=('!makeflags')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
+
+# mkdir build
+}
+
+build() {
+ cd $pkgname
+
+ # Since pacman 5.0.2-2, hardened flags are now enabled in makepkg.conf
+ # With them, module fail to load with undefined symbol.
+ # See https://bugs.archlinux.org/task/55102 / https://bugs.archlinux.org/task/54845
+ export CFLAGS=${CFLAGS/-fno-plt}
+ export CXXFLAGS=${CXXFLAGS/-fno-plt}
+ export LDFLAGS=${LDFLAGS/,-z,now}
+
+ ./configure --prefix=/usr \
+ --libexecdir=/usr/lib \
+ --with-default-dri=3
+ make
+# cd build
+# arch-meson $pkgname build \
+# -Dwith-default-dri=3
+# ninja -C build
+}
+
+check() {
+ cd $pkgname
+ make check
+# meson test -C build
+}
+
+package() {
+ cd $pkgname
+
+ make DESTDIR="${pkgdir}" install
+
+# DESTDIR="$pkgdir" ninja -C build install
+
+ install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+}
Deleted: xf86-video-intel.install
===================================================================
--- xf86-video-intel.install 2020-11-17 19:35:23 UTC (rev 401321)
+++ xf86-video-intel.install 2020-11-17 19:35:32 UTC (rev 401322)
@@ -1,21 +0,0 @@
-post_install() {
- cat <<MSG
->>> 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 "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
-}
Copied: xf86-video-intel/repos/extra-x86_64/xf86-video-intel.install (from rev 401321, xf86-video-intel/trunk/xf86-video-intel.install)
===================================================================
--- xf86-video-intel.install (rev 0)
+++ xf86-video-intel.install 2020-11-17 19:35:32 UTC (rev 401322)
@@ -0,0 +1,21 @@
+post_install() {
+ cat <<MSG
+>>> 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 "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
+}
More information about the arch-commits
mailing list