forked from Chris00/ocaml-cairo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cairo2.opam
39 lines (39 loc) · 1.4 KB
/
cairo2.opam
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
opam-version: "2.0"
maintainer: "Christophe Troestler <[email protected]>"
authors: [ "Christophe Troestler <[email protected]>"
"Pierre Hauweele <[email protected]>" ]
license: "LGPL-3.0"
homepage: "https://github.com/Chris00/ocaml-cairo"
dev-repo: "git+https://github.com/Chris00/ocaml-cairo.git"
bug-reports: "https://github.com/Chris00/ocaml-cairo/issues"
doc: "https://Chris00.github.io/ocaml-cairo/doc"
tags: ["Cairo" "stroke" "drawing" "tutorial"]
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
["dune" "build" "@doc" "-p" name "-j" jobs] {with-doc}
]
depends: [
"ocaml" {>= "4.03"}
"base-bigarray"
"dune" {>= "2.7.0"}
"dune-configurator" {>= "2.7.0"}
"conf-cairo"
]
depopts: [
"conf-freetype"
]
conflicts: [
"cairo" {= "0.4.1"}
"cairo" {= "0.4.2"}
]
post-messages: [
"Try to re-run the install command with PKG_CONFIG_PATH pointing a pkg-config path including libffi, e.g. if you use homebrew you can try PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig" {failure & os = "macos"}
]
synopsis: "Binding to Cairo, a 2D Vector Graphics Library"
description: """
This is a binding to Cairo, a 2D graphics library with support for
multiple output devices. Currently supported output targets include
the X Window System, Quartz, Win32, image buffers, PostScript, PDF,
and SVG file output."""