void-packages/templates/xorg-server/template
Juan RP 2c53035fb7 Added support for extended pkgdep version matching.
xbps from launchpad head branch has gained support for extended
pkg version matching, as specified in:

https://blueprints.launchpad.net/xbps/+spec/improved-version-matching

Now it's required to specify the operator(s) for required versions
in the depends files and "Add_dependency" option in build templates.

xbps-src now requires xbps utils 20091107.

--HG--
extra : convert_revision : fc09fa707483a75e0b6f68445721fc1a9166cdad
2009-11-07 05:01:00 +01:00

71 lines
2.1 KiB
Text

# Template build file for 'xorg-server'.
pkgname=xorg-server
version=1.7.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=a58c0de29cbd2b7d1a1ac5ee70a94ad1ed2a085132803c0ca83f2dd8513b4c20
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 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
}