1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
3 pkgname=xf86-video-dummy
6 pkgdesc="X.org dummy video driver"
8 url="https://xorg.freedesktop.org/"
11 makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=25.2' 'xorgproto')
12 conflicts=('xorg-server<21.1.1' 'X-ABI-VIDEODRV_VERSION<25' 'X-ABI-VIDEODRV_VERSION>=26')
13 groups=('xorg-drivers')
14 source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.xz{,.sig})
15 sha512sums=('ff7fd8b668e5e9f40a5d27f82599b7a455a8162fc1a247195335c17980f00ce10ae6b2c062239cbaa67d8684c86174f85b398dd7f7065d36f69294bd6f2469de'
17 #validpgpkeys=('7B27A3F1A6E18CD9588B4AE8310180050905E40C') # Julien Cristau <julien.cristau@ens-lyon.org>
18 #validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') # "Matt Turner <mattst88@gmail.com>"
19 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alan.coopersmith@oracle.com>
22 cd ${pkgname}-${pkgver}
24 # Since pacman 5.0.2-2, hardened flags are now enabled in makepkg.conf
25 # With them, module fail to load with undefined symbol.
26 # See https://bugs.archlinux.org/task/55102 / https://bugs.archlinux.org/task/54845
27 export CFLAGS=${CFLAGS/-fno-plt}
28 export CXXFLAGS=${CXXFLAGS/-fno-plt}
29 export LDFLAGS=${LDFLAGS/,-z,now}
31 ./configure --prefix=/usr
36 cd ${pkgname}-${pkgver}
37 make DESTDIR="${pkgdir}" install
38 install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
39 install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"