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]
15remove: [["ocamlfind" "remove" "lablgtk2"]]
16depends: [
17 "ocaml" {>= "4.05" & < "4.09"}
18 "ocamlfind" {>= "1.2.1"}
19 "conf-gtk2" {build}
20]
21depopts: [
22 "conf-gtksourceview"
23 "conf-gnomecanvas"
24 "conf-glade"
25 "lablgl"
26]
27patches: ["lablgldir.patch"]
28post-messages: [
29 "This package requires gtk+ 2.0 development packages installed on your system"
30 {failure}
31 """
32To solve pkg-config issues, you may need to do
33'export PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig' and retry"""
34 {failure & os = "macos"}
35]
36synopsis: "OCaml interface to GTK+"
37flags: light-uninstall
38url {
39 src:
40 "https://github.com/garrigue/lablgtk/releases/download/lablgtk2188/lablgtk-2.18.8.tar.gz"
41 checksum: [
42 "sha256=91f59bafd07989ea00080f4fd65512ce339878c7117bf5116bad3b93b64d4de3"
43 "md5=97c1572965a2942133eaff5123775d11"
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.8"
57 checksum: [
58 "sha256=8fd8ebf91a84e6c9ebca6396a3711e2369a3e78b25d0b4613704ea689cf504bd"
59 "md5=8cf5f3efbcb7bb8294424c30f77ea81f"
60 ]
61}