void-packages/srcpkgs/xorg-server/template

73 lines
2.5 KiB
Text

# Template build file for 'xorg-server'.
pkgname=xorg-server
version=1.12.1
revision=1
distfiles="${XORG_SITE}/xserver/$pkgname-$version.tar.bz2"
build_style=gnu-configure
configure_args="--enable-ipv6 --enable-xcsecurity --enable-record
--enable-xnest --enable-xephyr --enable-composite --enable-xvfb
--enable-glx-tls --disable-static --disable-config-hal
--disable-config-dbus --enable-config-udev --sysconfdir=/etc/X11
--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 --enable-dga
--enable-install-setuid"
short_desc="X11 server from X.org"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://xorg.freedesktop.org"
license="MIT/X11, BSD"
checksum=d21dc1dac767975cf9872984c78dd0bff928a74420fbcb415267c6bdbd41b45a
long_desc="
The X11 server from the modularized source tree of X.org."
conf_files="/etc/udev/rules.d/75-x11-input.rules"
subpackages="$pkgname-devel"
# Not a direct dependency, but it's required for DRI to work.
Add_dependency run MesaLib
Add_dependency build pkg-config
Add_dependency build perl ">=0"
Add_dependency build flex
Add_dependency build inputproto ">=2.2"
Add_dependency build glproto ">=1.4.15"
Add_dependency build xproto ">=7.0.22"
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 xcmiscproto
Add_dependency build bigreqsproto
Add_dependency build libudev-devel
Add_dependency build openssl-devel
Add_dependency build libX11-devel
Add_dependency build libXext-devel
Add_dependency build libdmx-devel
Add_dependency build libpciaccess-devel
Add_dependency build libXfont-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 libdrm-devel
Add_dependency build libXtst-devel
Add_dependency build libXres-devel
Add_dependency build libxkbui-devel
Add_dependency build libxkbfile-devel
Add_dependency build libXxf86dga-devel
Add_dependency build pixman-devel
Add_dependency build MesaLib-devel
Add_dependency full xkeyboard-config
post_install() {
vinstall ${FILESDIR}/x11-input.rules 644 \
etc/udev/rules.d 75-x11-input.rules
vinstall ${FILESDIR}/11-quirks.conf 644 etc/X11/xorg.conf.d
vinstall COPYING 644 usr/share/licenses/${pkgname}
}