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.06" & < "5.0.0"}
17 "ocamlfind" {>= "1.2.1"}
18 "conf-gtk2" {build}
19]
20depopts: [
21 "conf-gtksourceview"
22 "conf-gnomecanvas"
23 "conf-glade"
24 "lablgl"
25]
26conflicts: [
27 "base-domains"
28]
29patches: ["lablgldir.patch"]
30post-messages: [
31 "This package requires gtk+ 2.0 development packages installed on your system"
32 {failure}
33 """
34To solve pkg-config issues, you may need to do
35'export PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig' and retry"""
36 {failure & os = "macos"}
37]
38synopsis: "OCaml interface to GTK+"
39url {
40 src: "https://github.com/garrigue/lablgtk/archive/2.18.12.tar.gz"
41 checksum: [
42 "sha256=43b2640b6b6d6ba352fa0c4265695d6e0b5acb8eb1da17290493e99ae6879b18"
43 "md5=96e5ee228ce26c7ec71a253f87e6d7f7"
44 ]
45}
46extra-source "lablgtk.install" {
47 src:
48 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/lablgtk/lablgtk.install"
49 checksum: [
50 "sha256=a7254f258d43669943ababb0846017096262938bccc2f0d62cbc53687cd77d15"
51 "md5=1a3468258dd50aab33b9844db158b11a"
52 ]
53}
54extra-source "lablgldir.patch" {
55 src:
56 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/lablgtk/lablgldir.patch.2.18.12"
57 checksum: [
58 "sha256=018a0f6006413258878ac550e078fa29a6f42f63ae7b6a50f38d116128f21b73"
59 "md5=ea7cb50e7f6aa85968063d059ab46c44"
60 ]
61}