vapigen-0.46 man page

vapigen ā€” generate a Vala API

Synopsis

vapigen SOURCE PKGBASE [OPTION]... [FILE]...

Description

vapigen is a utility which generates Vala API (VAPI) files from GI files, which may be generated using the vala-gen-introspect(1) utility.

Usage

vapigen [OPTION?] FILE... - Vala API Generator

Help Options

-h, --help

Show help options

Application Options

--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

--nostdpkg

Do not include standard packages

--pkg=PACKAGE...

Include binding for PACKAGE

--library=NAME

Library name

-d, --directory=DIRECTORY

Output directory

--disable-warnings

Disable warnings

--version

Display version number

-q, --quiet

Do not print messages to the console

Bugs

https://gitlab.gnome.org/GNOME/vala/issues

Homepage or Contact

https://wiki.gnome.org/Projects/Vala

Authors

J??rg Billeter, Raffaele Sandrini.

Examples

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

See Also

vala-gen-introspect (1)

Referenced By

vala-gen-introspect-0.46(1).

The man page vapigen(1) is an alias of vapigen-0.46(1).

November 2019 vapigen API Generator 0.46.5