forked from tempname11/sdl2-mixer
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsdl2-mixer.cabal
135 lines (113 loc) · 2.84 KB
/
sdl2-mixer.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
name: sdl2-mixer
version: 1.1.0
synopsis: Bindings to SDL2_mixer.
description: Haskell bindings to SDL2_mixer.
license: BSD3
license-file: LICENSE
author: Vladimir Semyonov <[email protected]>
Siniša Biđin <[email protected]>
maintainer: Siniša Biđin <[email protected]>
copyright: Copyright © 2015 Vladimir Semyonov
Copyright © 2015 Siniša Biđin
category: Sound, Foreign
build-type: Simple
cabal-version: >=1.10
source-repository head
type: git
location: https://github.com/sbidin/sdl2-mixer.git
library
ghc-options: -Wall
exposed-modules:
SDL.Mixer,
SDL.Raw.Mixer
other-modules:
SDL.Raw.Helper
hs-source-dirs:
src
includes:
SDL_mixer.h
extra-libraries:
SDL2_mixer
pkgconfig-depends:
SDL2_mixer >= 2.0.0
c-sources:
cbits/helpers.c
build-depends:
base >= 4.7 && < 5,
bytestring >= 0.10.4.0,
data-default-class >= 0.0.1,
lifted-base >= 0.2,
monad-control >= 1.0,
sdl2 >= 2.0.0,
template-haskell,
vector >= 0.10
default-language:
Haskell2010
flag example
description: Build the example executables
default: False
executable sdl2-mixer-basic
ghc-options: -Wall
hs-source-dirs: examples
main-is: Basic.hs
default-language: Haskell2010
if flag(example)
build-depends:
base >= 4.7 && < 5,
data-default-class >= 0.0.1,
sdl2 >= 2.0.0,
sdl2-mixer
else
buildable: False
executable sdl2-mixer-raw
ghc-options: -Wall
hs-source-dirs: examples
main-is: BasicRaw.hs
default-language: Haskell2010
if flag(example)
build-depends:
base >= 4.7 && < 5,
sdl2 >= 2.0.0,
sdl2-mixer
else
buildable: False
executable sdl2-mixer-jumbled
ghc-options: -Wall
hs-source-dirs: examples
main-is: Jumbled.hs
default-language: Haskell2010
if flag(example)
build-depends:
base >= 4.7 && < 5,
data-default-class >= 0.0.1,
sdl2 >= 2.0.0,
sdl2-mixer
else
buildable: False
executable sdl2-mixer-music
ghc-options: -Wall
hs-source-dirs: examples
main-is: Music.hs
default-language: Haskell2010
if flag(example)
build-depends:
base >= 4.7 && < 5,
data-default-class >= 0.0.1,
sdl2 >= 2.0.0,
sdl2-mixer
else
buildable: False
executable sdl2-mixer-effect
ghc-options: -Wall -threaded
hs-source-dirs: examples
main-is: Effect.hs
default-language: Haskell2010
if flag(example)
build-depends:
base >= 4.7 && < 5,
data-default-class >= 0.0.1,
sdl2 >= 2.0.0,
sdl2-mixer,
vector >= 0.10
else
buildable: False