opam-version: "2.0"
synopsis: "Virtual package relying on a GLFW3 system installation"
description: "This package can only install if libglfw3 is installed on the system."
maintainer: "Sylvain BOILARD <boilard@crans.org>"
authors: ["Sylvain BOILARD <boilard@crans.org>"]
homepage: "http://www.glfw.org"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
license: "Zlib"
flags: conf
build: ["pkg-config" "--print-errors" "--exists" "glfw3"]
depends: [
  "conf-pkg-config" {build}
]
depexts: [
  ["libglfw3-dev"] {os-family = "debian"}
  ["libglfw3-dev"] {os-family = "ubuntu"}
  ["glfw-devel" "epel-release" "mesa-libGL-devel"]
    {os-distribution = "centos"}
  ["glfw-devel" "mesa-libGL-devel"] {os-distribution = "rhel"}
  ["glfw-devel" "mesa-libGL-devel"] {os-distribution = "fedora"}
  ["libglfw-devel" "mesagl-devel"] {os-distribution = "mageia"}
  ["libglfw-devel" "Mesa-libGL-devel"] {os-family = "suse"}
  ["glfw-dev"] {os-family = "alpine"}
  ["glfw"] {os-family = "arch"}
  ["glfw"] {os = "macos" & os-distribution = "homebrew"}
]
x-ci-accept-failures: [
  "oraclelinux-7"
  "oraclelinux-8"
]
