summaryrefslogtreecommitdiffstats
path: root/xorg/xorg-server/Pkgfile
blob: 29682cbdba9fc9305567647dda2e2f10107b457e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Description: Serveur X Window
# URL: http://xorg.freedesktop.org
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: xorg-xsetroot, xorg-xset, xorg-xprop, xorg-xcmiscproto, xorg-bigreqsproto,  mesa3d, xorg-bdftopcf, xorg-mkfontdir, xorg-mkfontscale, xorg-xf86driproto, xorg-dri2proto, xorg-libxkbui, xorg-libxtst, xorg-libdmx, xorg-libxxf86misc, xorg-libxaw, xorg-libxvmc, xorg-libxi, xorg-libxres, xorg-libxcomposite, xorg-libxinerama, xorg-libxrandr, xorg-libxft, xorg-libxcursor, xorg-libxxf86dga, xorg-libpixman, xorg-libpciaccess, xorg-libxscrnsaver
# Run on: mesa3d,xorg-bdftopcf,xorg-mkfontdir,xorg-mkfontscale,xorg-libxkbui,xorg-libxtst,xorg-libdmx,xorg-libxxf86misc,xorg-libxaw,xorg-libxvmc,xorg-libxi,xorg-libxres,xorg-libxcomposite,xorg-libxinerama,xorg-libxrandr,xorg-libxft,xorg-libxcursor,xorg-libxxf86dga,xorg-libpixman,xorg-libpciaccess,xorg-libxscrnsaver

name=xorg-server
version=1.9.5
release=1
source=(http://xorg.freedesktop.org/releases/individual/xserver/$name-$version.tar.bz2\
	15-quirks.conf)

build() {
	cd $name-$version

	./configure $XORG_CONFIG \
    --with-module-dir=$XORG_PREFIX/lib/X11/modules \
    --with-xkb-output=/var/lib/xkb \
    --enable-install-setuid \
    --disable-config-hal
	sed -i 's|xorgconfddir = $(datadir)|xorgconfddir = /etc|' config/Makefile
	make
	make DESTDIR=$PKG install
	rmdir $PKG/var/log
	rm -r $PKG/usr/share/doc
	mv $PKG/$XORG_PREFIX/lib/X11/modules/extensions/libglx.{so,xorg}
	install -m644 ../15-quirks.conf $PKG/etc/X11/xorg.conf.d/15-quirks.conf
}