[gdk-pixbuf] build: Use idiomatic pkg-config generation



commit a991b360bfbc4f98b67031df0b3c97c8e79f6f89
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]