meson: Generate pkg-config file for qmlgl plugin

This commit is contained in:
Nirbheek Chauhan 2019-01-19 02:39:32 +05:30 committed by Nirbheek Chauhan
parent 4a33b083f1
commit 00f14f34b5

View file

@ -118,13 +118,14 @@ if have_cxx and build_gstgl
if have_qt_windowing
# Build it!
moc_files = qt5_mod.preprocess(moc_headers : moc_headers)
library('gstqmlgl', sources, moc_files,
gstqmlgl = library('gstqmlgl', sources, moc_files,
cpp_args : gst_plugins_good_args + qt_defines,
link_args : noseh_link_args,
include_directories: [configinc, libsinc],
dependencies : [glib_deps, gst_dep, gstvideo_dep, gstgl_dep, qt5qml_dep, optional_deps],
install: true,
install_dir : plugins_install_dir)
pkgconfig.generate(gstqmlgl, install_dir : plugins_pkgconfig_install_dir)
endif
endif
endif