Skip to content

Commit

Permalink
Use opam 2.0 format
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris00 committed Oct 10, 2018
1 parent aa67b67 commit b9732b4
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 35 deletions.
1 change: 0 additions & 1 deletion cairo2-gtk.descr

This file was deleted.

19 changes: 11 additions & 8 deletions cairo2-gtk.opam
Original file line number Diff line number Diff line change
@@ -1,25 +1,28 @@
opam-version: "1.2"
opam-version: "2.0"
maintainer: "Christophe Troestler <Christophe.Troestler@umons.ac.be>"
authors: [ "Christophe Troestler <Christophe.Troestler@umons.ac.be>"
"Pierre Hauweele <pierre@hauweele.net>" ]
license: "LGPL-3.0 with OCaml linking exception"
homepage: "https://github.com/Chris00/ocaml-cairo"
dev-repo: "https://github.com/Chris00/ocaml-cairo.git"
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" ]
tags: ["Cairo" "stroke" "drawing" "tutorial"]
build: [
[ "dune" "subst" ] {pinned}
[ "dune" "build" "-p" name "-j" jobs ]
["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
["dune" "build" "@doc"] {with-doc}
]
build-doc: [ "dune" "build" "@doc" ]
depends: [
"ocaml" {>= "4.02"}
"base-bigarray"
"dune" {build}
"conf-pkg-config" {build}
"conf-cairo"
"cairo2"
"lablgtk2"
]
available: [ ocaml-version >= "4.02" ]

synopsis: "Rendering Cairo on Gtk canvas"
description: """
This provides the link between Cairo and Lablgtk.
"""
1 change: 0 additions & 1 deletion cairo2-pango.descr

This file was deleted.

19 changes: 11 additions & 8 deletions cairo2-pango.opam
Original file line number Diff line number Diff line change
@@ -1,25 +1,28 @@
opam-version: "1.2"
opam-version: "2.0"
maintainer: "Christophe Troestler <Christophe.Troestler@umons.ac.be>"
authors: [ "Christophe Troestler <Christophe.Troestler@umons.ac.be>"
"Pierre Hauweele <pierre@hauweele.net>" ]
license: "LGPL-3.0 with OCaml linking exception"
homepage: "https://github.com/Chris00/ocaml-cairo"
dev-repo: "https://github.com/Chris00/ocaml-cairo.git"
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" ]
tags: ["Cairo" "stroke" "drawing" "tutorial"]
build: [
[ "dune" "subst" ] {pinned}
[ "dune" "build" "-p" name "-j" jobs ]
["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
["dune" "build" "@doc"] {with-doc}
]
build-doc: [ "dune" "build" "@doc" ]
depends: [
"ocaml" {>= "4.02"}
"base-bigarray"
"dune" {build}
"conf-pkg-config" {build}
"conf-cairo"
"cairo2"
"lablgtk2"
]
available: [ ocaml-version >= "4.02" ]

synopsis: "Interface between Cairo and Pango"
description: """
Interface lablgtk Pango interface with Cairo.
"""
6 changes: 0 additions & 6 deletions cairo2.descr

This file was deleted.

25 changes: 14 additions & 11 deletions cairo2.opam
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
opam-version: "1.2"
opam-version: "2.0"
maintainer: "Christophe Troestler <Christophe.Troestler@umons.ac.be>"
authors: [ "Christophe Troestler <Christophe.Troestler@umons.ac.be>"
"Pierre Hauweele <pierre@hauweele.net>" ]
license: "LGPL-3.0 with OCaml linking exception"
homepage: "https://github.com/Chris00/ocaml-cairo"
dev-repo: "https://github.com/Chris00/ocaml-cairo.git"
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" ]
tags: ["Cairo" "stroke" "drawing" "tutorial"]
build: [
[ "dune" "subst" ] {pinned}
[ "dune" "build" "-p" name "-j" jobs ]
["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
["dune" "build" "@doc"] {with-doc}
]
build-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
build-doc: [ "dune" "build" "@doc" ]
depends: [
"ocaml" {>= "4.02"}
"base-bigarray"
"dune" {build}
"conf-cairo"
Expand All @@ -28,5 +27,9 @@ conflicts: [
"cairo" {= "0.4.1"}
"cairo" {= "0.4.2"}
]
available: [ ocaml-version >= "4.02" ]

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."""

0 comments on commit b9732b4

Please sign in to comment.