forked from Peaker/FreeTypeGL-old
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathelectrotype.cabal
75 lines (66 loc) · 2.81 KB
/
electrotype.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
Name: electrotype
Version: 0.1.1.0
Synopsis: Reasonably fast text rendering in OpenGL.
Description: Use FreeType to render glyph bitmaps to textures, and
then render to the screen using those textures.
.
Similar to FTGL in some ways, but with fewer features (no
mesh-from-font creation, no direct pixel rendering).
.
This package is experimental. It was originally based on
the FreeTypeGL package by by Eyal Lotem
(<http://hackage.haskell.org/package/FreeTypeGL>) but has
diverged significantly.
.
Windows builds may be broken. Contributions are welcome.
.
This package makes use of the great and ubiquitous
FreeType library (<http://www.freetype.org/>) for glyph
and font handling. The license is FTL.
License: BSD3
License-file: LICENSE
Author: Andrew Richards <[email protected]>, Eyal Lotem <[email protected]>
Maintainer: Andrew Richards <[email protected]>
Category: Graphics
Build-type: Custom
Extra-source-files: src/*.c src/*.h
Cabal-version: >=1.8
Flag use_font_config
-- problematic on windows
Description: Build with fontconfig support
Default: False
Library
-- Modules exported by the library.
Exposed-modules: Graphics.Rendering.Electrotype,
Graphics.Rendering.Electrotype.Internal.TextureFont,
Graphics.Rendering.Electrotype.Internal.VertexBuffer,
Graphics.Rendering.Electrotype.Baked.Shaders
-- Packages needed in order to build this package.
-- "freetype2" and "OpenGL" deps are just for the C build side
Build-depends: base > 3 && < 5, bytestring, freetype2 >= 0.1.2,
OpenGLRaw, OpenGL >= 2.9.0.0, data-default-class, linear, filepath,
temporary
-- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source.
Build-tools: hsc2hs
ghc-options: -Wall
-- Disable assertions in the C code.
cc-options: -DNDEBUG
include-dirs: src include /usr/include/freetype2
if flag(use_font_config)
cc-options: -DUSE_FONT_CONFIG
Extra-libraries: fontconfig
c-sources: src/edtaa3func.c
src/font-manager.c
src/mat4.c
src/platform.c
src/shader.c
src/text-buffer.c
src/texture-atlas.c
src/texture-font.c
src/vector.c
src/vertex-attribute.c
src/vertex-buffer.c
src/utils.c
source-repository head
type: git
location: git://github.com/randrew/electrotype.git