packages feed

load-font-0.1.0.0: load-font.cabal

-- This file has been generated from package.yaml by hpack version 0.20.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: f0d79e490fdec5930d56c78d859e5922183c991f5459dbbf6b10f130560ffb12

name:           load-font
version:        0.1.0.0
synopsis:       A cross platform library for loading bundled fonts into your application
description:    Please see the README on Github at <https://github.com/deech/font-load#readme>
category:       UI,Graphics,GUI,User Interfaces, Font
homepage:       https://github.com/deech/load-font#readme
bug-reports:    https://github.com/deech/load-font/issues
author:         Aditya Siram
maintainer:     aditya.siram@gmail.com
copyright:      2018 Aditya Siram
license:        BSD3
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10

extra-source-files:
    ChangeLog.md
    src/cbits/font_load.c

data-files:
    test-fonts/moon_phases.ttf

source-repository head
  type: git
  location: https://github.com/deech/load-font

library
  hs-source-dirs:
      src
  include-dirs:
      src/cbits
  c-sources:
      src/cbits/font_load.c
  build-depends:
      base >=4.7 && <5
  build-tools:
      c2hs
  exposed-modules:
      Graphics.UI.Font.Load
  other-modules:
      Graphics.UI.Font.LoadCWrapper
      Paths_load_font
  default-language: Haskell2010

executable load-font-exe
  main-is: Main.hs
  hs-source-dirs:
      app
  ghc-options: -O2
  build-depends:
      base >=4.7 && <5
    , fltkhs >=0.5.4.4
    , load-font
    , text >=1.2.2.0
  if (os(linux) || os(windows))
    ghc-options: -pgml g++ "-optl-Wl,--allow-multiple-definition" "-optl-Wl,--whole-archive" "-optl-Wl,-Bstatic" "-optl-Wl,-lfltkc" "-optl-Wl,-Bdynamic" "-optl-Wl,--no-whole-archive"
  else
    ghc-options: -optl-Wl,-lfltkc
  other-modules:
      Paths_load_font
  default-language: Haskell2010