From e573944dde8fbb1db612e0257e42584b0daf41c3 Mon Sep 17 00:00:00 2001 From: Sylvain Chiron Date: Thu, 26 Dec 2024 15:33:53 +0100 Subject: [PATCH] Add conf-allegro5 package --- packages/conf-allegro5/conf-allegro5.1/opam | 44 +++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 packages/conf-allegro5/conf-allegro5.1/opam diff --git a/packages/conf-allegro5/conf-allegro5.1/opam b/packages/conf-allegro5/conf-allegro5.1/opam new file mode 100644 index 00000000000..43638e3b813 --- /dev/null +++ b/packages/conf-allegro5/conf-allegro5.1/opam @@ -0,0 +1,44 @@ +opam-version: "2.0" +maintainer: "allegro-developers@lists.liballeg.org" +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