diff options
author | Pranav Kant <pranavk@gnome.org> | 2015-08-15 18:48:53 +0530 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-09-14 07:58:16 +0000 |
commit | 8f2aace934eb2a91a273b6104de6383108b5c82a (patch) | |
tree | daa8b76b0d9327c9d6397a125aa192533ea9a2ab /sysui | |
parent | b018b02ef550a1f9fc7ce61a2a81707c0f5eda16 (diff) |
create_tree.sh: Generate g-i files
Change-Id: I1749b5b02018cfe6f85a13aed8de4b31a09788e3
Reviewed-on: https://gerrit.libreoffice.org/18494
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sysui')
-rwxr-xr-x | sysui/desktop/share/create_tree.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sysui/desktop/share/create_tree.sh b/sysui/desktop/share/create_tree.sh index c6be0bb2a688..45b7c6cb09db 100755 --- a/sysui/desktop/share/create_tree.sh +++ b/sysui/desktop/share/create_tree.sh @@ -87,3 +87,16 @@ for i in base calc draw impress writer; do cp "${APPDATA_SOURCE_DIR}/libreoffice-${i}.appdata.xml" "${DESTDIR}/${PREFIXDIR}/share/appdata/${PREFIX}-${i}.appdata.xml" done +# Generate gobject-introspection files +mkdir -p "${DESTDIR}/${PREFIXDIR}/share/gir-1.0" +g-ir-scanner "${SRCDIR}/include/LibreOfficeKit/LibreOfficeKitGtk.h" "${SRCDIR}/libreofficekit/source/gtk/lokdocview.cxx" \ + `${PKG_CONFIG} --cflags gobject-introspection-1.0 gtk+-3.0` -I"${SRCDIR}/include/" \ + --include=GLib-2.0 --include=GObject-2.0 --include=Gio-2.0 \ + --library=libreofficekitgtk --library-path="${DESTDIR}/${INSTALLDIR}/program" \ + --include=Gdk-3.0 --include=GdkPixbuf-2.0 --include=Gtk-3.0 \ + --namespace=LOKDocView --nsversion=0.1 --identifier-prefix=LOKDoc --symbol-prefix=lok_doc \ + --output="${DESTDIR}/${PREFIXDIR}/share/gir-1.0/LOKDocView-0.1.gir" --warn-all --no-libtool + +mkdir -p "${DESTDIR}/${LIBDIR}/girepository-1.0" +g-ir-compiler "${DESTDIR}/${PREFIXDIR}/share/gir-1.0/LOKDocView-0.1.gir" \ + --output="${DESTDIR}/${LIBDIR}/girepository-1.0/LOKDocView-0.1.typelib" |