opam-version: "2.0" maintainer: "garrigue@math.nagoya-u.ac.jp" authors: ["Jacques Garrigue et al., Nagoya University"] homepage: "https://garrigue.github.io/lablgtk/" bug-reports: "https://github.com/garrigue/lablgtk/issues" dev-repo: "git+https://github.com/garrigue/lablgtk.git" license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" build: [ ["./configure" "--prefix" prefix "LABLGLDIR=%{lib}%/lablgl"] [make "world"] ] install: [ [make "install"] ] depends: [ "ocaml" {>= "4.05" & < "5.0.0"} "ocamlfind" {>= "1.2.1"} "conf-gtk2" {build} ] depopts: [ "conf-gtksourceview" "conf-gnomecanvas" "conf-glade" "lablgl" ] conflicts: [ "base-domains" ] patches: ["lablgldir.patch"] post-messages: [ "This package requires gtk+ 2.0 development packages installed on your system" {failure} """ To solve pkg-config issues, you may need to do 'export PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig' and retry""" {failure & os = "macos"} ] synopsis: "OCaml interface to GTK+" url { src: "https://github.com/garrigue/lablgtk/archive/2.18.11.tar.gz" checksum: [ "sha256=ff3c551df4e220b0c0fb9a3da6429413bff14f8fc93f4dd6807a35463982c863" "md5=a21a5b52bfd8de0fad705e67817750ef" ] } extra-source "lablgtk.install" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/lablgtk/lablgtk.install" checksum: [ "sha256=a7254f258d43669943ababb0846017096262938bccc2f0d62cbc53687cd77d15" "md5=1a3468258dd50aab33b9844db158b11a" ] } extra-source "lablgldir.patch" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/lablgtk/lablgldir.patch.2.18.11" checksum: [ "sha256=8fd8ebf91a84e6c9ebca6396a3711e2369a3e78b25d0b4613704ea689cf504bd" "md5=8cf5f3efbcb7bb8294424c30f77ea81f" ] }