-
Notifications
You must be signed in to change notification settings - Fork 27
/
haskanoid.cabal
127 lines (98 loc) · 3.54 KB
/
haskanoid.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
-- Initial haskanoid.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
-- The name of the package.
name: haskanoid
-- The package version. We follow semantic versioning.
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking changes
-- | | |
version: 0.1.6
-- A short (one-line) description of the package.
synopsis: A breakout game written in Yampa using SDL
-- A longer description of the package.
description: An arkanoid game featuring SDL graphics and sound, and
Wiimote & Kinect support, implemented using Yampa.
.
<<https://github.com/ivanperez-keera/haskanoid/blob/master/screenshots/android.gif?raw=true>>
-- URL for the project homepage or repository.
homepage: http://github.com/ivanperez-keera/haskanoid
-- The license under which the package is released.
license: OtherLicense
-- The file containing the license text.
license-file: LICENSE
-- The package author(s).
author: Ivan Perez and Henrik Nilsson
-- An email address to which users can send suggestions, bug reports, and
-- patches.
maintainer: [email protected]
-- A copyright notice.
-- copyright:
category: Game, Reactivity, FRP
build-type: Simple
-- Constraint on the version of Cabal needed to build this package.
cabal-version: >=1.10
data-files: data/*.png data/*.wav data/*.mp3 data/*.ttf
Flag wiimote
Description: Enable Wiimote support with hcwiid
Default: True
Flag kinect
Description: Enable Kinect support (with freenect)
Default: True
Flag bearriver
Description: Compile with bearriver instead of Yampa
Default: False
executable haskanoid
-- .hs or .lhs file containing the Main module.
main-is: Main.hs
if flag(wiimote)
cpp-options: -Dwiimote
ghc-options: -rtsopts
if flag(kinect)
cpp-options: -Dkinect
ghc-options: -Wall -threaded
hs-source-dirs: src/
-- Modules included in this executable, other than Main.
other-modules: Audio
Constants
Control.Extra.Monad
Data.Extra.List
Data.Extra.Num
Data.Extra.Ord
Data.Extra.VectorSpace
Data.IdentityList
Display
FRP.Extra.Yampa
Game
GameCollisions
GameState
Graphics.UI.Extra.SDL
Input
Levels
Objects
ObjectSF
Physics.TwoDimensions.Collisions
Physics.TwoDimensions.Dimensions
Physics.TwoDimensions.Physics
Resources
Paths_haskanoid
-- Other library packages from which modules are imported.
build-depends: base >= 4.6 && < 5,
IfElse,
MissingH,
mtl,
SDL, SDL-image, SDL-mixer, SDL-ttf,
simple-affine-space,
transformers >= 0.3 && < 0.6
default-language:
Haskell2010
if flag(bearriver)
build-depends: bearriver >= 0.9.6 && < 0.15
else
build-depends: Yampa >= 0.13 && < 0.15
if flag(wiimote)
build-depends: hcwiid
if flag(kinect)
build-depends: freenect, vector
source-repository head
type: git
location: git://github.com/ivanperez-keera/haskanoid.git