opam-version: "2.0"
synopsis: "The OCaml graphics library"
description: """
The graphics library provides a set of portable drawing
primitives. Drawing takes place in a separate window that is created
when Graphics.open_graph is called.

This library used to be distributed with OCaml up to OCaml 4.08.
"""
maintainer: ["jeremie@dimino.org" "david.allsopp@metastack.com"]
authors: [
  "Xavier Leroy" "Jun Furuse" "J-M Geffroy" "Jacob Navia" "Pierre Weis"
]
license: "LGPL-2.1 with OCaml linking exception"
homepage: "https://github.com/ocaml/graphics"
doc: "https://ocaml.github.io/graphics/"
bug-reports: "https://github.com/ocaml/graphics/issues"
depends: [
  "dune" {>= "1.11"}
  "conf-libX11"
  "ocaml" {>= "4.09.0~~" & < "4.10"}
]
build: [
  ["dune" "subst"] {pinned}
  [
    "dune"
    "build"
    "-p"
    name
    "-j"
    jobs
    "@install"
    "@runtest" {with-test}
    "@doc" {with-doc}
  ]
]
dev-repo: "git+https://github.com/ocaml/graphics.git"
url {
  src:
    "https://github.com/ocaml/graphics/releases/download/5.0.0/graphics-5.0.0.tbz"
  checksum: [
    "sha256=2dcf60d552aeb2b8bf6c1fe1964c5affe8bfe38bc4b86259ee4dcbeba230155d"
    "sha512=7714e4f8cd8757d1ed3e919d00da0e1365b0e24b74560c620c4d4a12f85a62a6bbbb76ce436bed6237876669e4fef883d390ab1faf2b7ef2e07cd6ce838ed222"
  ]
}
