packages feed

grid-proto-0.2.0.0: grid-proto.cabal

name: grid-proto
version: 0.2.0.0
synopsis: Game engine for Prototyping on a Grid
description: Exposes a heavily constrained and simple API around SDL2 with builtin font and sound effects.
category: Game
homepage: https://github.com/jxv/grid-proto#readme
author: Joe Vargas
maintainer: Joe Vargas
bug-reports: https://github.com/jxv/grid-proto/issues
copyright: 2022 Joe Vargas
license: BSD3
license-file: LICENSE
build-type: Simple
cabal-version:  >= 1.10
extra-source-files:
    README.md

flag examples
  manual: True
  default: False

library
  exposed-modules:
      GridProto
  other-modules:
    GridProto.Internal.Core
    GridProto.Internal.Font
    GridProto.Internal.Runner
    GridProto.Internal.Sfx
    GridProto.Internal.Sfx.Bell
    GridProto.Internal.Sfx.Chimes
    GridProto.Internal.Sfx.Damage
    GridProto.Internal.Sfx.Explosion
    GridProto.Internal.Sfx.Jump
    GridProto.Internal.Sfx.Laser
    GridProto.Internal.Sfx.NoSelect
    GridProto.Internal.Sfx.Noise
    GridProto.Internal.Sfx.PowerUp
    GridProto.Internal.Sfx.Scroll
    GridProto.Internal.Sfx.Select
    GridProto.Internal.Sfx.Success
  hs-source-dirs:
      src
  build-depends:
      StateVar >= 1.1.0.0 && < 1.3
    , base >= 4.7 && < 5
    , bytestring >= 0.10.4.0 && < 0.12
    , containers >= 0.5.7
    , linear >= 1.10.1.2 && < 1.22
    , sdl2 >= 2.5 && < 2.6
    , sdl2-gfx >= 0.3
    , sdl2-mixer >= 1.2.0.0
    , sdl2-ttf >= 2.1.0
    , text >= 1.1.0.0 && < 2.1
    , vector >= 0.10.9.0 && < 0.13
  default-language: Haskell2010

executable arrows-example
  hs-source-dirs: examples
  main-is: Arrows.hs
  ghc-options: -main-is Arrows
  build-depends:
      base >= 4.7 && < 5
    , grid-proto
  if flag(examples)
    buildable: True
  default-language: Haskell2010

executable board-example
  hs-source-dirs: examples
  main-is: Board.hs
  ghc-options: -main-is Board
  build-depends:
      base >= 4.7 && < 5
    , grid-proto
  if flag(examples)
    buildable: True
  default-language: Haskell2010

executable controller-example
  hs-source-dirs: examples
  main-is: Controller.hs
  ghc-options: -main-is Controller
  build-depends:
      base >= 4.7 && < 5
    , grid-proto
  if flag(examples)
    buildable: True
  default-language: Haskell2010

executable sound-example
  hs-source-dirs: examples
  main-is: Sound.hs
  ghc-options: -main-is Sound
  build-depends:
      base >= 4.7 && < 5
    , grid-proto
  if flag(examples)
    buildable: True
  default-language: Haskell2010

executable text-example
  hs-source-dirs: examples
  main-is: Text.hs
  ghc-options: -main-is Text
  build-depends:
      base >= 4.7 && < 5
    , grid-proto
  if flag(examples)
    buildable: True
  default-language: Haskell2010

executable viewport-example
  hs-source-dirs: examples
  main-is: Viewport.hs
  ghc-options: -main-is Viewport
  build-depends:
      base >= 4.7 && < 5
    , grid-proto
  if flag(examples)
    buildable: True
  default-language: Haskell2010