void-packages/templates/xorg-server/template

74 lines
2.1 KiB
Plaintext

# Template build file for 'xorg-server'.
pkgname=xorg-server
version=1.6.4
revision=1
distfiles="${XORG_SITE}/xserver/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--enable-record --with-dri-driver-path=/usr/lib/dri
--enable-glx-tls --localstatedir=/var --disable-static
--enable-config-dbus --sysconfdir=/etc/X11 --enable-config-hal
--enable-install-setuid --with-xkb-path=/usr/share/X11/xkb
--with-xkb-output=/var/lib/xkb"
short_desc="Modular X11 server from modular X.org"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=9c736d4c0246a6f2214a2f2c1a6fa9e2bf860f7785bf469de575529851fc1145
long_desc="
The X.org X11 Server from the modularized source tree of X.org X11."
conf_files="/etc/dbus-1/system.d/xorg-server.conf"
subpackages="devel"
Add_dependency build dri2proto 2.1
Add_dependency full glibc
Add_dependency full openssl
Add_dependency full dbus
Add_dependency full hal
Add_dependency full libX11
Add_dependency full libdrm
Add_dependency full libXdmcp
Add_dependency full libXfont
Add_dependency full libfontenc
Add_dependency full libXext
Add_dependency full libXau
Add_dependency full libpciaccess
Add_dependency full libXmu
Add_dependency full libXrender
Add_dependency full libXfixes
Add_dependency full libXi
Add_dependency full libXaw
Add_dependency full libXt
Add_dependency full libXpm
Add_dependency full libXcomposite
Add_dependency full libXScrnSaver
Add_dependency full libXevie
Add_dependency full libXres
Add_dependency full libXtst
Add_dependency full libXxf86dga
Add_dependency full libdmx
Add_dependency full libxkbui
Add_dependency full libxkbfile
Add_dependency full libXxf86misc
Add_dependency full libXxf86vm
Add_dependency full libXv
Add_dependency full libXinerama
Add_dependency full libXrandr
Add_dependency full MesaLib
Add_dependency full pixman
Add_dependency full xkbcomp
Add_dependency full xkeyboard-config
Add_dependency build xf86driproto
Add_dependency build perl
Add_dependency build pkg-config
Add_dependency build flex
pre_configure()
{
# Fix dbus config path
sed -i -e 's/\$(sysconfdir)/\/etc/' $wrksrc/config/Makefile.*
}
post_install()
{
rm -rf ${DESTDIR}/var/log
}