[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: gobject-introspection: Define search path for typelib files.
From: |
Federico Beffa |
Subject: |
02/02: gnu: gobject-introspection: Define search path for typelib files. |
Date: |
Tue, 09 Dec 2014 12:52:39 +0000 |
beffa pushed a commit to branch master
in repository guix.
commit 5a4753a6997206b2c450ae1d3654c0eed286c1a2
Author: Federico Beffa <address@hidden>
Date: Tue Dec 9 13:43:03 2014 +0100
gnu: gobject-introspection: Define search path for typelib files.
* gnu/packages/glib.scm (gobject-introspection): Add 'native-search-paths'
and
'search-paths' fields.
---
gnu/packages/glib.scm | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index 159762c..4f18ef7 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -223,6 +223,11 @@ dynamic loading, and an object system.")
`(;; In practice, GIR users will need libffi when using
;; gobject-introspection.
("libffi" ,libffi)))
+ (native-search-paths
+ (list (search-path-specification
+ (variable "GI_TYPELIB_PATH")
+ (directories '("lib/girepository-1.0")))))
+ (search-paths native-search-paths)
(arguments
`(;; The patch 'gobject-introspection-absolute-shlib-path.patch' causes
;; some tests to fail.