-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsdl2-gfx.cabal
74 lines (62 loc) · 1.56 KB
/
sdl2-gfx.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
name: sdl2-gfx
version: 1.0.0
synopsis: Bindings to SDL2_gfx.
description: Haskell bindings to SDL2_gfx.
license: MIT
license-file: LICENSE
author: Siniša Biđin <[email protected]>
maintainer: Siniša Biđin <[email protected]>
copyright: Copyright © 2015 Siniša Biđin
category: Graphics, Foreign
build-type: Simple
cabal-version: >=1.10
source-repository head
type: git
location: https://github.com/sbidin/sdl2-gfx.git
library
ghc-options: -Wall
exposed-modules:
SDL.Primitive,
SDL.Raw.Primitive,
SDL.Framerate,
SDL.Raw.Framerate,
SDL.Rotozoom,
SDL.Raw.Rotozoom,
SDL.ImageFilter,
SDL.Raw.ImageFilter
other-modules:
SDL.Raw.Helper
hs-source-dirs:
src
pkgconfig-depends:
sdl2 >= 2.0.3,
SDL2_gfx >= 1.0.1
build-depends:
base >= 4.7 && < 5,
bytestring,
lifted-base >= 0.2,
monad-control >= 1.0,
sdl2 >= 2.0,
template-haskell,
text,
vector >= 0.10.9.0
default-language:
Haskell2010
if os(windows)
cpp-options: -D_SDL_main_h -DSDL_main_h_
flag example
description: Build the example executable
default: False
executable sdl2-gfx-example
ghc-options: -Wall
hs-source-dirs: example
main-is: Example.hs
default-language: Haskell2010
if flag(example)
build-depends:
base >= 4.7 && < 5,
sdl2 >= 2.0,
sdl2-gfx,
vector >= 0.10.9.0
else
buildable: False