2022-12-29 18:07:43 +00:00
name : ftgl
version : 2.1 .5
2023-02-04 10:45:22 +00:00
release : 3
2022-12-29 18:07:43 +00:00
source :
- https://sourceforge.net/projects/iup/files/3.30/Docs%20and%20Sources/ftgl-2.1.5_Sources.tar.gz : c9ca938cf856bc88be3d45107ad0c3a84ee575eda3cfebfded6e18230bd8bf9e
2023-02-04 10:45:22 +00:00
homepage : https://sourceforge.net/projects/ftgl
license : LGPL-2.0-or-later
component : programming
summary : c++ library to simplify font rendering in openGL applications
2022-12-29 18:07:43 +00:00
description : |
2023-02-04 10:45:22 +00:00
FTGL is a free cross-platform Open Source C++ library that uses Freetype2 to simplify rendering fonts in OpenGL applications. FTGL supports bitmaps, pixmaps, texture maps, outlines, polygon mesh, and extruded polygon rendering modes.
2022-12-29 18:07:43 +00:00
builddeps :
- pkgconfig(cppunit)
- pkgconfig(freetype2)
- pkgconfig(gl)
- pkgconfig(glu)
- pkgconfig(lua)
2023-02-04 10:45:22 +00:00
- lsb-release
2022-12-29 18:07:43 +00:00
environment :
export USE_PKGCONFIG=Yes
2023-05-11 06:23:06 +00:00
export USE_LUA_VERSION=53
export LIBLUA_SFX=
export LUA_SFX=
2022-12-29 18:07:43 +00:00
export LUA_INC=/usr/include
export LUA_LIB=/usr/lib
export LUA_BIN=/usr/bin/lua
2023-08-01 18:34:01 +00:00
setup : |
%patch -p1 < $pkgfiles/0001-shared-links.patch
2022-12-29 18:07:43 +00:00
build : |
%make -j1
install : |
2023-08-01 18:34:01 +00:00
install -dm00755 $installdir/usr/{lib64/pkgconfig,include/FTGL}
install -Dm00644 $pkgfiles/ftgl.pc $installdir/usr/lib64/pkgconfig
rm lib/Linux63_64/*.a
chmod 00755 lib/Linux63_64/*
mv lib/Linux63_64/* $installdir/usr/lib64/
install -Dm00644 include/FTGL/* $installdir/usr/include/FTGL