Skip to content

Commit 2c9566f

Browse files
authored
Merge pull request ocaml#27322 from garrigue/lablgtk-2.18.14
relase lablgtk 2.18.14
2 parents aa131f3 + 0fa6b40 commit 2c9566f

File tree

1 file changed

+62
-0
lines changed
  • packages/lablgtk/lablgtk.2.18.14

1 file changed

+62
-0
lines changed

packages/lablgtk/lablgtk.2.18.14/opam

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

0 commit comments

Comments
 (0)