2016-03-25 08:41:22 +00:00
|
|
|
name: affection
|
|
|
|
|
|
|
|
-- 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
|
2017-03-20 04:26:07 +00:00
|
|
|
version: 0.0.0.6
|
2016-03-25 08:41:22 +00:00
|
|
|
synopsis: A simple Game Engine using SDL
|
2017-02-17 16:15:06 +00:00
|
|
|
description: This package contains Affection, a simple game engine
|
|
|
|
written in Haskell using SDL and GEGL.
|
|
|
|
This Engine is still work in progress and even minor
|
|
|
|
version bumps may contain breaking api changes.
|
2016-03-25 08:41:22 +00:00
|
|
|
homepage: https://github.com/nek0/affection#readme
|
|
|
|
license: LGPL-3
|
|
|
|
license-file: LICENSE
|
|
|
|
author: nek0
|
|
|
|
maintainer: nek0@chelnok.de
|
|
|
|
category: Game
|
|
|
|
build-type: Simple
|
|
|
|
|
|
|
|
-- Extra files to be distributed with the package, such as examples or a
|
|
|
|
-- README.
|
|
|
|
-- extra-source-files:
|
|
|
|
|
|
|
|
cabal-version: >=1.10
|
|
|
|
|
2016-05-29 16:01:23 +00:00
|
|
|
source-repository head
|
|
|
|
type: git
|
|
|
|
location: https://github.com/nek0/affection
|
|
|
|
|
|
|
|
flag examples
|
|
|
|
description: Build example programs
|
|
|
|
default: False
|
2016-03-25 08:41:22 +00:00
|
|
|
|
|
|
|
library
|
|
|
|
exposed-modules: Affection
|
2017-10-03 10:47:18 +00:00
|
|
|
-- , Affection.Draw
|
|
|
|
-- , Affection.Particle
|
2016-03-26 02:50:39 +00:00
|
|
|
, Affection.Types
|
2017-03-05 15:39:37 +00:00
|
|
|
, Affection.StateMachine
|
|
|
|
, Affection.MouseInteractable
|
2017-10-03 10:47:18 +00:00
|
|
|
-- , Affection.Property
|
|
|
|
-- , Affection.Actor
|
|
|
|
-- , Affection.Animation
|
2017-09-07 04:23:01 +00:00
|
|
|
, Affection.Util
|
2017-11-26 19:25:06 +00:00
|
|
|
, Affection.MessageBus.Util
|
|
|
|
, Affection.MessageBus.Class
|
|
|
|
, Affection.MessageBus.Engine
|
|
|
|
, Affection.MessageBus.Message
|
2016-03-26 02:50:39 +00:00
|
|
|
default-extensions: OverloadedStrings
|
|
|
|
|
2016-03-25 08:41:22 +00:00
|
|
|
-- Modules included in this library but not exported.
|
|
|
|
-- other-modules:
|
|
|
|
|
|
|
|
-- LANGUAGE extensions used by modules in this package.
|
2016-03-26 02:50:39 +00:00
|
|
|
other-extensions: GADTs
|
|
|
|
, KindSignatures
|
|
|
|
, FlexibleInstances
|
|
|
|
, MultiParamTypeClasses
|
|
|
|
, UndecidableInstances
|
2016-03-25 08:41:22 +00:00
|
|
|
hs-source-dirs: src
|
|
|
|
default-language: Haskell2010
|
2017-02-17 16:15:06 +00:00
|
|
|
ghc-options: -Wall
|
2016-03-25 08:41:22 +00:00
|
|
|
-- Other library packages from which modules are imported.
|
2017-10-03 10:47:18 +00:00
|
|
|
build-depends: base >=4.9
|
2016-03-25 08:41:22 +00:00
|
|
|
, sdl2
|
2016-03-25 10:43:31 +00:00
|
|
|
, text
|
2016-03-26 02:50:39 +00:00
|
|
|
, mtl
|
2017-11-27 00:43:43 +00:00
|
|
|
, time
|
2017-10-03 10:47:18 +00:00
|
|
|
-- , gegl
|
|
|
|
-- , babl
|
2016-10-31 22:47:16 +00:00
|
|
|
, monad-loops
|
2017-03-20 04:24:02 +00:00
|
|
|
, monad-parallel
|
2016-12-23 13:18:39 +00:00
|
|
|
, containers
|
2016-11-02 00:14:53 +00:00
|
|
|
, clock
|
2016-12-23 13:18:39 +00:00
|
|
|
, glib
|
2017-03-22 15:59:24 +00:00
|
|
|
, bytestring
|
2017-09-09 14:47:24 +00:00
|
|
|
, OpenGL
|
2017-11-26 12:59:59 +00:00
|
|
|
, stm
|
2016-03-25 10:43:31 +00:00
|
|
|
-- , sdl2-image
|
2016-03-25 08:41:22 +00:00
|
|
|
|
2017-03-23 03:25:59 +00:00
|
|
|
-- executable example00
|
|
|
|
-- hs-source-dirs: examples
|
|
|
|
-- main-is: example00.hs
|
|
|
|
-- ghc-options: -threaded -Wall
|
|
|
|
-- default-language: Haskell2010
|
|
|
|
-- default-extensions: OverloadedStrings
|
|
|
|
-- if flag(examples)
|
|
|
|
-- build-depends: base
|
|
|
|
-- , affection
|
|
|
|
-- , sdl2
|
|
|
|
-- , gegl
|
|
|
|
-- , babl
|
|
|
|
-- , containers
|
|
|
|
-- , mtl
|
|
|
|
-- else
|
|
|
|
-- buildable: False
|
2017-05-20 08:24:05 +00:00
|
|
|
--
|
|
|
|
-- executable example01
|
|
|
|
-- hs-source-dirs: examples
|
|
|
|
-- main-is: example01.hs
|
|
|
|
-- ghc-options: -threaded -Wall
|
|
|
|
-- default-language: Haskell2010
|
|
|
|
-- default-extensions: OverloadedStrings
|
|
|
|
-- if flag(examples)
|
|
|
|
-- build-depends: base
|
|
|
|
-- , affection
|
|
|
|
-- , sdl2
|
|
|
|
-- , gegl
|
|
|
|
-- , babl
|
|
|
|
-- , containers
|
|
|
|
-- , mtl
|
|
|
|
-- else
|
|
|
|
-- buildable: False
|
|
|
|
--
|
|
|
|
-- executable example02
|
|
|
|
-- hs-source-dirs: examples
|
|
|
|
-- main-is: example02.hs
|
|
|
|
-- ghc-options: -threaded -Wall
|
|
|
|
-- default-language: Haskell2010
|
|
|
|
-- default-extensions: OverloadedStrings
|
|
|
|
-- if flag(examples)
|
|
|
|
-- build-depends: base
|
|
|
|
-- , affection
|
|
|
|
-- , sdl2
|
|
|
|
-- , gegl
|
|
|
|
-- , babl
|
|
|
|
-- , containers
|
|
|
|
-- , mtl
|
|
|
|
-- , monad-parallel
|
|
|
|
-- else
|
|
|
|
-- buildable: False
|
|
|
|
--
|
|
|
|
-- executable example02.1
|
|
|
|
-- hs-source-dirs: examples
|
|
|
|
-- main-is: example02.1.hs
|
|
|
|
-- ghc-options: -threaded -Wall
|
|
|
|
-- default-language: Haskell2010
|
|
|
|
-- default-extensions: OverloadedStrings
|
|
|
|
-- if flag(examples)
|
|
|
|
-- build-depends: base
|
|
|
|
-- , affection
|
|
|
|
-- , sdl2
|
|
|
|
-- , gegl
|
|
|
|
-- , babl
|
|
|
|
-- , containers
|
|
|
|
-- , mtl
|
|
|
|
-- else
|
|
|
|
-- buildable: False
|
|
|
|
--
|
|
|
|
-- executable example03
|
|
|
|
-- hs-source-dirs: examples
|
|
|
|
-- main-is: example03.hs
|
|
|
|
-- ghc-options: -threaded -Wall -auto-all -caf-all -rtsopts
|
|
|
|
-- default-language: Haskell2010
|
|
|
|
-- default-extensions: OverloadedStrings
|
|
|
|
-- if flag(examples)
|
|
|
|
-- build-depends: base
|
|
|
|
-- , affection
|
|
|
|
-- , sdl2
|
|
|
|
-- , gegl
|
|
|
|
-- , babl
|
|
|
|
-- , containers
|
|
|
|
-- , mtl
|
|
|
|
-- , random
|
|
|
|
-- else
|
|
|
|
-- buildable: False
|
|
|
|
--
|
|
|
|
-- executable example04
|
|
|
|
-- hs-source-dirs: examples
|
|
|
|
-- main-is: example04.hs
|
|
|
|
-- ghc-options: -threaded -Wall -auto-all -caf-all -rtsopts
|
|
|
|
-- default-language: Haskell2010
|
|
|
|
-- default-extensions: OverloadedStrings
|
|
|
|
-- if flag(examples)
|
|
|
|
-- build-depends: base
|
|
|
|
-- , affection
|
|
|
|
-- , sdl2
|
|
|
|
-- , gegl
|
|
|
|
-- , babl
|
|
|
|
-- , containers
|
|
|
|
-- , mtl
|
|
|
|
-- , random
|
|
|
|
-- , monad-parallel
|
|
|
|
-- else
|
|
|
|
-- buildable: False
|
2017-03-28 22:43:09 +00:00
|
|
|
|
|
|
|
executable example05
|
|
|
|
hs-source-dirs: examples
|
|
|
|
main-is: example05.hs
|
|
|
|
ghc-options: -threaded -Wall -auto-all -caf-all -rtsopts
|
|
|
|
default-language: Haskell2010
|
|
|
|
default-extensions: OverloadedStrings
|
|
|
|
if flag(examples)
|
|
|
|
build-depends: base
|
|
|
|
, affection
|
|
|
|
, sdl2
|
|
|
|
, gegl
|
|
|
|
, babl
|
|
|
|
, containers
|
2017-04-17 10:40:17 +00:00
|
|
|
, unordered-containers
|
2017-03-28 22:43:09 +00:00
|
|
|
, mtl
|
|
|
|
, random
|
|
|
|
, matrix
|
|
|
|
, random
|
|
|
|
, monad-parallel
|
|
|
|
, parallel
|
|
|
|
else
|
|
|
|
buildable: False
|