aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/linux_dri/Makefile9
-rw-r--r--graphics/linux_dri/distinfo2
-rw-r--r--graphics/linux_dri/pkg-descr8
-rw-r--r--graphics/linux_dri/pkg-plist3
4 files changed, 18 insertions, 4 deletions
diff --git a/graphics/linux_dri/Makefile b/graphics/linux_dri/Makefile
index 15197389389c..38fecab485af 100644
--- a/graphics/linux_dri/Makefile
+++ b/graphics/linux_dri/Makefile
@@ -7,12 +7,14 @@
PORTNAME= linux_dri
PORTVERSION= 4.2.0
+PORTREVISION= 1
CATEGORIES= graphics linux
MASTER_SITES= ftp://ftp.xfree86.org/pub/XFree86/${PORTVERSION}/binaries/Linux-ix86-glibc22/:x \
http://people.freebsd.org/~anholt/dri/files/:anholt
-DISTFILES= Xmod.tgz:x Xbin.tgz:x \
+DISTFILES= Xbin.tgz:x \
linux-libglide.tar.gz:anholt \
- linux-dri-tools.tar.gz:anholt
+ linux-dri-tools.tar.gz:anholt \
+ linux_dri-${PORTVERSION}.tar.gz:anholt
DIST_SUBDIR= linux_dri-${PORTVERSION}
MAINTAINER= anholt@freebsd.org
@@ -34,8 +36,11 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/modules/dri/${i} \
${PREFIX}/usr/X11R6/lib/modules/dri
.endfor
+ #The libglide3 distributed with linux_base is broken and is symlinked poorly, supply our own.
${INSTALL_PROGRAM} ${WRKDIR}/linux-libglide/libglide3-v3.so.0 ${PREFIX}/usr/X11R6/lib
${INSTALL_PROGRAM} ${WRKDIR}/linux-libglide/libglide3-v5.so.0 ${PREFIX}/usr/X11R6/lib
+ ${LN} -sf libglide3-v3.so.0 ${PREFIX}/usr/X11R6/lib/libglide3-v3.so
+ ${LN} -sf libglide3-v5.so.0 ${PREFIX}/usr/X11R6/lib/libglide3-v5.so
${INSTALL_PROGRAM} ${WRKDIR}/linux-dri-tools/libglut.so.3.7.0 ${PREFIX}/usr/X11R6/lib
${INSTALL_PROGRAM} ${WRKDIR}/linux-dri-tools/gears ${PREFIX}/usr/X11R6/bin
${INSTALL_PROGRAM} ${WRKDIR}/linux-dri-tools/glxinfo ${PREFIX}/usr/X11R6/bin
diff --git a/graphics/linux_dri/distinfo b/graphics/linux_dri/distinfo
index d809c87c7bc6..25a390c570db 100644
--- a/graphics/linux_dri/distinfo
+++ b/graphics/linux_dri/distinfo
@@ -1,4 +1,4 @@
-MD5 (linux_dri-4.2.0/Xmod.tgz) = 6eb4c39cd904485d1aa1dde6fabc5956
MD5 (linux_dri-4.2.0/Xbin.tgz) = 91cae2fe84c8e5bf3d06a8c0cd8fd41d
MD5 (linux_dri-4.2.0/linux-libglide.tar.gz) = d83fce4cbfe94086102e20c9cc16ebba
MD5 (linux_dri-4.2.0/linux-dri-tools.tar.gz) = bfee02da0165aa49fbb5312147d64ab4
+MD5 (linux_dri-4.2.0/linux_dri-4.2.0.tar.gz) = 601f9cc61e02168723c34bb97d3ac2e9
diff --git a/graphics/linux_dri/pkg-descr b/graphics/linux_dri/pkg-descr
index 0d6b037f7754..4f4276dde5c5 100644
--- a/graphics/linux_dri/pkg-descr
+++ b/graphics/linux_dri/pkg-descr
@@ -1,3 +1,9 @@
linux_dri installs binary linux DRI modules, libraries and basic programs to
support and test 3d hardware acceleration of linux binaries with the DRI.
-At this time it only works as root, this should be fixed soon.
+(Currently, compiled from X420src-*.tgz by anholt@freebsd.org on a chroot
+Gentoo with a patch to xf86drm.c to fix linux compatibility).
+
+WWW: http://people.freebsd.org/~anholt/dri/
+
+- Eric Anholt
+eta@lclark.edu
diff --git a/graphics/linux_dri/pkg-plist b/graphics/linux_dri/pkg-plist
index 8cf9477e53e4..cf3f9ae2ace3 100644
--- a/graphics/linux_dri/pkg-plist
+++ b/graphics/linux_dri/pkg-plist
@@ -2,7 +2,10 @@ usr/X11R6/bin/gears
usr/X11R6/bin/glxinfo
usr/X11R6/lib/libGL.so.1
usr/X11R6/lib/libGLU.so.1
+usr/X11R6/lib/libglide3.so.3
+usr/X11R6/lib/libglide3-v3.so
usr/X11R6/lib/libglide3-v3.so.0
+usr/X11R6/lib/libglide3-v5.so
usr/X11R6/lib/libglide3-v5.so.0
usr/X11R6/lib/libglut.so.3.7.0
usr/X11R6/lib/libglut.so.3