Skip to content

Commit

Permalink
use version range for libpng, meson & pkgconf + bump libjpeg-turbo
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceIm committed Sep 11, 2024
1 parent 1266024 commit 870d3ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions recipes/thorvg/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,19 +121,19 @@ def validate(self):
def requirements(self):
loaders_opt = str(self.options.with_loaders)
if loaders_opt in ("all", "jpg"):
self.requires("libjpeg-turbo/3.0.2")
self.requires("libjpeg-turbo/3.0.3")
if loaders_opt in ("all", "png"):
self.requires("libpng/1.6.43")
self.requires("libpng/[>=1.6 <2]")
if loaders_opt in ("all", "webp"):
self.requires("libwebp/1.4.0")
if self.settings.os == "Linux":
if self.options.with_engines in ["gl", "gl_beta"]:
self.requires("opengl/system")

def build_requirements(self):
self.tool_requires("meson/1.4.0")
self.tool_requires("meson/[>=1.2.3 <2]")
if not self.conf.get("tools.gnu:pkg_config", default=False, check_type=str):
self.tool_requires("pkgconf/2.1.0")
self.tool_requires("pkgconf/[>=2.2 <3]")

def source(self):
get(self, **self.conan_data["sources"][self.version], strip_root=True)
Expand Down

0 comments on commit 870d3ae

Please sign in to comment.