first commit

This commit is contained in:
ngn
2024-08-11 02:17:03 +03:00
commit ee34792885
1404 changed files with 13564 additions and 0 deletions

3
src/xorg-server/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

View File

@ -0,0 +1,2 @@
# 21.1.8
First version

30
src/xorg-server/pkg.sh Normal file
View File

@ -0,0 +1,30 @@
NAME="xorg-server"
DESC="Core of the X Window system"
VERSION="21.1.8"
FILES=("https://www.x.org/pub/individual/xserver/xorg-server-$VERSION.tar.xz")
HASHES=("79a6eb04b1b17ad6c7aab46da73944e8")
DEPENDS=(
"libxcvt" "pixman" "fonts"
"xkeyboard-config" "systemd" "libinput"
"libepoxy"
)
PACKAGE() {
tar xf $NAME-$VERSION.tar.xz
cd $NAME-$VERSION
sed -i '/ModeLine "1024x768" 44.9 1024 1032 1208 1264 768 768 776 817 +hsync +vsync Interlace/c\ModeLine "1024x768" 44.9 1024 1032 1208 1264 768 768 776 817 +hsync +vsync' hw/xfree86/common/vesamodes
mkdir build
cd build
meson setup .. \
--prefix=$XORG_PREFIX \
--localstatedir=/var \
-Dglamor=true \
-Dxkb_output_dir=/var/lib/xkb
ninja && DESTDIR=${ROOTDIR} ninja install
mkdir -pv "${ROOTDIR}/etc/X11/xorg.conf.d"
cd ../.. && rm -rf $NAME-$VERSION
}