2008-10-04 04:29:49 +00:00
|
|
|
# Template build file for 'xorg-server'.
|
|
|
|
pkgname=xorg-server
|
2013-03-09 08:11:08 +00:00
|
|
|
version=1.13.3
|
2013-03-26 20:53:11 +00:00
|
|
|
revision=3
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2011-12-06 10:32:49 +00:00
|
|
|
configure_args="--enable-ipv6 --enable-xcsecurity --enable-record
|
2012-10-10 15:59:32 +00:00
|
|
|
--enable-xnest --enable-xephyr --enable-composite --enable-xvfb
|
2013-03-25 06:09:35 +00:00
|
|
|
--disable-static --disable-config-hal --disable-xfbdev --disable-xfake
|
2012-10-10 15:59:32 +00:00
|
|
|
--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
|
2012-12-21 15:09:43 +00:00
|
|
|
--disable-dmx --disable-xfree86-utils --enable-dga --enable-xorg
|
|
|
|
--enable-kdrive --enable-kdrive-evdev --enable-kdrive-kbd
|
|
|
|
--enable-kdrive-mouse --enable-xorg --enable-xcsecurity"
|
|
|
|
short_desc="The X11 server from X.org"
|
2008-10-02 06:29:13 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-05-29 07:20:33 +00:00
|
|
|
homepage="http://xorg.freedesktop.org"
|
|
|
|
license="MIT/X11, BSD"
|
2012-12-16 19:37:54 +00:00
|
|
|
distfiles="${XORG_SITE}/xserver/${pkgname}-${version}.tar.bz2"
|
2013-03-09 08:11:08 +00:00
|
|
|
checksum=c9e38eb6404749cab9e3c4a4901d951d4d62958b11f002ce968225ef92902762
|
2009-03-25 04:56:03 +00:00
|
|
|
|
2013-03-25 06:09:35 +00:00
|
|
|
subpackages="${pkgname}-xnest ${pkgname}-xephyr ${pkgname}-xvfb ${pkgname}-devel"
|
2012-12-16 19:37:54 +00:00
|
|
|
fulldepends="xkeyboard-config"
|
|
|
|
|
|
|
|
# See hw/xfree86/common/xf86Module.h. Only care for the major version.
|
|
|
|
provides="xserver-abi-extension-7 xserver-abi-input-18 xserver-abi-video-13"
|
|
|
|
|
2013-03-25 06:09:35 +00:00
|
|
|
hostmakedepends="pkg-config perl flex"
|
|
|
|
|
|
|
|
makedepends="libfl-devel damageproto inputproto>=2.2 glproto>=1.4.15 xproto>=7.0.22
|
2012-12-16 19:37:54 +00:00
|
|
|
dri2proto>=2.1 xf86driproto randrproto videoproto compositeproto scrnsaverproto
|
|
|
|
resourceproto>=1.2.0 xineramaproto xcmiscproto bigreqsproto libudev-devel>=183
|
|
|
|
openssl-devel libX11-devel libXext-devel libdmx-devel libpciaccess-devel
|
|
|
|
libXfont-devel libXmu-devel libXrender-devel libXfixes-devel libXi-devel
|
|
|
|
libXaw-devel libdrm-devel libXtst-devel libXres-devel libxkbui-devel
|
2013-03-25 06:09:35 +00:00
|
|
|
libxkbfile-devel libXxf86dga-devel libXv-devel pixman-devel"
|
2012-12-16 19:37:54 +00:00
|
|
|
|
2012-01-28 13:21:46 +00:00
|
|
|
post_install() {
|
2011-07-02 09:34:23 +00:00
|
|
|
vinstall ${FILESDIR}/11-quirks.conf 644 etc/X11/xorg.conf.d
|
2011-08-27 03:50:11 +00:00
|
|
|
vinstall COPYING 644 usr/share/licenses/${pkgname}
|
2013-03-25 06:09:35 +00:00
|
|
|
|
|
|
|
# Xorg must be setuid.
|
|
|
|
chmod 4755 ${DESTDIR}/usr/bin/Xorg
|
|
|
|
|
|
|
|
if [ -e ${DESTDIR}/usr/lib/xorg/modules/extensions/libglx.so ]; then
|
|
|
|
# Support nvidia and amd binary blobs to provide their own
|
|
|
|
# implementation.
|
|
|
|
mv ${DESTDIR}/usr/lib/xorg/modules/extensions/libglx.so \
|
|
|
|
${DESTDIR}/usr/lib/xorg/modules/extensions/libglx-xorg.so
|
|
|
|
fi
|
2009-03-25 04:56:03 +00:00
|
|
|
}
|