summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2019-02-28 16:09:57 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2019-02-28 16:09:57 +0000
commita991b360bfbc4f98b67031df0b3c97c8e79f6f89 (patch)
tree68a8cd75dfe1cf9e32cceaeca00f1ea842178af6
parent5a670c403ea477405b4a3889169dfa4a79b2d52f (diff)
downloadgdk-pixbuf-a991b360bfbc4f98b67031df0b3c97c8e79f6f89.tar.gz
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.
-rw-r--r--gdk-pixbuf/meson.build4
1 files changed, 1 insertions, 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'),
)