forked from ivanperez-keera/haskanoid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
haskanoid.cabal
110 lines (85 loc) · 3.22 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
-- 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. See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.1.5
-- 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.
-- 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: ivan.perez@keera.co.uk
-- 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.8
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
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
-- Other library packages from which modules are imported.
build-depends: base > 4.6 && < 5,
transformers >= 0.3 && < 0.5,
mtl,
MissingH,
Yampa >= 0.9.6 && < 0.11,
SDL, SDL-image, SDL-mixer, SDL-ttf,
IfElse
if flag(wiimote)
build-depends: hcwiid
if flag(kinect)
build-depends: freenect, vector