aboutsummaryrefslogtreecommitdiff
path: root/xorg/xorg-server/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-10-28 18:47:25 +0200
committerCem Keylan <cem@ckyln.com>2021-10-28 18:47:25 +0200
commitedaa0ee16d2b28e0b4f8553632a849a6702e5832 (patch)
tree511d7d912ae36a4e517768d2ebf7887fae0288f4 /xorg/xorg-server/build
parent624643a2be2f4455bde827ab94b4afb4b5dcb381 (diff)
downloadrepository-edaa0ee16d2b28e0b4f8553632a849a6702e5832.tar.gz
xorg-server: bump to 21.1.0
Diffstat (limited to 'xorg/xorg-server/build')
-rwxr-xr-xxorg/xorg-server/build23
1 files changed, 23 insertions, 0 deletions
diff --git a/xorg/xorg-server/build b/xorg/xorg-server/build
index a518c9e2..bfee9e39 100755
--- a/xorg/xorg-server/build
+++ b/xorg/xorg-server/build
@@ -1,7 +1,27 @@
#!/bin/sh -e
+export DESTDIR=$PWD/tmp
+
+(
+ cd xcvt
+
+ # Make it a static library
+ clsed 's,shared_library,static_library,' lib/meson.build
+
+ cl-meson \
+ . output
+
+ ninja -C output
+ ninja -C output install
+)
+
patch -p1 < rootless_modesetting.patch
+export LIBXCVT_CFLAGS="-I$DESTDIR/usr/include"
+export LIBXCVT_LIBS="-L$DESTDIR/usr/lib -lxcvt"
+export PKG_CONFIG_PATH="$DESTDIR/usr/lib/pkgconfig"
+export DESTDIR=$1
+
./configure \
--prefix=/usr \
--localstatedir=/var \
@@ -20,3 +40,6 @@ make
make DESTDIR="$1" install
rm -f "$1/usr/share/X11/xorg.conf.d/10-evdev.conf"
+
+clman tmp/usr/share/man/man1/cvt.1
+clinst -Dm755