packages feed

load-font-0.1.0.3: load-font.cabal

cabal-version: 1.24

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

name:           load-font
version:        0.1.0.3
synopsis:       A cross platform library for loading bundled fonts into your application
description:    Please see the README on Github at <https://github.com/deech/load-font#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:     Custom
extra-source-files:
    src/cbits/font_load.h
    src/cbits/font_load.c
    README.org
    ChangeLog.md
data-files:
    test-fonts/moon_phases.ttf

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

custom-setup
  setup-depends:
      Cabal >=2.4.0.0 && <4
    , base >=4.4

flag demo
  description: Build the demo
  manual: True
  default: False

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

executable load-font-exe
  main-is: Main.hs
  other-modules:
      Paths_load_font
  hs-source-dirs:
      app
  ghc-options: -threaded -rtsopts -with-rtsopts=-N -O2
  build-depends:
      base >=4.7 && <5
    , fltkhs >=0.8.0.3
    , load-font
    , text >=1.2.2.0
  if flag(demo)
    buildable: True
  else
    buildable: False
  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
  default-language: Haskell2010