forked from haskell-gi/haskell-gi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gi-cairo.cabal
96 lines (85 loc) · 4.07 KB
/
gi-cairo.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
Name: gi-cairo
Version: 1.0.18
License: LGPL-2.1
License-file: LICENSE
Copyright: (c) 2018 Kilian Kilger, Iñaki García Etxebarria
Author: Iñaki García Etxebarria,
Kilian Kilger
Maintainer: Kilian Kilger ([email protected])
Build-Type: Simple
Cabal-Version: 1.24
homepage: https://github.com/haskell-gi/haskell-gi
bug-reports: https://github.com/haskell-gi/haskell-gi/issues
Synopsis: GI friendly binding to the Cairo library.
Description: This library contains hand-written bindings to the cairo library, suitable for use with bindings generated with haskell-gi.
Category: Graphics
Tested-With: GHC == 8.2.2, GHC == 8.0.2
extra-source-files: README.md ChangeLog.md stack.yaml
Source-Repository head
type: git
location: https://github.com/haskell-gi/haskell-gi
subdir: cairo
Flag cairo_pdf
Description: Build the PDF backend of Cairo.
Flag cairo_ps
Description: Build the PostScript backend of Cairo.
Flag cairo_svg
Description: Build the Scalable Vector Graphics (SVG) backend of Cairo.
Library
default-language: Haskell2010
build-depends: base >= 4 && < 5,
haskell-gi-base >=0.21.0 && <1,
haskell-gi-overloading < 1.1,
utf8-string >= 0.2 && < 1.1,
text >= 1.0.0.0 && < 1.3,
bytestring, mtl, array, containers
default-extensions: ScopedTypeVariables, CPP, OverloadedStrings, NegativeLiterals, ConstraintKinds, TypeFamilies, MultiParamTypeClasses, KindSignatures, FlexibleInstances, UndecidableInstances, DataKinds, FlexibleContexts
other-extensions: PatternSynonyms, ViewPatterns
ghc-options: -fno-warn-unused-imports -fno-warn-warnings-deprecations
exposed-modules: GI.Cairo.Render
GI.Cairo.Render.Connector
GI.Cairo.Render.Matrix
GI.Cairo.Render.Types
-- this module is only meant to be used by
-- other modules implementing a Cairo interface
GI.Cairo.Render.Internal
GI.Cairo
GI.Cairo.Enums
GI.Cairo.Functions
GI.Cairo.Structs
GI.Cairo.Structs.Context
GI.Cairo.Structs.Device
GI.Cairo.Structs.FontFace
GI.Cairo.Structs.FontOptions
GI.Cairo.Structs.Matrix
GI.Cairo.Structs.Path
GI.Cairo.Structs.Pattern
GI.Cairo.Structs.RectangleInt
GI.Cairo.Structs.Region
GI.Cairo.Structs.ScaledFont
GI.Cairo.Structs.Surface
other-modules: GI.Cairo.Render.Internal.Drawing.Cairo
GI.Cairo.Render.Internal.Drawing.Paths
GI.Cairo.Render.Internal.Drawing.Patterns
GI.Cairo.Render.Internal.Drawing.Text
GI.Cairo.Render.Internal.Drawing.Transformations
GI.Cairo.Render.Internal.Fonts.FontOptions
GI.Cairo.Render.Internal.Surfaces.Image
GI.Cairo.Render.Internal.Surfaces.PNG
GI.Cairo.Render.Internal.Surfaces.Surface
GI.Cairo.Render.Internal.Utilities
GI.Cairo.Render.Internal.Surfaces.PDF
GI.Cairo.Render.Internal.Surfaces.PS
GI.Cairo.Render.Internal.Surfaces.SVG
GI.Cairo.Render.Internal.Region
Include-dirs: include
pkgconfig-depends: cairo >= 1.2.0,
cairo-gobject >= 1.13
if flag(cairo_pdf)
pkgconfig-depends: cairo-pdf
if flag(cairo_ps)
pkgconfig-depends: cairo-ps
if flag(cairo_svg)
pkgconfig-depends: cairo-svg
if os(darwin) || os(freebsd)
cpp-options: -D__attribute__(A)= -D_Nullable= -D_Nonnull=