summaryrefslogtreecommitdiffstats
path: root/xorg/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'xorg/Pkgfile')
-rw-r--r--xorg/Pkgfile13
1 files changed, 9 insertions, 4 deletions
diff --git a/xorg/Pkgfile b/xorg/Pkgfile
index bb8f14253..c8cbc8fb1 100644
--- a/xorg/Pkgfile
+++ b/xorg/Pkgfile
@@ -6,21 +6,26 @@
# Run on: dejavu-ttf,xorg-xinit,xorg-xauth,xorg-rgb,xkeyboard-config,xorg-twm,xorg-xclock,xorg-xterm,xorg-server
name=xorg
-version=1.9.5
-release=2
+version=1.12.0
+release=1
section="driver"
-source=($section-$version.md5)
+source=($section-$version.md5
+ apm-1.2.3-git.patch)
build() {
unset MAKEFLAGS
for package in $(grep -v '^#' ${section}-${version}.md5 |cut -d " " -f 3)
do
- wget http://xorg.freedesktop.org/releases/individual/${section}/$package
+ [[ -r $PKGMK_SOURCE_DIR/$package ]] || wget http://xorg.freedesktop.org/releases/individual/${section}/$package -O $PKGMK_SOURCE_DIR/$package
+ cp $PKGMK_SOURCE_DIR/$package ./
grep $package driver-$version.md5 |md5sum -c -
packagedir=$(echo $package | sed 's/.tar.bz2//')
tar -xf $package
pushd $packagedir
+ if [ "${packagedir}" == "xf86-video-apm-1.2.3" ]; then
+ patch -p1 < $SRC/apm-1.2.3-git.patch
+ fi
./configure $XORG_CONFIG \
--with-xorg-module-dir=$XORG_PREFIX/lib/X11/modules
make