2006-04-07 18:48:00 +02:00
|
|
|
# Description: X Window System server
|
|
|
|
# URL: http://xorg.freedesktop.org
|
2012-07-16 01:33:03 +02:00
|
|
|
# Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu
|
2023-05-27 11:08:10 +02:00
|
|
|
# Depends on: libepoxy nettle xorg-bdftopcf xorg-font-util xorg-libxaw xorg-libxcomposite xorg-libxcursor xorg-libxcvt xorg-libxfont2 xorg-libxft xorg-libxinerama xorg-libxres xorg-libxtst xorg-mkfontscale xorg-xcb-util-keysyms xorg-xkbcomp
|
2006-04-07 18:48:00 +02:00
|
|
|
|
|
|
|
name=xorg-server
|
2024-01-16 13:16:20 +01:00
|
|
|
version=21.1.11
|
2021-11-07 13:46:38 +01:00
|
|
|
release=1
|
2022-12-20 12:04:28 +01:00
|
|
|
source=(https://www.x.org/releases/individual/xserver/$name-$version.tar.xz)
|
2006-04-07 18:48:00 +02:00
|
|
|
|
|
|
|
build() {
|
2022-12-20 12:04:28 +01:00
|
|
|
meson setup $name-$version build \
|
2021-04-13 19:30:56 +02:00
|
|
|
--prefix=/usr \
|
2021-09-19 20:19:30 +02:00
|
|
|
--libexecdir=/usr/lib/$name \
|
2021-04-13 19:30:56 +02:00
|
|
|
--localstatedir=/var \
|
2021-09-19 20:19:30 +02:00
|
|
|
--buildtype=plain \
|
|
|
|
--wrap-mode nodownload \
|
|
|
|
-D b_lto=true \
|
|
|
|
-D b_pie=true \
|
|
|
|
-D xkb_dir=/usr/share/X11/xkb \
|
|
|
|
-D xkb_output_dir=/var/lib/xkb \
|
|
|
|
-D suid_wrapper=true \
|
|
|
|
-D xorg=true
|
2022-12-14 12:21:42 +01:00
|
|
|
meson compile -C build -j ${JOBS:-1}
|
2021-09-19 20:19:30 +02:00
|
|
|
DESTDIR=$PKG meson install -C build
|
2010-05-13 12:53:50 +02:00
|
|
|
|
2021-04-13 19:30:56 +02:00
|
|
|
install -m 755 -d $PKG/etc/X11/xorg.conf.d
|
2021-09-20 17:33:48 +02:00
|
|
|
echo "needs_root_rights = yes" >> $PKG/etc/X11/Xwrapper.config
|
2006-04-07 18:48:00 +02:00
|
|
|
}
|