File: gi-cairo-render.cabal

package info (click to toggle)
haskell-gi-cairo-render 0.1.2-3
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 228 kB
  • sloc: haskell: 1,176; ansic: 12; makefile: 5
file content (78 lines) | stat: -rw-r--r-- 3,525 bytes parent folder | download | duplicates (2)
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
Name:           gi-cairo-render
Version:        0.1.2
License:        BSD3
License-file:   LICENSE
Copyright:      (c) 2018 Kilian Kilger, (c) 2001-2010 The Gtk2Hs Team, (c) Paolo Martini 2005, (c) Abraham Egnor 2003, 2004, (c) Aetion Technologies LLC 2004
Author:         Axel Simon, Duncan Coutts
Maintainer:     Kilian Kilger (kkilger@gmail.com)
Build-Type:     Simple
Cabal-Version:  2.0
Stability:      experimental
homepage:       https://github.com/cohomology/gi-cairo-render
bug-reports:    https://github.com/cohomology/gi-cairo-render/issues
Synopsis:       GI friendly Binding to the Cairo library.
Description:    Cairo is a library to render high quality vector graphics. There
                exist various backends that allows rendering to Gtk windows, PDF,
                PS, PNG and SVG documents, amongst others.
Category:       Graphics
Tested-With:    GHC == 8.10.2, GHC == 8.6.4
extra-source-files: include/gi-cairo-render.h,
                    ChangeLog.md

Source-Repository head
  type:         git
  location:     https://github.com/cohomology/gi-cairo-render
  subdir:       gi-cairo-render

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
        build-depends:    base >= 4 && < 5,
                          utf8-string >= 0.2 && < 1.1,
                          text >= 1.0.0.0 && < 3,
                          haskell-gi-base >= 0.24 && <0.27,
                          bytestring >= 0.10, 
                          mtl >= 2.2, 
                          array >= 0.5
        build-tool-depends: c2hs:c2hs >= 0.28 && <0.30
        exposed-modules:  GI.Cairo.Render
                          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
        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
        default-language:   Haskell2010
        default-extensions: ForeignFunctionInterface
        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=