opam-version: "2.0" maintainer: "Christophe Troestler " authors: [ "Christophe Troestler " "Pierre Hauweele " ] license: "LGPL-3.0-only WITH OCaml-LGPL-linking-exception" 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 & ocaml:version < "4.10"} ["dune" "build" "@doc"] {with-doc} ] depends: [ "ocaml" {>= "4.02" & < "5.0.0"} "base-bigarray" "dune" {>= "1.1"} "dune-configurator" "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.""" url { src: "https://github.com/Chris00/ocaml-cairo/releases/download/0.6.1/cairo2-0.6.1.tbz" checksum: [ "sha256=312982d6ea74cacd51826b40f9fdfe3503d2984afd7c8123d58390b488c364c6" "md5=468f8fdb88431b2cc6c2edcab5082e73" ] }