1 |
Package: mesa-demos
|
2 |
Version: 8.0.0
|
3 |
Revision: 1
|
4 |
Description: Show information about GLX capabilities
|
5 |
License: BSD
|
6 |
Maintainer: None <fink-devel@lists.sourceforge.net>
|
7 |
Depends: <<
|
8 |
mesa8-shlibs,
|
9 |
xorg-libx11-shlibs
|
10 |
<<
|
11 |
BuildDepends: <<
|
12 |
mesa8,
|
13 |
xorg-libx11,
|
14 |
xorgproto
|
15 |
<<
|
16 |
Source: ftp://ftp.freedesktop.org/pub/mesa/7.8.2/%n-%v.tar.bz2
|
17 |
Source-MD5: 92fcf92f6d8cf5e29026aed8fb7acc45
|
18 |
SetCPPFLAGS: -I%p/include/mesa8
|
19 |
SetLDFLAGS: -L%p/lib/mesa8 -L%p/opt/X11/lib -lGL -lX11
|
20 |
CompileScript: <<
|
21 |
#!/bin/sh -ev
|
22 |
export PATH=%p/opt/X11/bin:$PATH
|
23 |
export PKG_CONFIG_PATH=%p/opt/X11/lib/pkgconfig:%p/opt/X11/share/pkgconfig:%p/lib/mesa8/pkgconfig:%p/lib/pkgconfig
|
24 |
export DEMOS="glxgears glxinfo"
|
25 |
for DEMO in `printenv DEMOS`; do
|
26 |
gcc $CPPFLAGS $CFLAGS -c src/xdemos/${DEMO}.c
|
27 |
echo "gcc $CPPFLAGS $CFLAGS -c src/xdemos/${DEMO}.c"
|
28 |
gcc $LDFLAGS ${DEMO}.o -o $DEMO
|
29 |
echo "gcc $LDFLAGS ${DEMO}.o -o $DEMO"
|
30 |
done
|
31 |
<<
|
32 |
InstallScript: <<
|
33 |
#!/bin/sh -ev
|
34 |
mkdir -p %i/opt/X11/bin
|
35 |
export DEMOS="glxgears glxinfo"
|
36 |
for DEMO in `printenv DEMOS`; do
|
37 |
install -m 755 $DEMO %i/opt/X11/bin
|
38 |
echo "install -m 755 $DEMO %i/opt/X11/bin"
|
39 |
done
|
40 |
<<
|
41 |
DocFiles: src/demos/README
|
42 |
Homepage: http://www.x.org/
|
43 |
DescDetail: <<
|
44 |
The fstobdf program reads a font from a font server and prints a BDF
|
45 |
file on the standard output that may be used to recreate the font.
|
46 |
This is useful in testing servers, debugging font metrics, and
|
47 |
reproducing lost BDF files.
|
48 |
<<
|