summaryrefslogtreecommitdiffstats
path: root/xorg-server/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/Pkgfile')
-rwxr-xr-xxorg-server/Pkgfile30
1 files changed, 30 insertions, 0 deletions
diff --git a/xorg-server/Pkgfile b/xorg-server/Pkgfile
new file mode 100755
index 000000000..8fd669655
--- /dev/null
+++ b/xorg-server/Pkgfile
@@ -0,0 +1,30 @@
+# Description: Serveur X Window
+# URL: http://xorg.freedesktop.org
+# Maintainer: cgit.freedesktop.org
+# 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=2
+source=(http://xorg.freedesktop.org/releases/individual/xserver/$name-$version.tar.bz2
+ autoconfig-nvidia.patch
+ 15-quirks.conf)
+
+build() {
+ cd $name-$version
+ patch -p1 < ../autoconfig-nvidia.patch
+ ./configure $XORG_CONFIG \
+ --with-module-dir=$XORG_PREFIX/lib/X11/modules \
+ --with-xkb-output=/var/lib/xkb \
+ --with-fontrootdir=/usr/share/fonts \
+ --enable-install-setuid \
+ --disable-config-hal
+ sed -i 's|xorgconfddir = $(datadir)|xorgconfddir = /etc|' config/Makefile
+ make
+ make DESTDIR=$PKG install
+ 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
+ rm -rf $PKG/var
+}