forked from ports/contrib
ftgl: New port
This commit is contained in:
parent
35b2e3d7fe
commit
5edef5590d
35
ftgl/.footprint
Normal file
35
ftgl/.footprint
Normal file
@ -0,0 +1,35 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/include/
|
||||
drwxr-xr-x root/root usr/include/FTGL/
|
||||
-rw-r--r-- root/root usr/include/FTGL/FTBBox.h
|
||||
-rw-r--r-- root/root usr/include/FTGL/FTBitmapGlyph.h
|
||||
-rw-r--r-- root/root usr/include/FTGL/FTCharToGlyphIndexMap.h
|
||||
-rw-r--r-- root/root usr/include/FTGL/FTCharmap.h
|
||||
-rw-r--r-- root/root usr/include/FTGL/FTContour.h
|
||||
-rw-r--r-- root/root usr/include/FTGL/FTExtrdGlyph.h
|
||||
-rw-r--r-- root/root usr/include/FTGL/FTFace.h
|
||||
-rw-r--r-- root/root usr/include/FTGL/FTFont.h
|
||||
-rw-r--r-- root/root usr/include/FTGL/FTGL.h
|
||||
-rw-r--r-- root/root usr/include/FTGL/FTGLBitmapFont.h
|
||||
-rw-r--r-- root/root usr/include/FTGL/FTGLExtrdFont.h
|
||||
-rw-r--r-- root/root usr/include/FTGL/FTGLOutlineFont.h
|
||||
-rw-r--r-- root/root usr/include/FTGL/FTGLPixmapFont.h
|
||||
-rw-r--r-- root/root usr/include/FTGL/FTGLPolygonFont.h
|
||||
-rw-r--r-- root/root usr/include/FTGL/FTGLTextureFont.h
|
||||
-rw-r--r-- root/root usr/include/FTGL/FTGlyph.h
|
||||
-rw-r--r-- root/root usr/include/FTGL/FTGlyphContainer.h
|
||||
-rw-r--r-- root/root usr/include/FTGL/FTLibrary.h
|
||||
-rw-r--r-- root/root usr/include/FTGL/FTList.h
|
||||
-rw-r--r-- root/root usr/include/FTGL/FTOutlineGlyph.h
|
||||
-rw-r--r-- root/root usr/include/FTGL/FTPixmapGlyph.h
|
||||
-rw-r--r-- root/root usr/include/FTGL/FTPoint.h
|
||||
-rw-r--r-- root/root usr/include/FTGL/FTPolyGlyph.h
|
||||
-rw-r--r-- root/root usr/include/FTGL/FTSize.h
|
||||
-rw-r--r-- root/root usr/include/FTGL/FTTextureGlyph.h
|
||||
-rw-r--r-- root/root usr/include/FTGL/FTVector.h
|
||||
-rw-r--r-- root/root usr/include/FTGL/FTVectoriser.h
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
-rw-r--r-- root/root usr/lib/libftgl.a
|
||||
-rw-r--r-- root/root usr/lib/libftgl.la
|
||||
drwxr-xr-x root/root usr/lib/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/ftgl.pc
|
2
ftgl/.md5sum
Normal file
2
ftgl/.md5sum
Normal file
@ -0,0 +1,2 @@
|
||||
522cd2e1e818d657e3e56f2ad3ab67c9 ftgl-2.1.2-gcc41.patch
|
||||
e0736841ce273eddbdb64617621b75f4 ftgl-2.1.2.tar.bz2
|
28
ftgl/Pkgfile
Normal file
28
ftgl/Pkgfile
Normal file
@ -0,0 +1,28 @@
|
||||
# Description: Font rendering library for OpenGL
|
||||
# URL: http://homepages.paradise.net.nz/henryj/code/
|
||||
# Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net
|
||||
# Packager: Jose V Beneyto, sepen at users dot sourceforge dot net
|
||||
# Depends on: mesa3d,freetype,freeglut
|
||||
|
||||
name=ftgl
|
||||
version=2.1.2
|
||||
release=2
|
||||
source=(http://dl.sourceforge.net/sourceforge/${name}/${name}-${version}.tar.bz2 \
|
||||
${name}-2.1.2-gcc41.patch)
|
||||
|
||||
build() {
|
||||
patch -p0 < ${SRC}/${name}-2.1.2-gcc41.patch
|
||||
cd FTGL/unix
|
||||
./configure --prefix=/usr \
|
||||
--with-x \
|
||||
--disable-nls \
|
||||
--disable-docs \
|
||||
--disable-static \
|
||||
--disable-freetypetest
|
||||
make
|
||||
install -d ${PKG}/usr/include/FTGL
|
||||
install -m 0644 ../include/*.h ${PKG}/usr/include/FTGL
|
||||
install -D -m 0644 ${name}.pc ${PKG}/usr/lib/pkgconfig/${name}.pc
|
||||
install -D -m 0644 src/lib${name}.la ${PKG}/usr/lib/lib${name}.la
|
||||
install -D -m 0644 src/.libs/lib${name}.a ${PKG}/usr/lib/lib${name}.a
|
||||
}
|
11
ftgl/ftgl-2.1.2-gcc41.patch
Normal file
11
ftgl/ftgl-2.1.2-gcc41.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- FTGL/include/FTTextureGlyph.h.old 2006-01-29 11:08:54.000000000 -0700
|
||||
+++ FTGL/include/FTTextureGlyph.h 2006-01-29 11:09:06.000000000 -0700
|
||||
@@ -52,7 +52,7 @@
|
||||
* Reset the currently active texture to zero to get into a known state before
|
||||
* drawing a string. This is to get round possible threading issues.
|
||||
*/
|
||||
- static void FTTextureGlyph::ResetActiveTexture(){ activeTextureID = 0;}
|
||||
+ static void ResetActiveTexture(){ activeTextureID = 0;}
|
||||
|
||||
private:
|
||||
/**
|
Loading…
x
Reference in New Issue
Block a user