diff options
author | Ivan Frade <ivan.frade@nokia.com> | 2011-03-29 13:39:06 +0300 |
---|---|---|
committer | Martyn Russell <martyn@lanedo.com> | 2011-04-05 12:29:46 +0100 |
commit | f7fae822d43503fc406c7fa2ae63339e50a73c5b (patch) | |
tree | 03582fcf9eb58ca63fb8d47e2f98b6a18f253464 /src/libtracker-sparql/Makefile.am | |
parent | 790587e3a4033c124c9d5150b0053fa4ccb668ad (diff) | |
download | tracker-f7fae822d43503fc406c7fa2ae63339e50a73c5b.tar.gz |
libtracker-sparql: Another sed trick to fix vala GIR
Add scope="true" to all the async function descriptions.
Diffstat (limited to 'src/libtracker-sparql/Makefile.am')
-rw-r--r-- | src/libtracker-sparql/Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libtracker-sparql/Makefile.am b/src/libtracker-sparql/Makefile.am index 778363f8a..346a492f2 100644 --- a/src/libtracker-sparql/Makefile.am +++ b/src/libtracker-sparql/Makefile.am @@ -68,8 +68,12 @@ Tracker-@TRACKER_API_VERSION@.gir: $(lib_LTLIBRARIES) Makefile else Tracker-@TRACKER_API_VERSION@.gir: $(lib_LTLIBRARIES) Makefile if [[ -z `grep tracker_sparql_escape_uri_vprintf $@ |grep introspectable` ]] ; then \ - sed -i $@ -e "s/c\:identifier\=\"tracker_sparql_escape_uri_vprintf\"/c\:identifier\=\"tracker_sparql_escape_uri_vprintf\"\ introspectable=\"0\"/g" ; \ + sed -i $@ -e "s/c\:identifier\=\"tracker_sparql_escape_uri_vprintf\"/&\ introspectable=\"0\"/g" ; \ fi + if [[ -z `grep scope $@` ]] ; then \ + sed -i $@ -e "s/\"_callback_\"/&\ scope=\"async\"/g" ; \ + fi + endif Tracker-@TRACKER_API_VERSION@.typelib: Tracker-$(TRACKER_API_VERSION).gir |