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