summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2018-06-10 07:35:09 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2018-06-10 07:38:25 +0530
commitaeebb54444f60afd7f31c3b5962371ffea104b09 (patch)
treeaa456e44a19c68a08ef990b0ecc8bd3d5d90b355
parent2d1fc25599adf349ae62504ce2197e2d821398f7 (diff)
downloadmeson-nirbheek/libwmf-featurenew.tar.gz
Add missing FeatureNew for libwmf dependencynirbheek/libwmf-featurenew
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.md6
-rw-r--r--mesonbuild/dependencies/misc.py1
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 56956d75c..d7659407d 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 a6281510a..37195cc4a 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)