[pango/for-master] build: Remove unnecessary arguments
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/for-master] build: Remove unnecessary arguments
- Date: Tue, 14 Apr 2020 18:01:32 +0000 (UTC)
commit 0ecc1dfa0ceed03f67a03f877811836d06471216
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 dd259c55..b33cb233 100644
--- a/pango/meson.build
+++ b/pango/meson.build
@@ -155,11 +155,9 @@ libpango_dep = declare_dependency(
pkgconfig.generate(libpango,
name: 'Pango',
description: 'Internationalized text handling',
- version: meson.project_version(),
requires: ['gobject-2.0', 'harfbuzz'],
filebase: 'pango',
subdirs: pango_api_name,
- install_dir: join_paths(pango_libdir, 'pkgconfig'),
)
# FreeType
@@ -365,11 +363,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
@@ -426,11 +422,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
@@ -542,11 +536,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]