repo/xorg/xorg-server/build
2019-09-10 17:12:18 +03:00

26 lines
501 B
Bash
Executable File

#!/bin/sh -e
./configure \
--prefix=/usr \
--disable-systemd-logind \
--disable-xwayland \
--disable-unit-tests \
--enable-glx \
--enable-dri \
--enable-dri2 \
--enable-dri3 \
--enable-glamor \
--enable-xorg \
--enable-config-udev \
--enable-config-udev-kms \
--with-sha1=libcrypto \
--with-systemd-daemon=off
make
make DESTDIR="$1" install
rm -f "$1/usr/share/X11/xorg.conf.d/10-evdev.conf"
# Set suid for xorg.
chmod u+s "$1/usr/bin/Xorg"