this repo has no description
1opam-version: "2.0"
2maintainer: "Christophe Troestler <Christophe.Troestler@umons.ac.be>"
3authors: [ "Christophe Troestler <Christophe.Troestler@umons.ac.be>"
4 "Pierre Hauweele <pierre@hauweele.net>" ]
5license: "LGPL-3.0-only WITH OCaml-LGPL-linking-exception"
6homepage: "https://github.com/Chris00/ocaml-cairo"
7dev-repo: "git+https://github.com/Chris00/ocaml-cairo.git"
8bug-reports: "https://github.com/Chris00/ocaml-cairo/issues"
9doc: "https://Chris00.github.io/ocaml-cairo/doc"
10tags: ["Cairo" "stroke" "drawing" "tutorial"]
11build: [
12 ["dune" "subst"] {dev}
13 ["dune" "build" "-p" name "-j" jobs]
14 ["dune" "runtest" "-p" name "-j" jobs] {with-test & ocaml:version < "4.10"}
15 ["dune" "build" "@doc"] {with-doc}
16]
17depends: [
18 "ocaml" {>= "4.02" & < "5.0.0"}
19 "base-bigarray"
20 "dune" {>= "1.1"}
21 "dune-configurator"
22 "conf-cairo"
23]
24depopts: [
25 "conf-freetype"
26]
27conflicts: [
28 "cairo" {= "0.4.1"}
29 "cairo" {= "0.4.2"}
30]
31post-messages: [
32 "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"}
33]
34synopsis: "Binding to Cairo, a 2D Vector Graphics Library"
35description: """
36This is a binding to Cairo, a 2D graphics library with support for
37multiple output devices. Currently supported output targets include
38the X Window System, Quartz, Win32, image buffers, PostScript, PDF,
39and SVG file output."""
40url {
41 src:
42 "https://github.com/Chris00/ocaml-cairo/releases/download/0.6.1/cairo2-0.6.1.tbz"
43 checksum: [
44 "sha256=312982d6ea74cacd51826b40f9fdfe3503d2984afd7c8123d58390b488c364c6"
45 "md5=468f8fdb88431b2cc6c2edcab5082e73"
46 ]
47}