File tree Expand file tree Collapse file tree 4 files changed +85
-1
lines changed
conf-allegro5/conf-allegro5.1
conf-mingw-w64-allegro5-i686/conf-mingw-w64-allegro5-i686.1
conf-mingw-w64-allegro5-x86_64/conf-mingw-w64-allegro5-x86_64.1 Expand file tree Collapse file tree 4 files changed +85
-1
lines changed Original file line number Diff line number Diff line change
1
+ opam-version: "2.0"
2
+ synopsis: "OCaml Allegro 5"
3
+ description: "An OCaml binding of the Allegro 5 game & multimedia C library"
4
+ maintainer: ["Sylvain Chiron <
[email protected] >"]
5
+ authors: ["Sylvain Chiron <
[email protected] >"]
6
+ license: "LGPL-3.0-or-later"
7
+ homepage: "https://github.com/Frigory33/ocaml-allegro-5"
8
+ doc: "https://frigory33.github.io/ocaml-allegro-5/"
9
+ bug-reports: "https://github.com/Frigory33/ocaml-allegro-5/issues"
10
+ depends: [
11
+ "ocaml" {>= "4.08"}
12
+ "dune" {>= "2.9"}
13
+ "conf-allegro5"
14
+ "odoc" {with-doc}
15
+ ]
16
+ build: [
17
+ ["dune" "subst"] {dev}
18
+ [
19
+ "dune"
20
+ "build"
21
+ "-p"
22
+ name
23
+ "-j"
24
+ jobs
25
+ "--promote-install-files=false"
26
+ "@install"
27
+ "@runtest" {with-test}
28
+ "@doc" {with-doc}
29
+ ]
30
+ ["dune" "install" "-p" name "--create-install-files" name]
31
+ ]
32
+ dev-repo: "git+https://github.com/Frigory33/ocaml-allegro-5.git"
33
+ post-messages: [
34
+ """\
35
+ We're sorry that your install failed. Please check in the README.md file
36
+ what minimal version of Allegro this package requires."""
37
+ {failure}
38
+ ]
39
+ url {
40
+ src:
41
+ "https://github.com/Frigory33/ocaml-allegro-5/releases/download/0.2/allegro5-0.2.tbz"
42
+ checksum: [
43
+ "sha256=b26b096283bc972c1d1aeeed4209fd8646e7e330fd971bf05ddfc175a223c7ad"
44
+ "sha512=8dc54cb4f4428e6a30e81bd79f8d76391d954e75bed4090e7a99a20bdf9a1b9f162935821f7886988796761c9297028132378c24d90ca8fc3e0c534a5896140f"
45
+ ]
46
+ }
47
+ x-commit-hash: "8d4ad6f9e9500fd6dd74c09df81fb94e4756971c"
Original file line number Diff line number Diff line change @@ -33,12 +33,13 @@ depexts: [
33
33
["allegro"] {os-distribution = "homebrew"}
34
34
["allegro5"] {os = "freebsd"}
35
35
["allegro5"] {os = "netbsd"}
36
- ["mingw-w64-allegro"] {os-distribution = "msys2"}
37
36
]
38
37
synopsis: "Virtual package relying on Allegro 5 development libraries"
39
38
description:
40
39
"This package can only install if Allegro 5 development libraries are accessible through pkg-config."
41
40
depends: [
42
41
"conf-pkg-config" {build}
42
+ ("host-arch-x86_32" {os-distribution = "msys2"} & "conf-mingw-w64-sdl2-i686" {os-distribution = "msys2"} |
43
+ "host-arch-x86_64" {os-distribution = "msys2"} & "conf-mingw-w64-sdl2-x86_64" {os-distribution = "msys2"})
43
44
]
44
45
flags: conf
Original file line number Diff line number Diff line change
1
+ opam-version: "2.0"
2
+ authors: "The Allegro authors"
3
+ homepage: "https://liballeg.org"
4
+ bug-reports: "https://github.com/ocaml/opam-repository/issues"
5
+ license: "Giftware"
6
+ flags: conf
7
+ available: os = "win32"
8
+ build: ["pkgconf" "--personality=i686-w64-mingw32" "allegro5"]
9
+ depends: [
10
+ "conf-pkg-config" {build}
11
+ ]
12
+ synopsis: "allegro5 for i686 mingw-w64"
13
+ description:
14
+ "Ensure the i686 version of allegro5 for the mingw-w64 project is available"
15
+ maintainer: "Sylvain Chiron <
[email protected] >"
16
+ depexts: [
17
+ ["mingw-w64-i686-allegro5"] {os = "win32" & os-distribution = "msys2"}
18
+ ]
Original file line number Diff line number Diff line change
1
+ opam-version: "2.0"
2
+ authors: "The Allegro authors"
3
+ homepage: "https://liballeg.org"
4
+ bug-reports: "https://github.com/ocaml/opam-repository/issues"
5
+ license: "Giftware"
6
+ flags: conf
7
+ available: os = "win32"
8
+ build: ["pkgconf" "--personality=x86_64-w64-mingw32" "allegro5"]
9
+ depends: [
10
+ "conf-pkg-config" {build}
11
+ ]
12
+ synopsis: "allegro5 for x86_64 mingw-w64"
13
+ description:
14
+ "Ensure the x86_64 version of allegro5 for the mingw-w64 project is available"
15
+ maintainer: "Sylvain Chiron <
[email protected] >"
16
+ depexts: [
17
+ ["mingw-w64-x86_64-allegro5"] {os = "win32" & os-distribution = "msys2"}
18
+ ]
You can’t perform that action at this time.
0 commit comments