Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/graphics
In directory sc8-pr-cvs17:/tmp/cvs-serv13212/main/finkinfo/graphics

Added Files:
        ftgl.info 
Log Message:
New from tracker
https://sourceforge.net/tracker/?func=detail&atid=414256&aid=1704690&group_id=17203

--- NEW FILE: ftgl.info ---
Package: ftgl
Version: 2.1.2
Revision: 3
###
Source: http://opengl.geek.nz/ftgl/ftgl-%v.tar.gz
Source-MD5: 3eabec9ad37371c4d139408c7ffd2429
SourceDirectory: FTGL
###
DocFiles: README.txt COPYING.txt HISTORY.txt license.txt
###
Maintainer: Hans-Christoph Steiner <[EMAIL PROTECTED]>
HomePage: http://homepages.paradise.net.nz/henryj/code/#FTGL
License: GPL
Description: Library for using fonts in OpenGL
###
Depends: freetype219-shlibs
BuildDepends: freetype219
###
PatchScript: <<
#perl -pi -e 's,,,' mac/FTGL.xcode/project.pbxproj
perl -pi -e 's,Libraries/libfreetype.a,%p/lib/freetype219/lib/libfreetype.a,' 
mac/FTGL.xcode/project.pbxproj
perl -pi -e 's,(../mac/Libraries),"%p/lib/freetype219/lib \1",' 
mac/FTGL.xcode/project.pbxproj
perl -pi -e 's,/usr/local,%p,' mac/FTGL.xcode/project.pbxproj
perl -pi -e 's,"(../mac/Includes),"%p/lib/freetype219/include 
%p/lib/freetype219/include/freetype2 \1,' mac/FTGL.xcode/project.pbxproj
perl -pi -e 's,/Users/henry/Development/PROJECTS/FTGL,%b,' 
mac/FTGL.xcode/project.pbxproj
perl -pi -e 's,(HEADER_SEARCH_PATHS = )(Includes),\1"%p/lib/freetype219/include 
%p/lib/freetype219/include/freetype2 \2",' mac/FTGL.xcode/project.pbxproj
<<
CompileScript: cd mac && xcodebuild
# this might work better, with quite a bit of work:
#CompileScript: ./configure --prefix=%p --with-x 
--with-gl-inc=/usr/X11R6/include --with-gl-lib=/usr/X11R6/lib 
--with-ft-prefix=/sw/lib/freetype219 --with-ft-exec-prefix=/sw/lib/freetype219
InstallScript: <<
install -d %i/include/FTGL
install -p %b/include/*.h %i/include/FTGL
install -d %i/lib
# hack to support different build paths on 10.3 and 10.4
(test -f %b/mac/build/Default/libftgl.a && \
        install -p %b/mac/build/Default/libftgl.a %i/lib) || \
        install -p %b/mac/build/libftgl.a %i/lib
install -d %i/share/doc/%n
install -p %b/docs/FTGL.html %i/share/doc/%n
install -p %b/docs/FTGL_1_3.gif %i/share/doc/%n
install -d %i/share/doc/%n/images
install -p %b/docs/images/ftgldemo.jpg %i/share/doc/%n/images
install -p %b/docs/images/metrics.png %i/share/doc/%n/images
cd %i/share/doc/%n && tar xzf %b/docs/html.tar.gz
install -d %i/lib/pkgconfig
touch %i/lib/pkgconfig/ftgl.pc
echo 'prefix=%p' >>  %i/lib/pkgconfig/ftgl.pc
echo 'exec_prefix=${prefix}' >>  %i/lib/pkgconfig/ftgl.pc
echo 'libdir=${exec_prefix}/lib' >>  %i/lib/pkgconfig/ftgl.pc
echo 'includedir=${prefix}/include' >>  %i/lib/pkgconfig/ftgl.pc
echo '#' >>  %i/lib/pkgconfig/ftgl.pc
echo 'Name: ftgl' >>  %i/lib/pkgconfig/ftgl.pc
echo 'Description: OpenGL frontend to Freetype 2' >>  %i/lib/pkgconfig/ftgl.pc
echo 'Version: %v' >>  %i/lib/pkgconfig/ftgl.pc
echo 'Requires: ' >>  %i/lib/pkgconfig/ftgl.pc
echo 'Libs: -L%p/lib/freetype219/lib -L${libdir} -lz -lfreetype -lftgl' >>  
%i/lib/pkgconfig/ftgl.pc
echo 'Cflags: -I${includedir} -I%p/include/FTGL -I%p/lib/freetype219/include 
-I%p/lib/freetype219/include/freetype2' >>  %i/lib/pkgconfig/ftgl.pc
echo '#' >>  %i/lib/pkgconfig/ftgl.pc
<<
DescDetail: <<
FTGL is a free, open source library to enable developers to use arbitrary
fonts in their OpenGL (www.opengl.org) applications. Unlike other OpenGL font
libraries FTGL uses standard font file formats so doesn't need a preprocessing
step to convert the high quality font data into a lesser quality, proprietary
format. FTGL uses the Freetype (www.freetype.org) font library to open and
'decode' the fonts. It then takes that output and stores it in a format most
efficient for OpenGL rendering.

Rendering modes supported are:

    * Bit maps
    * Anti aliased pix maps
    * Texture maps
    * Outlines
    * Polygon meshes
    * Extruded polygon meshes

FTGL is designed to be used in commercial quality software. It has been
written with performance, robustness and simplicity in mind.  
<<


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to