aboutsummaryrefslogtreecommitdiff
path: root/xorg/xorg-server/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2022-02-17 02:43:15 +0100
committerCem Keylan <cem@ckyln.com>2022-02-17 02:43:15 +0100
commit48682815cebf8f5cdb7f20bb6000340b29139c42 (patch)
tree3a26f91d6054501c58ac563d7e3e2b21eaa4433f /xorg/xorg-server/build
parent054b2d0b10d71ca7c819a88962c6d1fc6eed6261 (diff)
downloadrepository-48682815cebf8f5cdb7f20bb6000340b29139c42.tar.gz
xorg-server: add libxcvt dep, switch to meson
Diffstat (limited to 'xorg/xorg-server/build')
-rwxr-xr-xxorg/xorg-server/build53
1 files changed, 19 insertions, 34 deletions
diff --git a/xorg/xorg-server/build b/xorg/xorg-server/build
index 73f77eea..2b7dfa07 100755
--- a/xorg/xorg-server/build
+++ b/xorg/xorg-server/build
@@ -2,41 +2,26 @@
export DESTDIR="$1"
-(
- cd xcvt
-
- # This is a really small library that is probably only needed by
- # xorg-server. We are going to build it statically.
- clsed 's,shared_library,static_library,;/version/d' lib/meson.build
-
- cl-meson \
- . output
-
- ninja -C output
- ninja -C output install
-)
-
patch -p1 < rootless_modesetting.patch
-export LIBXCVT_CFLAGS="-I$1/usr/include"
-export LIBXCVT_LIBS="-L$1/usr/lib -lxcvt"
-export PKG_CONFIG_PATH="$1/usr/lib/pkgconfig"
-
-./configure \
- --prefix=/usr \
- --localstatedir=/var \
- --disable-shared \
- --disable-systemd-logind \
- --disable-unit-tests \
- --enable-glx \
- --enable-dri \
- --enable-dri2 \
- --enable-dri3 \
- --enable-glamor \
- --enable-xorg \
- --with-systemd-daemon=off
-
-make
-make DESTDIR="$1" install
+cl-meson \
+ --auto-features=auto \
+ -Ddefault_font_path=/usr/share/fonts \
+ -Dsystemd_logind=false \
+ -Dxorg=true \
+ -Dglamor=true \
+ -Dglx=true \
+ -Ddri1=true \
+ -Ddri2=true \
+ -Ddri3=true \
+ -Dxdmcp=false \
+ -Dsecure-rpc=false \
+ -Dvendor_name="Carbs Linux" \
+ -Dvendor_name_short="carbs" \
+ -Dvendor_web="https://carbslinux.org" \
+ . output
+
+ninja -C output
+ninja -C output install
rm -f "$1/usr/share/X11/xorg.conf.d/10-evdev.conf"