void-packages/srcpkgs/xorg-server/template

89 lines
2.6 KiB
Plaintext
Raw Normal View History

# Template build file for 'xorg-server'.
pkgname=xorg-server
version=1.7.4
revision=1
distfiles="${XORG_SITE}/xserver/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--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=b8ec11b3f2c6f84c21e8cd9804672ba6e27fda3e913d58dd947205ea253e33f8
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="$pkgname-devel"
Add_dependency run glibc
Add_dependency run libdmx
Add_dependency run libXext
Add_dependency run libX11
Add_dependency run libpciaccess
Add_dependency run libXfont
Add_dependency run libXau
Add_dependency run pixman
Add_dependency run dbus-libs
Add_dependency run libXdmcp
Add_dependency run openssl
Add_dependency run libXmu
Add_dependency run libXrender
Add_dependency run libXfixes
Add_dependency run libXi
Add_dependency run libXaw
Add_dependency run libXt
Add_dependency run libSM
Add_dependency run libICE
Add_dependency run libXpm
Add_dependency run libdrm
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 perl
Add_dependency build pkg-config
Add_dependency build flex
Add_dependency build libdmx-devel
Add_dependency build libXext-devel
Add_dependency build libX11-devel
Add_dependency build glibc-devel
Add_dependency build libpciaccess-devel
Add_dependency build libXfont-devel
Add_dependency build libXau-devel
Add_dependency build pixman-devel
Add_dependency build dbus-devel
Add_dependency build libXdmcp-devel
Add_dependency build openssl-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 full hal
Add_dependency full libxkbui
Add_dependency full libxkbfile
Add_dependency full xkeyboard-config
pre_configure()
{
# Fix dbus config path
sed -i -e 's/\$(sysconfdir)/\/etc/' $wrksrc/config/Makefile.*
}
post_install()
{
rm -rf ${DESTDIR}/var/log
}