[gdk-pixbuf/issue-89] Add variables for binary utilities
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdk-pixbuf/issue-89] Add variables for binary utilities
- Date: Wed, 12 Sep 2018 11:55:38 +0000 (UTC)
commit 039b7b788c0ba4711d50dd4430e3118ab267677b
Author: Emmanuele Bassi <ebassi gnome org>
Date: Wed Sep 5 00:39:34 2018 +0100
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
gdk-pixbuf/meson.build | 4 ++++
1 file changed, 4 insertions(+)
---
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',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]