name: sdl2-ttf
version: 2.1.2
synopsis: Bindings to SDL2_ttf.
description: Haskell bindings to SDL2_ttf C++ library .
bug-reports: https://github.com/haskell-game/sdl2-ttf/issues
license: BSD3
license-file: LICENSE
maintainer: Mikolaj Konarski
author: Rongcui Dong (rongcuid@outlook.com),
Siniša Biđin ,
Ömer Sinan Ağacan (omeragacan@gmail.com),
Sean Chalmers (sclhiannan@gmail.com)
copyright: Copyright © 2013-2021 Ömer Sinan Ağacan, Siniša Biđin, Rongcui Dong and others (see git commits)
category: Font, Foreign binding, Graphics
build-type: Simple
cabal-version: >=1.10
tested-with: GHC==8.0.2, GHC==8.2.2, GHC==8.4.4, GHC==8.6.5, GHC==8.8.4,
GHC==8.10.4, GHC==9.0.1
source-repository head
type: git
location: https://github.com/haskell-game/sdl2-ttf
library
ghc-options: -Wall
exposed-modules:
SDL.Font,
SDL.Raw.Font
other-modules:
SDL.Raw.Helper
hs-source-dirs:
src
pkgconfig-depends:
sdl2 >= 2.0.3,
SDL2_ttf >= 2.0.12
c-sources:
cbits/helpers.c
build-depends:
base >= 4.9 && < 5,
bytestring >= 0.10.4.0,
sdl2 >= 2.2,
template-haskell,
text >= 1.1.0.0,
th-abstraction >= 0.4.0.0,
transformers >= 0.4
default-language:
Haskell2010
if os(windows)
cpp-options: -D_SDL_main_h -DSDL_main_h_
flag example
description: Build the example executable
default: False
executable sdl2-ttf-example
ghc-options: -Wall
hs-source-dirs: example
main-is: Example.hs
default-language: Haskell2010
if flag(example)
build-depends:
base,
bytestring,
sdl2,
sdl2-ttf,
text
else
buildable: False