extra/xorg-server to 1.20.13-3

This commit is contained in:
Kevin Mihelich 2021-10-31 17:47:16 +00:00
parent 5d02436c02
commit 609e0111a4

View file

@ -8,7 +8,7 @@ pkgbase=xorg-server
pkgname=('xorg-server' 'xorg-server-xephyr' 'xorg-server-xvfb' 'xorg-server-xnest'
'xorg-server-common' 'xorg-server-devel')
pkgver=1.20.13
pkgrel=2
pkgrel=3
arch=('x86_64')
license=('custom')
groups=('xorg')
@ -18,8 +18,7 @@ makedepends=('xorgproto' 'pixman' 'libx11' 'mesa' 'mesa-libgl' 'xtrans'
'libxmu' 'libxrender' 'libxi' 'libxaw' 'libxtst' 'libxres'
'xorg-xkbcomp' 'xorg-util-macros' 'xorg-font-util' 'libepoxy'
'xcb-util' 'xcb-util-image' 'xcb-util-renderutil' 'xcb-util-wm' 'xcb-util-keysyms'
'libxshmfence' 'libunwind' 'systemd' 'meson' 'git'
'wayland-protocols' 'egl-wayland')
'libxshmfence' 'libunwind' 'systemd' 'meson' 'git')
source=(https://xorg.freedesktop.org/releases/individual/xserver/${pkgbase}-${pkgver}.tar.xz{,.sig}
xserver-autobind-hotplug.patch
0001-v2-FS-58644.patch
@ -73,8 +72,6 @@ build() {
-D xcsecurity=true \
-D xorg=true \
-D xephyr=true \
-D xwayland=true \
-D xwayland_eglstream=true \
-D glamor=true \
-D udev=true \
-D systemd_logind=true \
@ -118,7 +115,7 @@ package_xorg-server() {
pkgdesc="Xorg X server"
depends=(libepoxy libxfont2 pixman xorg-server-common libunwind
dbus libgl xf86-input-libinput nettle
libpciaccess libdrm libxshmfence) # FS#52949
libpciaccess libdrm libxshmfence libxcvt) # FS#52949
# see xorg-server-*/hw/xfree86/common/xf86Module.h for ABI versions - we provide major numbers that drivers can depend on
# and /usr/lib/pkgconfig/xorg-server.pc in xorg-server-devel pkg
@ -127,12 +124,12 @@ package_xorg-server() {
replaces=('glamor-egl' 'xf86-video-modesetting')
install=xorg-server.install
_install fakeinstall/usr/bin/{Xorg,cvt,gtf}
_install fakeinstall/usr/bin/{Xorg,gtf}
ln -s /usr/bin/Xorg "${pkgdir}/usr/bin/X"
_install fakeinstall/usr/lib/Xorg{,.wrap}
_install fakeinstall/usr/lib/xorg/modules/*
_install fakeinstall/usr/share/X11/xorg.conf.d/10-quirks.conf
_install fakeinstall/usr/share/man/man1/{Xorg,Xorg.wrap,cvt,gtf}.1
_install fakeinstall/usr/share/man/man1/{Xorg,Xorg.wrap,gtf}.1
_install fakeinstall/usr/share/man/man4/{exa,fbdevhw,modesetting}.4
_install fakeinstall/usr/share/man/man5/{Xwrapper.config,xorg.conf,xorg.conf.d}.5
@ -196,6 +193,6 @@ package_xorg-server-devel() {
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" "${pkgbase}-${pkgver}"/COPYING
# make sure there are no files left to install
rm fakeinstall/usr/bin/Xwayland
rm -rf fakeinstall/usr/bin/cvt fakeinstall/usr/share/man/man1/cvt.1
find fakeinstall -depth -print0 | xargs -0 rmdir
}