47 lines
1.0 KiB
Bash
47 lines
1.0 KiB
Bash
#!/usr/bin/env bash
|
|
name='xorg-server'
|
|
release='1'
|
|
version='21.1.6'
|
|
url='https://www.x.org/wiki/'
|
|
description='X.Org X servers'
|
|
email='bayramk@gmail.com'
|
|
maintainer='bk'
|
|
license=('GPLv3')
|
|
source=("https://www.x.org/releases/individual/xserver/xorg-server-$version.tar.xz")
|
|
depends=(libmd libbsd libepoxy libfontenc libxkbfile libXfont2 libxcvt mesa libX11 libdrm pixman)
|
|
makedepends=()
|
|
md5sums=('b3d9a66554b2fd72960ea0545a87ea80')
|
|
group=(x11.base)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd $name-$version
|
|
|
|
setup(){
|
|
meson setup build--prefix=/usr \
|
|
--libdir=/usr/lib64/ \
|
|
-D ipv6=true \
|
|
-D xvfb=true \
|
|
-D xnest=true \
|
|
-D xcsecurity=true \
|
|
-D xorg=true \
|
|
-D xephyr=true \
|
|
-D glamor=true \
|
|
-D udev=true \
|
|
-D dtrace=false \
|
|
-D systemd_logind=false \
|
|
-D suid_wrapper=true \
|
|
-D xkb_dir=/usr/share/X11/xkb \
|
|
-D xkb_output_dir=/var/lib/xkb \
|
|
-D libunwind=true
|
|
}
|
|
|
|
build(){
|
|
ninja -C build
|
|
}
|
|
|
|
package(){
|
|
ninja install -C build
|
|
}
|
|
|