summaryrefslogtreecommitdiff
path: root/fountainhead.cabal
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2024-02-03 11:58:47 +0100
committerEugen Wissner <belka@caraus.de>2024-02-03 11:58:47 +0100
commita34b46e1b553623d5dc385fc8e235df808fbadb2 (patch)
tree7035a9625532bf6f7f41962c4352ac2367d065f3 /fountainhead.cabal
parent34d3ece99e438e5e81f4df6ca7a36de307e41b3e (diff)
downloadfountainhead-a34b46e1b553623d5dc385fc8e235df808fbadb2.tar.gz
Add font compression
Diffstat (limited to 'fountainhead.cabal')
-rw-r--r--fountainhead.cabal15
1 files changed, 8 insertions, 7 deletions
diff --git a/fountainhead.cabal b/fountainhead.cabal
index 1271e18..c213d27 100644
--- a/fountainhead.cabal
+++ b/fountainhead.cabal
@@ -12,7 +12,7 @@ author: Eugen Wissner
license-files: LICENSE
license: MPL-2.0
-copyright: (c) 2023 Eugen Wissner
+copyright: (c) 2024 Eugen Wissner
category: Graphics
extra-source-files:
@@ -21,6 +21,7 @@ extra-source-files:
common dependencies
build-depends:
+ base >= 4.16 && < 5,
bytestring ^>= 0.11.0,
text ^>= 2.0,
zlib ^>= 0.6.3
@@ -30,13 +31,13 @@ library
import: dependencies
exposed-modules:
Graphics.Fountainhead
+ Graphics.Fountainhead.Compression
Graphics.Fountainhead.Dumper
Graphics.Fountainhead.Parser
Graphics.Fountainhead.Type
Graphics.Fountainhead.TrueType
- hs-source-dirs: src
+ hs-source-dirs: lib
build-depends:
- base >= 4.16 && < 5,
containers ^>= 0.6.5,
megaparsec ^>= 9.3,
time ^>= 1.12,
@@ -53,13 +54,13 @@ executable fountainhead
DuplicateRecordFields
ExplicitForAll
build-depends:
- base,
containers,
+ fountainhead,
+ megaparsec,
+ optparse-applicative ^>= 0.18.1,
parser-combinators,
vector,
transformers,
- time,
- megaparsec,
- fountainhead
+ time
hs-source-dirs: app
ghc-options: -Wall