2019-06-26 23:47:59 -06:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2019-06-28 00:28:15 -06:00
|
|
|
--disable-systemd-logind \
|
2019-08-18 03:06:38 -06:00
|
|
|
--disable-xwayland \
|
|
|
|
--disable-unit-tests \
|
2019-06-28 00:28:15 -06:00
|
|
|
--enable-glx \
|
|
|
|
--enable-dri \
|
|
|
|
--enable-dri2 \
|
|
|
|
--enable-dri3 \
|
2019-08-18 03:06:38 -06:00
|
|
|
--enable-xorg \
|
|
|
|
--enable-config-udev \
|
|
|
|
--enable-config-udev-kms \
|
|
|
|
--with-sha1=libcrypto \
|
|
|
|
--with-systemd-daemon=off
|
2019-06-26 23:47:59 -06:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR="$1" install
|
|
|
|
|
|
|
|
rm -f "$1/usr/share/X11/xorg.conf.d/10-evdev.conf"
|
2019-08-29 15:04:12 -06:00
|
|
|
|
|
|
|
# Set suid for xorg.
|
|
|
|
chmod u+s "$1/usr/bin/Xorg"
|