[pango/for-master: 34/38] build: Remove unnecessary arguments



commit 598c3a28e5eb14a047d767055f4d8c7833dda0fb
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Apr 14 18:58:07 2020 +0100

    build: Remove unnecessary arguments
    
    The pkgconfig.generate() function has default values for the version and
    installation path argument, and we're already using them.

 pango/meson.build | 8 --------
 1 file changed, 8 deletions(-)
---
diff --git a/pango/meson.build b/pango/meson.build
index 808a8509..a86617b4 100644
--- a/pango/meson.build
+++ b/pango/meson.build
@@ -160,11 +160,9 @@ endif
 pkgconfig.generate(libpango,
   name: 'Pango',
   description: 'Internationalized text handling',
-  version: meson.project_version(),
   requires: pango_pkg_requires,
   filebase: 'pango',
   subdirs: pango_api_name,
-  install_dir: join_paths(pango_libdir, 'pkgconfig'),
 )
 
 # FreeType
@@ -370,11 +368,9 @@ if xft_dep.found() and fontconfig_dep.found()
   pkgconfig.generate(libpangoxft,
     name: 'Pango Xft',
     description: 'Xft font support for Pango',
-    version: meson.project_version(),
     filebase: 'pangoxft',
     subdirs: pango_api_name,
     requires: [ 'pangoft2', 'xft' ],
-    install_dir: join_paths(pango_libdir, 'pkgconfig'),
   )
 else
   # For usage as a subproject
@@ -431,11 +427,9 @@ if host_system == 'windows'
   pkgconfig.generate(libpangowin32,
     name: 'Pango Win32',
     description: 'Win32 GDI font support for Pango',
-    version: meson.project_version(),
     filebase: 'pangowin32',
     subdirs: pango_api_name,
     requires: 'pango',
-    install_dir: join_paths(pango_libdir, 'pkgconfig'),
   )
 else
   # For usage as a subproject
@@ -547,11 +541,9 @@ if cairo_dep.found()
   pkgconfig.generate(libpangocairo,
     name: 'Pango Cairo',
     description: 'Cairo rendering support for Pango',
-    version: meson.project_version(),
     filebase: 'pangocairo',
     subdirs: pango_api_name,
     requires: pango_cairo_requires,
-    install_dir: join_paths(pango_libdir, 'pkgconfig'),
   )
 else
   # For usage as a subproject


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]