summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Saunier <thibault.saunier@osg.samsung.com>2017-01-05 12:31:14 -0300
committerThibault Saunier <thibault.saunier@osg.samsung.com>2017-01-05 12:31:14 -0300
commit8e40fb0e39e476ad980ed0dbe2a4e074b5472e99 (patch)
treeca5a2ac4900e82ef9c63d759952947e162f605a1
parente80b474a144fac1bc3e38227dcb336b647d7c5bb (diff)
downloadgstreamer-plugins-bad-8e40fb0e39e476ad980ed0dbe2a4e074b5472e99.tar.gz
meson: Generate the wayland pc file when needed
-rw-r--r--pkgconfig/meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgconfig/meson.build b/pkgconfig/meson.build
index b16d01e40..41539f8b8 100644
--- a/pkgconfig/meson.build
+++ b/pkgconfig/meson.build
@@ -40,6 +40,11 @@ if build_gstgl
pkg_libs += 'gl'
endif
+if use_wayland
+ pkgconf.set('waylandlibdir', join_paths(meson.build_root(), gstwayland.outdir()))
+ pkg_libs += 'wayland'
+endif
+
foreach p : pkg_libs
infile = 'gstreamer-@0@.pc.in'.format(p)
outfile = 'gstreamer-@0@-@1@.pc'.format(p, api_version)