iup-stack-solus/libftgl/package.yml

38 lines
1.4 KiB
YAML

name : ftgl
version : 2.1.5
release : 3
source :
- https://sourceforge.net/projects/iup/files/3.30/Docs%20and%20Sources/ftgl-2.1.5_Sources.tar.gz : c9ca938cf856bc88be3d45107ad0c3a84ee575eda3cfebfded6e18230bd8bf9e
homepage : https://sourceforge.net/projects/ftgl
license : LGPL-2.0-or-later
component : programming
summary : c++ library to simplify font rendering in openGL applications
description: |
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.
builddeps :
- pkgconfig(cppunit)
- pkgconfig(freetype2)
- pkgconfig(gl)
- pkgconfig(glu)
- pkgconfig(lua)
- lsb-release
environment:
export USE_PKGCONFIG=Yes
export USE_LUA_VERSION=53
export LIBLUA_SFX=
export LUA_SFX=
export LUA_INC=/usr/include
export LUA_LIB=/usr/lib
export LUA_BIN=/usr/bin/lua
setup : |
%patch -p1 < $pkgfiles/0001-shared-links.patch
build : |
%make -j1
install : |
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