repo/xorg/xorg-server/build
2020-08-30 10:23:54 +03:00

25 lines
488 B
Bash
Executable File

#!/bin/sh -e
patch -p1 < rootless_modesetting.patch
patch -p1 < fix-crash.patch
./configure \
--prefix=/usr \
--localstatedir=/var \
--disable-systemd-logind \
--disable-xwayland \
--disable-unit-tests \
--enable-glx \
--enable-dri \
--enable-dri2 \
--enable-dri3 \
--enable-glamor \
--enable-xorg \
--with-sha1=libcrypto \
--with-systemd-daemon=off
make
make DESTDIR="$1" install
rm -f "$1/usr/share/X11/xorg.conf.d/10-evdev.conf"