diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-06-10 07:35:09 +0530 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-06-10 23:26:07 +0300 |
commit | 26e11f5fd88c2bb65fe692015cf9c6ae9afcbcf0 (patch) | |
tree | aa456e44a19c68a08ef990b0ecc8bd3d5d90b355 | |
parent | 2d1fc25599adf349ae62504ce2197e2d821398f7 (diff) | |
download | meson-26e11f5fd88c2bb65fe692015cf9c6ae9afcbcf0.zip meson-26e11f5fd88c2bb65fe692015cf9c6ae9afcbcf0.tar.gz meson-26e11f5fd88c2bb65fe692015cf9c6ae9afcbcf0.tar.bz2 |
Add missing FeatureNew for libwmf dependency
Also add it to the release notes for the 0.44 release.
https://github.com/mesonbuild/meson/pull/3709#issuecomment-395738573
-rw-r--r-- | docs/markdown/Release-notes-for-0.44.0.md | 6 | ||||
-rw-r--r-- | mesonbuild/dependencies/misc.py | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/docs/markdown/Release-notes-for-0.44.0.md b/docs/markdown/Release-notes-for-0.44.0.md index 56956d7..d765940 100644 --- a/docs/markdown/Release-notes-for-0.44.0.md +++ b/docs/markdown/Release-notes-for-0.44.0.md @@ -145,3 +145,9 @@ myprog = find_program('myscript.py') ``` Then Meson will run the script with its internal Python version if necessary. + +## Libwmf dependency now supports libwmf-config + +Earlier, `dependency('libwmf')` could only detect the library with pkg-config +files. Now, if pkg-config files are not found, Meson will look for +`libwmf-config` and if it's found, will use that to find the library. diff --git a/mesonbuild/dependencies/misc.py b/mesonbuild/dependencies/misc.py index a628151..37195cc 100644 --- a/mesonbuild/dependencies/misc.py +++ b/mesonbuild/dependencies/misc.py @@ -517,6 +517,7 @@ class CupsDependency(ExternalDependency): class LibWmfDependency(ExternalDependency): + @FeatureNew('LibWMF Dependency', '0.44.0') def __init__(self, environment, kwargs): super().__init__('libwmf', environment, None, kwargs) |