diff options
author | anholt <anholt@FreeBSD.org> | 2006-06-25 22:33:51 +0800 |
---|---|---|
committer | anholt <anholt@FreeBSD.org> | 2006-06-25 22:33:51 +0800 |
commit | 913776a4854af5165ec11c14ce825a3003b535ca (patch) | |
tree | 9abd4cfde5493a15e137c5f4b47294448371d627 /graphics/linux_dri-devel | |
parent | 4cada925bea494dddb2f124f54eb2d36b933abba (diff) | |
download | freebsd-ports-gnome-913776a4854af5165ec11c14ce825a3003b535ca.tar.gz freebsd-ports-gnome-913776a4854af5165ec11c14ce825a3003b535ca.tar.zst freebsd-ports-gnome-913776a4854af5165ec11c14ce825a3003b535ca.zip |
Add a linux_dri-devel port: CVS snapshot of DRI drivers for linux, which I
compiled on a debian machine.
Diffstat (limited to 'graphics/linux_dri-devel')
-rw-r--r-- | graphics/linux_dri-devel/Makefile | 64 | ||||
-rw-r--r-- | graphics/linux_dri-devel/distinfo | 9 | ||||
-rw-r--r-- | graphics/linux_dri-devel/pkg-descr | 9 | ||||
-rw-r--r-- | graphics/linux_dri-devel/pkg-plist | 30 |
4 files changed, 112 insertions, 0 deletions
diff --git a/graphics/linux_dri-devel/Makefile b/graphics/linux_dri-devel/Makefile new file mode 100644 index 000000000000..bafc34070b18 --- /dev/null +++ b/graphics/linux_dri-devel/Makefile @@ -0,0 +1,64 @@ +# Ports collection makefile for: linux_dri +# Date created: Thu Oct 25 18:51:06 PDT 2001 +# Whom: Eric Anholt <eta@lclark.edu> +# +# $FreeBSD$ +# + +PORTNAME= linux_dri-devel +PORTVERSION= 6.5.20060624 +CATEGORIES= graphics linux +MASTER_SITES= http://people.freebsd.org/~anholt/dri/files/ +DISTFILES= Mesa-linux-bin-20060624.tar.bz2 \ + linux-libglide.tar.gz \ + linux-dri-tools.tar.gz + +MAINTAINER= freebsd-emulation@FreeBSD.org +COMMENT= Binary Linux DRI libraries for 3D hardware acceleration of linux apps + +CONFLICTS= linux_dri-6.5 + +WRKSRC= ${WRKDIR} +NO_BUILD= yes +USE_LINUX= yes +USE_LINUX_PREFIX= yes +USE_XLIB= yes + +# don't package this for amd64 until we come up with 32-bit ioctl wrappers for +# the drm. +ONLY_FOR_ARCHS= i386 + +MODULELIST= i810_dri.so i915_dri.so mach64_dri.so mga_dri.so r128_dri.so \ + r200_dri.so r300_dri.so radeon_dri.so sis_dri.so savage_dri.so \ + sis_dri.so tdfx_dri.so +LDCONFIG_LINUX= ${LINUXBASE}/sbin/ldconfig + +do-install: + ${MKDIR} ${PREFIX}/usr/X11R6/lib/modules/dri + ${INSTALL_PROGRAM} ${WRKSRC}/linux_dri/libGL.so.1.2 \ + ${PREFIX}/usr/X11R6/lib + ${INSTALL_PROGRAM} ${WRKSRC}/linux_dri/libGLU.so.1.3.060500 \ + ${PREFIX}/usr/X11R6/lib + ${INSTALL_PROGRAM} ${WRKSRC}/linux_dri/libdrm.so.2.0.0 \ + ${PREFIX}/usr/lib + ${INSTALL_PROGRAM} ${WRKSRC}/linux_dri/libexpat.so.1 \ + ${PREFIX}/usr/lib +.for i in ${MODULELIST} + ${INSTALL_PROGRAM} ${WRKSRC}/linux_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 + ${BRANDELF} -t Linux ${PREFIX}/usr/X11R6/bin/gears + ${INSTALL_PROGRAM} ${WRKDIR}/linux-dri-tools/glxinfo ${PREFIX}/usr/X11R6/bin + ${BRANDELF} -t Linux ${PREFIX}/usr/X11R6/bin/glxinfo + +post-install: + @${LDCONFIG_LINUX} ${PREFIX}/usr/X11R6/lib + +.include <bsd.port.mk> diff --git a/graphics/linux_dri-devel/distinfo b/graphics/linux_dri-devel/distinfo new file mode 100644 index 000000000000..6416aec4ceef --- /dev/null +++ b/graphics/linux_dri-devel/distinfo @@ -0,0 +1,9 @@ +MD5 (Mesa-linux-bin-20060624.tar.bz2) = 929b8f479e0a0f08873b10404bf700db +SHA256 (Mesa-linux-bin-20060624.tar.bz2) = 8e1852e746ee5de466f4beb34112f6a2b9029f9274010efe039fbcccbaa893d1 +SIZE (Mesa-linux-bin-20060624.tar.bz2) = 11296690 +MD5 (linux-libglide.tar.gz) = d83fce4cbfe94086102e20c9cc16ebba +SHA256 (linux-libglide.tar.gz) = 0fc6d3d3e99bb9ad7a6b314e1b883a6a9421d4f6fd3bf0ee541d055f4ffca237 +SIZE (linux-libglide.tar.gz) = 286591 +MD5 (linux-dri-tools.tar.gz) = bfee02da0165aa49fbb5312147d64ab4 +SHA256 (linux-dri-tools.tar.gz) = 7c6262959c8f08d4a47f0cb9a77d2761e5ac24fe9dca8949b9fe07b963962a83 +SIZE (linux-dri-tools.tar.gz) = 124318 diff --git a/graphics/linux_dri-devel/pkg-descr b/graphics/linux_dri-devel/pkg-descr new file mode 100644 index 000000000000..4f4276dde5c5 --- /dev/null +++ b/graphics/linux_dri-devel/pkg-descr @@ -0,0 +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. +(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-devel/pkg-plist b/graphics/linux_dri-devel/pkg-plist new file mode 100644 index 000000000000..2cf887d4299b --- /dev/null +++ b/graphics/linux_dri-devel/pkg-plist @@ -0,0 +1,30 @@ +usr/X11R6/bin/gears +usr/X11R6/bin/glxinfo +usr/X11R6/lib/libGL.so.1 +usr/X11R6/lib/libGL.so.1.2 +usr/X11R6/lib/libGLU.so.1 +usr/X11R6/lib/libGLU.so.1.3.060500 +usr/lib/libdrm.so.2 +usr/lib/libdrm.so.2.0.0 +usr/lib/libexpat.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 +usr/X11R6/lib/modules/dri/i810_dri.so +usr/X11R6/lib/modules/dri/i915_dri.so +usr/X11R6/lib/modules/dri/mach64_dri.so +usr/X11R6/lib/modules/dri/mga_dri.so +usr/X11R6/lib/modules/dri/r128_dri.so +usr/X11R6/lib/modules/dri/r200_dri.so +usr/X11R6/lib/modules/dri/r300_dri.so +usr/X11R6/lib/modules/dri/radeon_dri.so +usr/X11R6/lib/modules/dri/savage_dri.so +usr/X11R6/lib/modules/dri/sis_dri.so +usr/X11R6/lib/modules/dri/tdfx_dri.so +@exec %D/sbin/ldconfig %D/usr/X11R6/lib +@dirrm usr/X11R6/lib/modules/dri +@dirrm usr/X11R6/lib/modules |