[gdk-pixbuf/gnome-2-38] build: Use idiomatic pkg-config generation
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdk-pixbuf/gnome-2-38] build: Use idiomatic pkg-config generation
- Date: Thu, 28 Feb 2019 16:25:19 +0000 (UTC)
commit eef0bde32394db81ae355328db7889088dc3bdcd
Author: Emmanuele Bassi <ebassi gnome org>
Date: Thu Feb 28 16:09:57 2019 +0000
build: Use idiomatic pkg-config generation
We're still using the deprecated form of passing gdk-pixbuf as a library
named argument, instead of the idiomatic positional argument, which lets
Meson figure out all the needed dependencies.
gdk-pixbuf/meson.build | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/gdk-pixbuf/meson.build b/gdk-pixbuf/meson.build
index bcfe581b6..5cddbecc0 100644
--- a/gdk-pixbuf/meson.build
+++ b/gdk-pixbuf/meson.build
@@ -330,9 +330,9 @@ endif
pkgconfig = import('pkgconfig')
pkgconfig.generate(
+ gdkpixbuf,
name: 'GdkPixbuf',
description: 'Image loading and scaling',
- version: meson.project_version(),
variables: [
'bindir=${prefix}/@0@'.format(get_option('bindir')),
'gdk_pixbuf_binary_version=@0@'.format(gdk_pixbuf_binary_version),
@@ -343,9 +343,7 @@ pkgconfig.generate(
'gdk_pixbuf_pixdata=${bindir}/gdk-pixbuf-pixdata',
'gdk_pixbuf_query_loaders=${bindir}/gdk-pixbuf-query-loaders',
],
- libraries: gdkpixbuf,
requires: 'gobject-2.0',
subdirs: gdk_pixbuf_api_name,
filebase: gdk_pixbuf_api_name,
- install_dir: join_paths(gdk_pixbuf_libdir, 'pkgconfig'),
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]