void-packages/srcpkgs/xorg-server/template
2011-04-16 16:07:46 +02:00

82 lines
2.7 KiB
Text

# Template build file for 'xorg-server'.
pkgname=xorg-server
version=1.10.1
distfiles="${XORG_SITE}/xserver/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--enable-ipv6
--enable-glx-tls --localstatedir=/var --disable-static
--disable-config-dbus --enable-config-udev --sysconfdir=/etc/X11
--disable-config-hal --enable-secure-rpc
--with-xkb-path=/usr/share/X11/xkb --with-xkb-output=/var/lib/xkb
--with-fontrootdir=/usr/share/fonts/X11 --with-sha1=libcrypto
--disable-dmx --disable-xfree86-utils"
short_desc="Modular X11 server from modular X.org"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=143c7c3d7d4428352e1153dffa34fd64af391f72d30b2a03e911e54e36f00b5d
long_desc="
The X.org X11 Server from the modularized source tree of X.org."
conf_files="/etc/udev/rules.d/75-x11-input.rules"
subpackages="$pkgname-devel"
Add_dependency run glibc
Add_dependency run libudev
Add_dependency run libssl
Add_dependency run libXext
Add_dependency run libX11
Add_dependency run libpciaccess
Add_dependency run libXfont ">=1.4.2"
Add_dependency run libXau
Add_dependency run pixman
Add_dependency run libXdmcp
Add_dependency run libdrm
# Not a direct dependency, but it's required for DRI.
Add_dependency run MesaLib
Add_dependency build pkg-config
Add_dependency build perl ">=0"
Add_dependency build flex
Add_dependency build xproto ">=7.0.18"
Add_dependency build dri2proto ">=2.1"
Add_dependency build xf86driproto
Add_dependency build randrproto
Add_dependency build videoproto
Add_dependency build compositeproto
Add_dependency build scrnsaverproto
Add_dependency build resourceproto
Add_dependency build xineramaproto
Add_dependency build libudev-devel
Add_dependency build openssl-devel
Add_dependency build libdmx-devel
Add_dependency build libXext-devel
Add_dependency build libX11-devel
Add_dependency build libpciaccess-devel
Add_dependency build libXfont-devel
Add_dependency build libXau-devel
Add_dependency build pixman-devel
Add_dependency build libXdmcp-devel
Add_dependency build libXmu-devel
Add_dependency build libXrender-devel
Add_dependency build libXfixes-devel
Add_dependency build libXi-devel
Add_dependency build libXaw-devel
Add_dependency build libXt-devel
Add_dependency build libSM-devel
Add_dependency build libICE-devel
Add_dependency build libXpm-devel
Add_dependency build libdrm-devel
Add_dependency build libXtst-devel
Add_dependency build libXres-devel
Add_dependency build MesaLib-devel
Add_dependency full libxkbui
Add_dependency full libxkbfile
Add_dependency full xkeyboard-config
post_install()
{
install -m644 -D ${FILESDIR}/x11-input.rules \
${DESTDIR}/etc/udev/rules.d/75-x11-input.rules
install -d ${DESTDIR}/etc/X11/xorg.conf.d
install -m644 ${FILESDIR}/*.conf ${DESTDIR}/etc/X11/xorg.conf.d
rm -rf ${DESTDIR}/var/log
}