[arch-commits] Commit in xf86-video-dummy/repos (2 files)

Andreas Radke andyrtr at gemini.archlinux.org
Sun Nov 7 10:55:39 UTC 2021


    Date: Sunday, November 7, 2021 @ 10:55:39
  Author: andyrtr
Revision: 427451

archrelease: copy trunk to staging-x86_64

Added:
  xf86-video-dummy/repos/staging-x86_64/
  xf86-video-dummy/repos/staging-x86_64/PKGBUILD
    (from rev 427450, xf86-video-dummy/trunk/PKGBUILD)

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: xf86-video-dummy/repos/staging-x86_64/PKGBUILD (from rev 427450, xf86-video-dummy/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-11-07 10:55:39 UTC (rev 427451)
@@ -0,0 +1,38 @@
+#Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=xf86-video-dummy
+pkgver=0.3.8
+pkgrel=5
+pkgdesc="X.org dummy video driver"
+arch=(x86_64)
+url="https://xorg.freedesktop.org/"
+license=('custom')
+depends=('glibc')
+makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=25.2' 'xorgproto')
+conflicts=('xorg-server<21.1.1' 'X-ABI-VIDEODRV_VERSION<25' 'X-ABI-VIDEODRV_VERSION>=26')
+groups=('xorg-drivers')
+source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2{,.sig})
+sha256sums=('3712bb869307233491e4c570732d6073c0dc3d99adfdb9977396a3fdf84e95b9'
+            'SKIP')
+validpgpkeys=('7B27A3F1A6E18CD9588B4AE8310180050905E40C') # Julien Cristau <julien.cristau at ens-lyon.org>
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  # 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
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+}



More information about the arch-commits mailing list