Release 1.22.4
[platform/upstream/gstreamer.git] / subprojects / gstreamer-vaapi / meson.build
index 9cd3fcf..4feaec5 100644 (file)
@@ -1,5 +1,5 @@
 project('gstreamer-vaapi', 'c',
-  version : '1.22.0',
+  version : '1.22.4',
   meson_version : '>= 0.62',
   default_options : [ 'warning_level=1',
                       'buildtype=debugoptimized' ])
@@ -241,6 +241,10 @@ meson.add_dist_script('scripts/gen-changelog.py', meson.project_name(), '1.20.0'
 
 pkgconfig = import('pkgconfig')
 plugins_pkgconfig_install_dir = join_paths(plugins_install_dir, 'pkgconfig')
+if get_option('default_library') == 'shared'
+  # If we don't build static plugins there is no need to generate pc files
+  plugins_pkgconfig_install_dir = disabler()
+endif
 
 plugin_names = []
 gst_plugins = []