summaryrefslogtreecommitdiff
path: root/gdk-pixbuf
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2018-09-05 00:39:34 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2018-09-05 00:39:34 +0100
commit039b7b788c0ba4711d50dd4430e3118ab267677b (patch)
treea4c2da5131b6c601f08db2b43eee1751dc6ccbcb /gdk-pixbuf
parent0b1eab312e77701c20b07fb8e38119009f8b34c3 (diff)
downloadgdk-pixbuf-039b7b788c0ba4711d50dd4430e3118ab267677b.tar.gz
Add variables for binary utilities
It is useful for finding the correct path for the utilities, as it does not rely on PATH being set appropriately. Closes #89
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r--gdk-pixbuf/meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk-pixbuf/meson.build b/gdk-pixbuf/meson.build
index 1995ffd8b..7817e81dd 100644
--- a/gdk-pixbuf/meson.build
+++ b/gdk-pixbuf/meson.build
@@ -309,10 +309,14 @@ pkgconfig.generate(
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),
'gdk_pixbuf_binarydir=${libdir}/@0@/@1@'.format(gdk_pixbuf_api_name, gdk_pixbuf_binary_version),
'gdk_pixbuf_moduledir=${gdk_pixbuf_binarydir}/loaders',
'gdk_pixbuf_cache_file=${gdk_pixbuf_binarydir}/loaders.cache',
+ 'gdk_pixbuf_csource=${bindir}/gdk-pixbuf-csource',
+ 'gdk_pixbuf_pixdata=${bindir}/gdk-pixbuf-pixdata',
+ 'gdk_pixbuf_query_loaders=${bindir}/gdk-pixbuf-query-loaders',
],
libraries: gdkpixbuf,
requires: 'gobject-2.0',