2008-10-04 04:29:49 +00:00
|
|
|
# Template build file for 'xorg-server'.
|
|
|
|
pkgname=xorg-server
|
2010-01-08 09:57:01 +00:00
|
|
|
version=1.7.4
|
2009-03-25 04:56:03 +00:00
|
|
|
distfiles="${XORG_SITE}/xserver/$pkgname-$version.tar.bz2"
|
2008-10-02 06:29:13 +00:00
|
|
|
build_style=gnu_configure
|
2009-11-27 20:23:39 +00:00
|
|
|
configure_args="--with-dri-driver-path=/usr/lib/dri
|
2009-10-10 08:11:54 +00:00
|
|
|
--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"
|
2008-10-02 06:29:13 +00:00
|
|
|
short_desc="Modular X11 server from modular X.org"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2010-01-08 09:57:01 +00:00
|
|
|
checksum=b8ec11b3f2c6f84c21e8cd9804672ba6e27fda3e913d58dd947205ea253e33f8
|
2008-10-02 06:29:13 +00:00
|
|
|
long_desc="
|
|
|
|
The X.org X11 Server from the modularized source tree of X.org X11."
|
2009-03-25 04:56:03 +00:00
|
|
|
|
|
|
|
conf_files="/etc/dbus-1/system.d/xorg-server.conf"
|
2009-11-22 07:31:44 +00:00
|
|
|
subpackages="$pkgname-devel"
|
2009-03-25 04:56:03 +00:00
|
|
|
|
2010-01-08 09:57:01 +00:00
|
|
|
Add_dependency run glibc
|
2009-11-07 04:01:00 +00:00
|
|
|
Add_dependency build dri2proto ">=2.1"
|
2009-04-07 23:21:57 +00:00
|
|
|
Add_dependency build xf86driproto
|
2009-03-25 04:56:03 +00:00
|
|
|
Add_dependency build perl
|
|
|
|
Add_dependency build pkg-config
|
|
|
|
Add_dependency build flex
|
2010-01-08 09:57:01 +00:00
|
|
|
Add_dependency full hal
|
2010-01-08 10:26:48 +00:00
|
|
|
Add_dependency full libxkbui
|
|
|
|
Add_dependency full libxkbfile
|
|
|
|
Add_dependency full xkeyboard-config
|
2010-01-08 09:57:01 +00:00
|
|
|
|
|
|
|
_deps="openssl dbus libpciaccess pixman libdmx libICE libSM libX11 libXau"
|
|
|
|
_deps="${_deps} libXaw libXdmcp libXext libXfixes libXfont libXi libXmu"
|
|
|
|
_deps="${_deps} libXpm libXrender libXt"
|
|
|
|
for _dep_ in ${_deps}; do
|
|
|
|
Add_dependency run ${_dep_}
|
|
|
|
Add_dependency build ${_dep_}-devel
|
|
|
|
done
|
2009-03-25 04:56:03 +00:00
|
|
|
|
|
|
|
pre_configure()
|
|
|
|
{
|
|
|
|
# Fix dbus config path
|
|
|
|
sed -i -e 's/\$(sysconfdir)/\/etc/' $wrksrc/config/Makefile.*
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
rm -rf ${DESTDIR}/var/log
|
|
|
|
}
|