-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27169 from Frigory33/release-allegro5-0.1
[new release] allegro5 (0.1)
- Loading branch information
Showing
2 changed files
with
90 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
opam-version: "2.0" | ||
synopsis: "OCaml Allegro 5" | ||
description: "An OCaml binding of the Allegro 5 game & multimedia C library" | ||
maintainer: ["Sylvain Chiron <[email protected]>"] | ||
authors: ["Sylvain Chiron <[email protected]>"] | ||
license: "LGPL-3.0-or-later" | ||
homepage: "https://github.com/Frigory33/ocaml-allegro-5" | ||
bug-reports: "https://github.com/Frigory33/ocaml-allegro-5/issues" | ||
depends: [ | ||
"ocaml" {>= "4.08"} | ||
"dune" {>= "2.9"} | ||
"conf-allegro5" | ||
"odoc" {with-doc} | ||
] | ||
build: [ | ||
["dune" "subst"] {dev} | ||
[ | ||
"dune" | ||
"build" | ||
"-p" | ||
name | ||
"-j" | ||
jobs | ||
"--promote-install-files=false" | ||
"@install" | ||
"@runtest" {with-test} | ||
"@doc" {with-doc} | ||
] | ||
["dune" "install" "-p" name "--create-install-files" name] | ||
] | ||
dev-repo: "git+https://github.com/Frigory33/ocaml-allegro-5.git" | ||
post-messages: [ | ||
"""\ | ||
We're sorry that your install failed. Please check in the README.md file | ||
what minimal version of Allegro this package requires.""" | ||
{failure} | ||
] | ||
url { | ||
src: | ||
"https://github.com/Frigory33/ocaml-allegro-5/releases/download/0.1/allegro5-0.1.tbz" | ||
checksum: [ | ||
"sha256=330291289db836b9f555cfd73a673654e27bf47e05115bf0990db76c23cc770b" | ||
"sha512=e29664381a381bb846d244144fefc427c6287fb1064bae0f7bf755a6d72683b385d21bc2d14750a10bcc5c362ef5d9a4adfb5b610cf99e7b45273cd132000ffc" | ||
] | ||
} | ||
x-commit-hash: "a9c2b91f6a298cfc4c7aa0fd7e22db4bc4150636" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
opam-version: "2.0" | ||
maintainer: "[email protected]" | ||
homepage: "https://liballeg.org" | ||
authors: "The Allegro authors" | ||
bug-reports: "https://github.com/ocaml/opam-repository/issues" | ||
license: "Giftware" | ||
build: ["pkg-config" "allegro-5"] | ||
depexts: [ | ||
[ | ||
"allegro5-devel" | ||
"allegro5-addon-acodec-devel" | ||
"allegro5-addon-audio-devel" | ||
"allegro5-addon-dialog-devel" | ||
"allegro5-addon-image-devel" | ||
"allegro5-addon-physfs-devel" | ||
"allegro5-addon-ttf-devel" | ||
"allegro5-addon-video-devel" | ||
] {os-distribution = "centos" | os-distribution = "fedora"} | ||
["allegro"] {os-family = "suse" | os-family = "opensuse"} | ||
[ | ||
"liballegro5-dev" | ||
"liballegro-acodec5-dev" | ||
"liballegro-audio5-dev" | ||
"liballegro-dialog5-dev" | ||
"liballegro-image5-dev" | ||
"liballegro-physfs5-dev" | ||
"liballegro-ttf5-dev" | ||
"liballegro-video5-dev" | ||
] {os-family = "debian" | os-family = "ubuntu"} | ||
["allegro5"] {os-distribution = "nixos"} | ||
["allegro"] {os-family = "arch"} | ||
["allegro-dev"] {os-family = "alpine"} | ||
["allegro"] {os-distribution = "homebrew"} | ||
["allegro5"] {os = "freebsd"} | ||
["allegro5"] {os = "netbsd"} | ||
["mingw-w64-allegro"] {os-distribution = "msys2"} | ||
] | ||
synopsis: "Virtual package relying on Allegro 5 development libraries" | ||
description: | ||
"This package can only install if Allegro 5 development libraries are accessible through pkg-config." | ||
depends: [ | ||
"conf-pkg-config" {build} | ||
] | ||
flags: conf |