Skip to content

Commit 36f4d2d

Browse files
authored
Merge pull request #27169 from Frigory33/release-allegro5-0.1
[new release] allegro5 (0.1)
2 parents d87296a + ee594a9 commit 36f4d2d

File tree

2 files changed

+90
-0
lines changed
  • packages
    • allegro5/allegro5.0.1
    • conf-allegro5/conf-allegro5.1

2 files changed

+90
-0
lines changed

packages/allegro5/allegro5.0.1/opam

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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+
bug-reports: "https://github.com/Frigory33/ocaml-allegro-5/issues"
9+
depends: [
10+
"ocaml" {>= "4.08"}
11+
"dune" {>= "2.9"}
12+
"conf-allegro5"
13+
"odoc" {with-doc}
14+
]
15+
build: [
16+
["dune" "subst"] {dev}
17+
[
18+
"dune"
19+
"build"
20+
"-p"
21+
name
22+
"-j"
23+
jobs
24+
"--promote-install-files=false"
25+
"@install"
26+
"@runtest" {with-test}
27+
"@doc" {with-doc}
28+
]
29+
["dune" "install" "-p" name "--create-install-files" name]
30+
]
31+
dev-repo: "git+https://github.com/Frigory33/ocaml-allegro-5.git"
32+
post-messages: [
33+
"""\
34+
We're sorry that your install failed. Please check in the README.md file
35+
what minimal version of Allegro this package requires."""
36+
{failure}
37+
]
38+
url {
39+
src:
40+
"https://github.com/Frigory33/ocaml-allegro-5/releases/download/0.1/allegro5-0.1.tbz"
41+
checksum: [
42+
"sha256=330291289db836b9f555cfd73a673654e27bf47e05115bf0990db76c23cc770b"
43+
"sha512=e29664381a381bb846d244144fefc427c6287fb1064bae0f7bf755a6d72683b385d21bc2d14750a10bcc5c362ef5d9a4adfb5b610cf99e7b45273cd132000ffc"
44+
]
45+
}
46+
x-commit-hash: "a9c2b91f6a298cfc4c7aa0fd7e22db4bc4150636"
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
opam-version: "2.0"
2+
maintainer: "[email protected]"
3+
homepage: "https://liballeg.org"
4+
authors: "The Allegro authors"
5+
bug-reports: "https://github.com/ocaml/opam-repository/issues"
6+
license: "Giftware"
7+
build: ["pkg-config" "allegro-5"]
8+
depexts: [
9+
[
10+
"allegro5-devel"
11+
"allegro5-addon-acodec-devel"
12+
"allegro5-addon-audio-devel"
13+
"allegro5-addon-dialog-devel"
14+
"allegro5-addon-image-devel"
15+
"allegro5-addon-physfs-devel"
16+
"allegro5-addon-ttf-devel"
17+
"allegro5-addon-video-devel"
18+
] {os-distribution = "centos" | os-distribution = "fedora"}
19+
["allegro"] {os-family = "suse" | os-family = "opensuse"}
20+
[
21+
"liballegro5-dev"
22+
"liballegro-acodec5-dev"
23+
"liballegro-audio5-dev"
24+
"liballegro-dialog5-dev"
25+
"liballegro-image5-dev"
26+
"liballegro-physfs5-dev"
27+
"liballegro-ttf5-dev"
28+
"liballegro-video5-dev"
29+
] {os-family = "debian" | os-family = "ubuntu"}
30+
["allegro5"] {os-distribution = "nixos"}
31+
["allegro"] {os-family = "arch"}
32+
["allegro-dev"] {os-family = "alpine"}
33+
["allegro"] {os-distribution = "homebrew"}
34+
["allegro5"] {os = "freebsd"}
35+
["allegro5"] {os = "netbsd"}
36+
["mingw-w64-allegro"] {os-distribution = "msys2"}
37+
]
38+
synopsis: "Virtual package relying on Allegro 5 development libraries"
39+
description:
40+
"This package can only install if Allegro 5 development libraries are accessible through pkg-config."
41+
depends: [
42+
"conf-pkg-config" {build}
43+
]
44+
flags: conf

0 commit comments

Comments
 (0)