Open seanballais opened 4 years ago
I think most parts of this issue are done via https://github.com/conan-io/conan/issues/7307
However, maybe we should reverse the logic here: https://github.com/conan-io/conan-center-index/blob/a0527130d23116361ec3a28399daceaafd112e63/recipes/opengl/all/conanfile.py#L50
To use on more distribution the new package, we should default to it and only use the old one when we detect an specific old distro/version combo
Package Details
This issue is going under the presumption that Conan will recognize elementaryOS (an Ubuntu-based distro) as a distro that uses
apt
(conan-io/conan#7307), which currently does not. In the moment that it does, theopengl/system
recipe should be updated to uselibgl-dev
instead oflibgl1-mesa-dev
when using the upcoming elementaryOS 6.0, which will be based on Ubuntu 20.04, or later. Earlier versions of elementaryOS should uselibgl1-mesa-dev
.