1 #Maintainer: Jan de Groot <jgc@archlinux.org>
3 pkgname=xf86-video-fbdev
6 pkgdesc="X.org framebuffer video driver"
9 url="https://xorg.freedesktop.org/"
11 makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=25.2') # git)
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.bz2{,.sig}
16 sha256sums=('dcc3d85f378022180e437a9ec00a59b6cb7680ff79c40394d695060af2374699'
18 '050db537aae39b6deb1b2531b0064d62e2725f92b6c5c8ee6ade32e73cd3d5e8')
19 validpgpkeys=('995ED5C8A6138EB0961F18474C09DD83CAAA50B2')
23 patch -Np0 -i ../gcc8.diff
29 # Since pacman 5.0.2-2, hardened flags are now enabled in makepkg.conf
30 # With them, module fail to load with undefined symbol.
31 # See https://bugs.archlinux.org/task/55102 / https://bugs.archlinux.org/task/54845
32 export CFLAGS=${CFLAGS/-fno-plt}
33 export CXXFLAGS=${CXXFLAGS/-fno-plt}
34 export LDFLAGS=${LDFLAGS/,-z,now}
36 ./configure --prefix=/usr
47 make DESTDIR="${pkgdir}" install
48 install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
49 install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"