smlinux/xorg/xorg-server/xorg-server.SMBuild

41 lines
1.1 KiB
Text
Executable file

app=xorg-server
version=1.20.8
build=2sml
homepage="https://www.x.org/wiki/"
download="https://www.x.org/releases/individual/xserver/xorg-server-$version.tar.gz"
requires="eudev libgcrypt xtrans pixman libpciaccess libxv libxkbfile libxfont2 libxtst libxrender libxaw mesa "
desc="Display server implementing the Xorg protocol"
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
./configure \
--prefix="" \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--with-xkb-output="/var/lib/xkb" \
--with-sha1=libgcrypt \
--disable-docs \
--disable-devel-docs \
--enable-xwayland
make
make install DESTDIR=$pkg
# Sample xorg.conf file for the raspberry pi, may be removed later on
[ "$ARCH" = "aarch64" ] && install -Dm 644 $srcdir/xorg.conf $pkg/etc/X11/xorg.conf
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
f53472556ace5defec083c5227936bb9f428e22cf088e91210bdc9a57761af2513fbf96e9afe7e3a21a819af32e626bb30c03bbbc306f73c5002735d8ce1ab48 xorg-server-1.20.8.tar.lz
"