2024-12-11 12:50:19 +01:00
|
|
|
cabal-version: 3.4
|
2023-03-13 10:51:25 +01:00
|
|
|
name: fountainhead
|
|
|
|
version: 0.1.0.0
|
|
|
|
|
|
|
|
synopsis: TrueType font parser
|
|
|
|
description: TrueType font parseer.
|
2023-03-13 10:58:00 +01:00
|
|
|
bug-reports: https://git.caraus.tech/OSS/fountainhead/issues
|
|
|
|
homepage: https://git.caraus.tech/OSS/fountainhead
|
|
|
|
maintainer: belka@caraus.de
|
2023-11-10 11:57:08 +01:00
|
|
|
author: Eugen Wissner
|
2023-03-13 10:51:25 +01:00
|
|
|
|
|
|
|
license-files: LICENSE
|
|
|
|
license: MPL-2.0
|
|
|
|
|
2024-02-03 11:58:47 +01:00
|
|
|
copyright: (c) 2024 Eugen Wissner
|
2023-03-13 10:51:25 +01:00
|
|
|
category: Graphics
|
|
|
|
|
|
|
|
extra-source-files:
|
|
|
|
CHANGELOG.md
|
2024-02-04 11:07:15 +01:00
|
|
|
README.md
|
2023-03-13 10:51:25 +01:00
|
|
|
|
2023-11-11 10:57:43 +01:00
|
|
|
common dependencies
|
|
|
|
build-depends:
|
2024-02-03 11:58:47 +01:00
|
|
|
base >= 4.16 && < 5,
|
2024-12-11 12:50:19 +01:00
|
|
|
bytestring ^>= 0.12.0,
|
|
|
|
text ^>= 2.1,
|
|
|
|
zlib ^>= 0.7.0
|
2024-02-04 11:07:15 +01:00
|
|
|
default-language: GHC2021
|
2023-11-11 10:57:43 +01:00
|
|
|
|
2023-03-13 10:51:25 +01:00
|
|
|
library
|
2023-11-11 10:57:43 +01:00
|
|
|
import: dependencies
|
2023-03-13 10:51:25 +01:00
|
|
|
exposed-modules:
|
2023-12-27 16:19:21 +01:00
|
|
|
Graphics.Fountainhead
|
2024-02-03 11:58:47 +01:00
|
|
|
Graphics.Fountainhead.Compression
|
2023-11-11 10:57:43 +01:00
|
|
|
Graphics.Fountainhead.Dumper
|
2024-02-04 11:07:15 +01:00
|
|
|
Graphics.Fountainhead.Metrics
|
2023-03-13 10:51:25 +01:00
|
|
|
Graphics.Fountainhead.Parser
|
|
|
|
Graphics.Fountainhead.Type
|
|
|
|
Graphics.Fountainhead.TrueType
|
2024-02-03 11:58:47 +01:00
|
|
|
hs-source-dirs: lib
|
2023-03-13 10:51:25 +01:00
|
|
|
build-depends:
|
|
|
|
containers ^>= 0.6.5,
|
2024-12-11 12:50:19 +01:00
|
|
|
megaparsec ^>= 9.7,
|
2023-03-13 10:51:25 +01:00
|
|
|
time ^>= 1.12,
|
2024-12-11 12:50:19 +01:00
|
|
|
transformers ^>= 0.6,
|
2023-03-13 10:51:25 +01:00
|
|
|
vector ^>= 0.13.0
|
2023-11-13 19:18:33 +01:00
|
|
|
ghc-options: -Wall
|
2023-03-14 09:52:02 +01:00
|
|
|
|
|
|
|
executable fountainhead
|
2023-11-11 10:57:43 +01:00
|
|
|
import: dependencies
|
2023-03-14 09:52:02 +01:00
|
|
|
main-is: Main.hs
|
|
|
|
|
|
|
|
default-extensions:
|
|
|
|
NamedFieldPuns
|
|
|
|
DuplicateRecordFields
|
|
|
|
ExplicitForAll
|
|
|
|
build-depends:
|
|
|
|
containers,
|
2024-02-03 11:58:47 +01:00
|
|
|
fountainhead,
|
|
|
|
megaparsec,
|
|
|
|
optparse-applicative ^>= 0.18.1,
|
2023-03-14 09:52:02 +01:00
|
|
|
parser-combinators,
|
|
|
|
vector,
|
|
|
|
transformers,
|
2024-02-03 11:58:47 +01:00
|
|
|
time
|
2024-02-04 11:07:15 +01:00
|
|
|
hs-source-dirs: src
|
2023-12-27 16:19:21 +01:00
|
|
|
ghc-options: -Wall
|
2024-02-07 10:40:00 +01:00
|
|
|
|
|
|
|
test-suite fountainhead-test
|
|
|
|
import: dependencies
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
main-is: Spec.hs
|
|
|
|
hs-source-dirs: test
|
|
|
|
other-modules:
|
|
|
|
Graphics.Fountainhead.MetricsSpec
|
|
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
|
|
build-depends:
|
|
|
|
fountainhead,
|
|
|
|
hspec >= 2.9 && < 3
|
2024-12-11 12:50:19 +01:00
|
|
|
build-tool-depends:
|
|
|
|
hspec-discover:hspec-discover
|