File: generate_vapi

package info (click to toggle)
libzeitgeist 0.3.18-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 3,216 kB
  • ctags: 1,360
  • sloc: sh: 11,081; ansic: 7,399; makefile: 269; xml: 121; python: 64
file content (12 lines) | stat: -rwxr-xr-x 536 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# Just issues the commands to create the vapi file
# Would be nice to get autotools to make this at some point, but it sort
# of requires the package to be installed (and called from pkg-config) first
# so its a little messy

cd $(dirname $0)
vala-gen-introspect zeitgeist-1.0 .
vapigen --pkg gobject-2.0 --pkg glib-2.0 --pkg gio-2.0 --library zeitgeist-1.0 zeitgeist-1.0.gi zeitgeist-1.0-custom.vala
# nasty hack to force usage of PtrArray in recent versions of vapigen
sed -i 's/GenericArray/PtrArray/g' zeitgeist-1.0.vapi