-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathgraphics-drawingcombinators.cabal
49 lines (44 loc) · 1.49 KB
/
graphics-drawingcombinators.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
Name: graphics-drawingcombinators
Description:
This module is a functional wrapper around OpenGL, so you don't
have to go into the deep, dark world of imperative stateful
programming just to draw stuff. It supports 2D only (for now),
with support drawing geometry, images, and text.
Version: 1.5.1
Stability: experimental
Synopsis: A functional interface to 2D drawing in OpenGL
License: BSD3
Category: Graphics
Author: Luke Palmer
Homepage: http://github.com/luqui/graphics-drawingcombinators
Maintainer: [email protected]
Build-Type: Simple
Extra-Source-Files: demo/example.hs
cabal-Version: >= 1.8
source-repository head
type: git
location: http://github.com/luqui/graphics-drawingcombinators
Flag ftgl
Description: Does the system have FTGL, thus we could use not sucky fonts
Library
Build-Depends: base == 4.*, OpenGL >= 2.9, stb-image == 0.2.*, bitmap >= 0.0.2, bitmap-opengl >= 0.0.1.5
hs-Source-Dirs: src
Exposed-Modules: Graphics.DrawingCombinators, Graphics.DrawingCombinators.Affine
ghc-options: -Wall
Ghc-Prof-Options: -prof -auto-all
if flag(ftgl)
Build-Depends: FTGL
else
Build-Depends: GLUT
CPP-Options: -DLAME_FONTS
Flag examples
Description: Build example programs
Default: False
Executable example
Main-is: demo/example.hs
if !flag(examples)
Buildable: False
else
Buildable: True
Build-depends: base, GLFW-b >=1.4.6 && <1.5, OpenGL, graphics-drawingcombinators
ghc-options: -Wall