Generate a vala api
vapigen SOURCE PKGBASE [OPTION]... [FILE]...
vapigen is a utility which generates Vala API (VAPI) files from GI files, which may be generated using the vala-gen-introspect(1) utility.
After compilation, the following command generates a GI for pango:
vala-gen-introspect pango packages/pango
This can then be converted to a Vala API as follows:
vapigen --pkg cairo --vapidir . --library pango packages/pango/pango.gi
-?, --help
Show help option
--vapidir=DIRECTORY
Look for package bindings in DIRECTORY.
--girdir=DIRECTORY
Look for GIR bindings in DIRECTORY.
--metadatadir=DIRECTORY
Look for GIR .metadata files in DIRECTORY.
--pkg=PACKAGE
Include binding for PACKAGE
--library=NAME
Specify library name as NAME
-d, --directory=DIRECTORY
Specify output directory as DIRECTORY
--version
Display version number and exit.
-q, --quiet
Do not print messages to the console
vala-gen-introspect(1)
http://www.vala-project.org/
vapigen for Vala was written by Jürg Billeter <[email protected]> and Raffaele Sandrini <[email protected]>.
This manual page was written by Kumar Appaiah <[email protected]>, for the Debian project (but may be used by others).