-
Notifications
You must be signed in to change notification settings - Fork 12
/
opam
64 lines (60 loc) · 1.64 KB
/
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
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
opam-version: "2.0"
name: "vg"
synopsis: "Declarative 2D vector graphics for OCaml"
description: """\
Vg is a declarative 2D vector graphics library. Images are values that
denote functions mapping points of the cartesian plane to colors and
combinators are provided to define and compose them.
Renderers for PDF, SVG, Cairo and the HTML canvas are distributed with the
module. An API allows to implement new renderers.
Vg is distributed under the ISC license. Vg and the SVG renderer
depend on [Gg]. The PDF renderer depends on [Otfm], the HTML canvas
renderer depends on [Brr], the Cairo renderer depends on [cairo2].
[Gg]: http://erratique.ch/software/gg
[Otfm]: http://erratique.ch/software/otfm
[Brr]: http://erratique.ch/software/brr
[cairo2]: https://github.com/Chris00/ocaml-cairo
Home page: http://erratique.ch/software/vg"""
maintainer: "Daniel Bünzli <daniel.buenzl i@erratique.ch>"
authors: "The vg programmers"
license: "ISC"
tags: [
"pdf"
"svg"
"canvas"
"cairo"
"browser"
"declarative"
"graphics"
"org:erratique"
]
homepage: "https://erratique.ch/software/vg"
doc: "https://erratique.ch/software/vg/doc"
bug-reports: "https://github.com/dbuenzli/vg/issues"
depends: [
"ocaml" {>= "4.14.0"}
"ocamlfind" {build}
"ocamlbuild" {build}
"topkg" {build & >= "1.0.3"}
"gg" {>= "1.0.0"}
]
depopts: ["brr" "cairo2" "otfm"]
conflicts: [
"brr" {< "0.0.6"}
"cairo2" {< "0.6"}
"otfm" {< "0.3.0"}
]
build: [
"ocaml"
"pkg/pkg.ml"
"build"
"--dev-pkg"
"%{dev}%"
"--with-brr"
"%{brr:installed}%"
"--with-cairo2"
"%{cairo2:installed}%"
"--with-otfm"
"%{otfm:installed}%"
]
dev-repo: "git+https://erratique.ch/repos/vg.git"