doxygen: add v1.12.0 (#46752)

This commit is contained in:
Wouter Deconinck 2024-10-03 18:59:35 -05:00 committed by GitHub
parent d3a0904790
commit 8f5af6eb7a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,6 +20,7 @@ class Doxygen(CMakePackage):
license("GPL-2.0-or-later")
version("1.12.0", sha256="5ca35e1258020df5fe8b21c3656aed156c317def4a81b7fe52f452edc9f35768")
version("1.11.0", sha256="1fea49c69e51fec3dd2599947f6d48d9b1268bd5115b1bb08dffefc1fd5d19ee")
version("1.10.0", sha256="795692a53136ca9bb9a6cd72656968af7858a78be7d6d011e12ab1dce6b9533c")
version("1.9.8", sha256="77371e8a58d22d5e03c52729844d1043e9cbf8d0005ec5112ffa4c8f509ddde8")
@ -136,16 +137,18 @@ def determine_variants(cls, exes, version_str):
def patch(self):
if self.spec["iconv"].name != "libiconv":
return
# On Linux systems, iconv is provided by libc. Since CMake finds the
# symbol in libc, it does not look for libiconv, which leads to linker
# errors. This makes sure that CMake always looks for the external
# libconv instead.
filter_file(
"check_function_exists(iconv_open ICONV_IN_GLIBC)",
"set(ICONV_IN_GLIBC FALSE)",
join_path("cmake", "FindIconv.cmake"),
string=True,
)
if self.spec.satisfies("@:1.11"):
# On Linux systems, iconv is provided by libc. Since CMake finds the
# symbol in libc, it does not look for libiconv, which leads to linker
# errors. This makes sure that CMake always looks for the external
# libconv instead.
filter_file(
"check_function_exists(iconv_open ICONV_IN_GLIBC)",
"set(ICONV_IN_GLIBC FALSE)",
join_path("cmake", "FindIconv.cmake"),
string=True,
)
def cmake_args(self):
return [