2019-06-26 23:47:59 -06:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2019-10-08 15:06:58 -06:00
|
|
|
patch -p1 < rootless_modesetting.patch
|
2020-08-30 01:23:54 -06:00
|
|
|
patch -p1 < fix-crash.patch
|
2019-10-08 15:06:58 -06:00
|
|
|
|
2019-06-26 23:47:59 -06:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2019-10-08 15:06:58 -06:00
|
|
|
--localstatedir=/var \
|
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-09-10 08:12:18 -06:00
|
|
|
--enable-glamor \
|
2019-08-18 03:06:38 -06:00
|
|
|
--enable-xorg \
|
|
|
|
--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"
|