Skip to content

Commit b910ec1

Browse files
authored
Merge pull request #27518 from Frigory33/release-allegro5-0.2
[new release] allegro5 (0.2)
2 parents bff48ba + 2e44a69 commit b910ec1

File tree

4 files changed

+85
-1
lines changed
  • packages
    • allegro5/allegro5.0.2
    • 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

4 files changed

+85
-1
lines changed

packages/allegro5/allegro5.0.2/opam

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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"

packages/conf-allegro5/conf-allegro5.1/opam

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,13 @@ depexts: [
3333
["allegro"] {os-distribution = "homebrew"}
3434
["allegro5"] {os = "freebsd"}
3535
["allegro5"] {os = "netbsd"}
36-
["mingw-w64-allegro"] {os-distribution = "msys2"}
3736
]
3837
synopsis: "Virtual package relying on Allegro 5 development libraries"
3938
description:
4039
"This package can only install if Allegro 5 development libraries are accessible through pkg-config."
4140
depends: [
4241
"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"})
4344
]
4445
flags: conf
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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+
]
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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+
]

0 commit comments

Comments
 (0)