| 1 |
Package: mesa7
|
| 2 |
Version: 7.8.2
|
| 3 |
Revision: 1
|
| 4 |
Distribution: 10.5, 10.6
|
| 5 |
|
| 6 |
Maintainer: None <fink-devel@lists.sourceforge.net>
|
| 7 |
|
| 8 |
Depends: %N-shlibs (= %v-%r)
|
| 9 |
BuildDepends: <<
|
| 10 |
fink (>= 0.24.12),
|
| 11 |
gcc4.2,
|
| 12 |
xorg-libx11,
|
| 13 |
xorg-libxext6,
|
| 14 |
xorg-libxi6,
|
| 15 |
xorg-libxmu6
|
| 16 |
<<
|
| 17 |
BuildDependsOnly: True
|
| 18 |
Conflicts: mesa, mesa7, mesa8
|
| 19 |
Replaces: mesa, mesa7, mesa8
|
| 20 |
|
| 21 |
Description: 3-D graphics library
|
| 22 |
Homepage: http://mesa3d.sourceforge.net/
|
| 23 |
License: OSI-Approved
|
| 24 |
|
| 25 |
Source: ftp://ftp.freedesktop.org/pub/mesa/%v/MesaLib-%v.tar.bz2
|
| 26 |
Source2: ftp://ftp.freedesktop.org/pub/mesa/%v/MesaGLUT-%v.tar.bz2
|
| 27 |
#Source3: http://static.macosforge.org/xquartz/downloads/src/MesaApple-%v-r1.tar.bz2
|
| 28 |
|
| 29 |
SourceDirectory: Mesa-%v
|
| 30 |
Source-MD5: 6be2d343a0089bfd395ce02aaf8adb57
|
| 31 |
Source2-MD5: a471807b65e49c325808ba4551be93ed
|
| 32 |
#Source3-MD5: 000363013dc663bae2593433bd1cb434
|
| 33 |
|
| 34 |
PatchFile: %n.patch
|
| 35 |
PatchFile-MD5: accd8b0ec8ff5b79c6b6bd877a713e9b
|
| 36 |
PatchScript: <<
|
| 37 |
sed 's,@FINK_PREFIX@,%p,g' < %{PatchFile} | patch -p1
|
| 38 |
<<
|
| 39 |
NoSetCPPFLAGS: true
|
| 40 |
UseMaxBuildJobs: true
|
| 41 |
CompileScript: <<
|
| 42 |
make -w darwin
|
| 43 |
<<
|
| 44 |
|
| 45 |
InstallScript: <<
|
| 46 |
#mkdir -p %i/lib/%n
|
| 47 |
#mv lib/* %i/lib/%n
|
| 48 |
|
| 49 |
#mkdir -p %i/include/%n
|
| 50 |
#mv include/* %i/include/%n/
|
| 51 |
|
| 52 |
make -w install DESTDIR=%d
|
| 53 |
mkdir -p %i/share/%n
|
| 54 |
cp -r docs %i/share/%n/
|
| 55 |
ln -sf %p/lib/%n %i/share/%n/lib
|
| 56 |
ln -sf %p/include/%n %i/share/%n/include
|
| 57 |
<<
|
| 58 |
|
| 59 |
SplitOff: <<
|
| 60 |
Package: %N-shlibs
|
| 61 |
Depends: <<
|
| 62 |
xorg-libx11-shlibs,
|
| 63 |
xorg-libxext6-shlibs,
|
| 64 |
xorg-libxi6-shlibs,
|
| 65 |
xorg-libxmu6-shlibs
|
| 66 |
<<
|
| 67 |
Files: lib/mesa7/lib*.*.dylib
|
| 68 |
Shlibs: <<
|
| 69 |
%p/lib/mesa7/libGL.1.dylib 1.5.0 %n (>= 7.8.2-1)
|
| 70 |
%p/lib/mesa7/libGLU.1.dylib 1.3.0 %n (>= 7.8.2-1)
|
| 71 |
%p/lib/mesa7/libglut.3.dylib 3.7.0 %n (>= 7.8.2-1)
|
| 72 |
%p/lib/mesa7/libOpenVG.1.dylib 1.0.0 %n (>= 7.8.2-1)
|
| 73 |
%p/lib/mesa7/libOSMesa.7.dylib 7.8.0 %n (>= 7.8.2-1)
|
| 74 |
<<
|
| 75 |
DocFiles: docs/COPYING
|
| 76 |
<<
|
| 77 |
|
| 78 |
DocFiles: docs/COPYING
|
| 79 |
|
| 80 |
DescDetail: <<
|
| 81 |
Mesa is a 3-D graphics library with an API which
|
| 82 |
is very similar to that of OpenGL.* To the extent
|
| 83 |
that Mesa utilizes the OpenGL command syntax or
|
| 84 |
state machine, it is being used with authorization
|
| 85 |
from Silicon Graphics, Inc.(SGI). However, the
|
| 86 |
author does not possess an OpenGL license from
|
| 87 |
SGI, and makes no claim that Mesa is in any way
|
| 88 |
a compatible replacement for OpenGL or associated
|
| 89 |
with SGI. Those who want a licensed implementation
|
| 90 |
of OpenGL should contact a licensed vendor.
|
| 91 |
<<
|
| 92 |
|
| 93 |
DescUsage: <<
|
| 94 |
The libraries and headers are installed in
|
| 95 |
%p/lib/mesa7 and %p/include/mesa7, respectively. This
|
| 96 |
is to avoid conflict with other OpenGL dependent
|
| 97 |
packages in Fink like GLUT/freeglut, etc. To use the
|
| 98 |
libraries and headers installed, you need to
|
| 99 |
explicitly set the Include (-I) and Linker (-L)
|
| 100 |
flags before compiling against Mesa3d. The order
|
| 101 |
in which the flags are passed to the linker
|
| 102 |
is also important, so that Mesa libraries is the
|
| 103 |
one that is seen first by the linker (before the
|
| 104 |
system OpenGL).
|
| 105 |
|
| 106 |
Care needs to be taken to avoid system OpenGL,
|
| 107 |
if you want to use Mesa3d, while compiling, like
|
| 108 |
making sure that its first in the linker's search
|
| 109 |
path. Otherwise, you get runtime errors.
|
| 110 |
<<
|
| 111 |
|
| 112 |
DescPackaging: <<
|
| 113 |
Previously maintained by Murali Vadivelu
|
| 114 |
|
| 115 |
A link is created from %p/include/mesa7 and
|
| 116 |
%p/lib/mesa7 to %p/share/mesa7/include and
|
| 117 |
%p/share/mesa7/lib, respectively. This is done to
|
| 118 |
facilitate compiling certain programmes which look
|
| 119 |
for a common GL directory containing an include
|
| 120 |
directory (with gl.h, etc.) and lib directory
|
| 121 |
(with libGL.*, etc.).
|
| 122 |
|
| 123 |
o drm.h patches are from MacPorts
|
| 124 |
|
| 125 |
o MesaApple (also from MacPorts), if used, forces tcltk >= 8.5.
|
| 126 |
<<
|
| 127 |
|