-
Notifications
You must be signed in to change notification settings - Fork 14
/
sdl2-image.cabal
65 lines (53 loc) · 1.4 KB
/
sdl2-image.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
name: sdl2-image
version: 2.0.0
synopsis: Bindings to SDL2_image.
description: Haskell bindings to SDL2_image.
license: MIT
license-file: LICENSE
author: Cai Lei <[email protected]>, Siniša Biđin <[email protected]>
maintainer: Siniša Biđin <[email protected]>
copyright: Copyright © 2014 Cai Lei, Copyright © 2015 Siniša Biđin
category: Image, Graphics, Foreign
build-type: Simple
cabal-version: >=1.10
source-repository head
type: git
location: https://github.com/sbidin/sdl2-image.git
library
ghc-options: -Wall
exposed-modules:
SDL.Image,
SDL.Raw.Image
other-modules:
SDL.Raw.Helper
hs-source-dirs:
src
pkgconfig-depends:
sdl2 >= 2.0.3,
SDL2_image >= 2.0.0
build-depends:
base >= 4.7 && < 5,
bytestring >= 0.10.4.0,
sdl2 >= 2.0,
text >= 1.1.0.0,
template-haskell
default-language:
Haskell2010
if os(windows)
cpp-options: -D_SDL_main_h -DSDL_main_h_ -DSDL_MAIN_HANDLED
flag example
description: Build the example executable
default: False
executable sdl2-image-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-image,
text >= 1.1.0.0
else
buildable: False