aboutsummaryrefslogtreecommitdiff
path: root/xorg/xorg-server/build
diff options
context:
space:
mode:
Diffstat (limited to 'xorg/xorg-server/build')
-rwxr-xr-xxorg/xorg-server/build25
1 files changed, 25 insertions, 0 deletions
diff --git a/xorg/xorg-server/build b/xorg/xorg-server/build
new file mode 100755
index 00000000..499f3435
--- /dev/null
+++ b/xorg/xorg-server/build
@@ -0,0 +1,25 @@
+#!/bin/sh -e
+
+patch -p1 < rootless_modesetting.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 \
+ --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"