2021-07-01 21:19:30 +03:00
|
|
|
#!/bin/sh
|
|
|
|
pkg_ver="todo"
|
|
|
|
|
|
|
|
pkg_install(){
|
|
|
|
git clone https://cgit.freedesktop.org/xorg/xserver/
|
|
|
|
cd xserver
|
|
|
|
./configure \
|
2021-06-30 00:59:16 +03:00
|
|
|
--prefix=/usr \
|
2021-06-29 01:57:26 +03:00
|
|
|
--localstatedir=/var \
|
|
|
|
--disable-systemd-logind \
|
|
|
|
--disable-xwayland \
|
|
|
|
--disable-unit-tests \
|
|
|
|
--enable-glx \
|
|
|
|
--enable-dri \
|
|
|
|
--enable-dri2 \
|
|
|
|
--enable-dri3 \
|
|
|
|
--enable-glamor \
|
|
|
|
--enable-xorg \
|
|
|
|
--with-sha1=libcrypto \
|
|
|
|
--with-systemd-daemon=off
|
2021-07-01 21:19:30 +03:00
|
|
|
make
|
|
|
|
make install DESTDIR="${PREFIX}"
|
|
|
|
}
|
|
|
|
pkg_uninstall(){
|
|
|
|
make uninstall
|
|
|
|
}
|