summaryrefslogtreecommitdiff
path: root/repo/x11/xorg-server
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
committerdavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
commit739c65c54cb0e957df5e9b76f93fb02554e5cac3 (patch)
tree09ddfa0a342f3ea9de136cb50abdd79821bf1b53 /repo/x11/xorg-server
parent4c585ad54388285500fd18a6aaa516894e0f2c16 (diff)
moved everything to new file formatting
Diffstat (limited to 'repo/x11/xorg-server')
-rw-r--r--repo/x11/xorg-server/xorg-server.xibuild54
1 files changed, 54 insertions, 0 deletions
diff --git a/repo/x11/xorg-server/xorg-server.xibuild b/repo/x11/xorg-server/xorg-server.xibuild
new file mode 100644
index 0000000..11553aa
--- /dev/null
+++ b/repo/x11/xorg-server/xorg-server.xibuild
@@ -0,0 +1,54 @@
+#!/bin/sh
+
+MAKEDEPS="meson ninja doxygen xmlto fop"
+DEPS="libxcvt pixman font-util xkeyboardconfig elogind libepoxy libtirpc polkit acpid nettle libgcrypt xcb-util-keysyms xcb-util-image xcb-util-renderutil xcb-util-wm xkbcomp"
+
+PKG_VER=21.1.3
+SOURCE=https://www.x.org/pub/individual/xserver/xorg-server-$PKG_VER.tar.xz
+
+build () {
+ mkdir build &&
+ cd build &&
+
+ meson --prefix=$XORG_PREFIX \
+ -Dxorg=true \
+ -Dxephyr=true \
+ -Dglamor=true \
+ -Dxnest=true \
+ -Dxvfb=true \
+ -Dxwin=false \
+ -Dglx=true \
+ -Dxdmcp=true \
+ -Dxdm-auth-1=true \
+ -Dxcsecurity=true \
+ -Dsecure-rpc=false \
+ -Dipv6=true \
+ -Dxkb_dir=/usr/share/X11/xkb \
+ -Dxkb_output_dir=/var/lib/xkb \
+ -Dlisten_tcp=false \
+ -Dlisten_unix=true \
+ -Dlisten_local=true \
+ -Dsuid_wrapper=true \
+ -Dpciaccess=true \
+ -Dudev=true \
+ -Dhal=false \
+ -Dsystemd_logind=false \
+ -Ddpms=true \
+ -Ddri1=true \
+ -Ddri2=true \
+ -Ddri3=true \
+ ..
+ ninja
+}
+
+package () {
+ DESTDIR=$PKG_DEST ninja install
+
+ mkdir -p $PKG_DEST/etc/X11/xorg.conf.d &&
+ mkdir -p $PKG_DEST/etc/sysconfig &&
+cat >> $PKG_DEST/etc/sysconfig/createfiles << "EOF"
+/tmp/.ICE-unix dir 1777 root root
+/tmp/.X11-unix dir 1777 root root
+EOF
+
+}