Skip to content

Commit

Permalink
(#23725) libdrm: Disable man-page generation
Browse files Browse the repository at this point in the history
* libdrm: Disable man-page generation

* Bump pkgconf
  • Loading branch information
jwillikers authored Apr 24, 2024
1 parent a3214f7 commit 6019de9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion recipes/libdrm/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def validate(self):
def build_requirements(self):
self.tool_requires("meson/1.4.0")
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.0")

def source(self):
get(self, **self.conan_data["sources"][self.version], strip_root=True)
Expand Down Expand Up @@ -118,6 +118,7 @@ def generate(self):

tc.project_options["datadir"] = "res"
tc.project_options["mandir"] = os.path.join("res", "man")
tc.project_options["man-pages"] = "disabled" if Version(self.version) >= "2.4.113" else "false"
tc.generate()

def build(self):
Expand Down

0 comments on commit 6019de9

Please sign in to comment.