this repo has no description
1opam-version: "2.0"
2maintainer: "garrigue@math.nagoya-u.ac.jp"
3authors: ["Jacques Garrigue et al., Nagoya University"]
4homepage: "https://garrigue.github.io/lablgtk/"
5bug-reports: "https://github.com/garrigue/lablgtk/issues"
6dev-repo: "git+https://github.com/garrigue/lablgtk.git"
7license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
8build: [
9 ["./configure" "--prefix" prefix "LABLGLDIR=%{lib}%/lablgl"]
10 [make "world"]
11]
12install: [
13 [make "install"]
14]
15depends: [
16 "ocaml" {>= "4.05" & < "4.09"}
17 "ocamlfind" {>= "1.2.1"}
18 "conf-gtk2" {build}
19]
20depopts: [
21 "conf-gtksourceview"
22 "conf-gnomecanvas"
23 "conf-glade"
24 "lablgl"
25]
26patches: ["lablgldir.patch"]
27post-messages: [
28 "This package requires gtk+ 2.0 development packages installed on your system"
29 {failure}
30 """
31To solve pkg-config issues, you may need to do
32'export PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig' and retry"""
33 {failure & os = "macos"}
34]
35synopsis: "OCaml interface to GTK+"
36url {
37 src: "https://github.com/garrigue/lablgtk/archive/2.18.9.tar.gz"
38 checksum: [
39 "sha256=c8968f24bfe3459823637d13ba12e70338cf88d3e602994763d593ce550db51f"
40 "md5=b63f070946237c089d386af525fd561c"
41 ]
42}
43extra-source "lablgtk.install" {
44 src:
45 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/lablgtk/lablgtk.install"
46 checksum: [
47 "sha256=a7254f258d43669943ababb0846017096262938bccc2f0d62cbc53687cd77d15"
48 "md5=1a3468258dd50aab33b9844db158b11a"
49 ]
50}
51extra-source "lablgldir.patch" {
52 src:
53 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/lablgtk/lablgldir.patch.2.18.9"
54 checksum: [
55 "sha256=8fd8ebf91a84e6c9ebca6396a3711e2369a3e78b25d0b4613704ea689cf504bd"
56 "md5=8cf5f3efbcb7bb8294424c30f77ea81f"
57 ]
58}