build: Add gobject-introspection support
Verified to all be introspectable. Signed-off-by: Philip Withnall <withnall@endlessm.com> https://phabricator.endlessm.com/T23859
This commit is contained in:
parent
9b8cef7697
commit
1235c275eb
|
@ -42,4 +42,15 @@ pkgconfig.generate(
|
||||||
filebase: libeos_parental_controls_api_name,
|
filebase: libeos_parental_controls_api_name,
|
||||||
description: 'Library providing access to parental control settings.',
|
description: 'Library providing access to parental control settings.',
|
||||||
requires: libeos_parental_controls_public_deps,
|
requires: libeos_parental_controls_public_deps,
|
||||||
|
)
|
||||||
|
|
||||||
|
gnome.generate_gir(libeos_parental_controls,
|
||||||
|
sources: libeos_parental_controls_sources + libeos_parental_controls_headers,
|
||||||
|
nsversion: libeos_parental_controls_api_version,
|
||||||
|
namespace: 'EosParentalControls',
|
||||||
|
symbol_prefix: 'epc_',
|
||||||
|
identifier_prefix: 'Epc',
|
||||||
|
export_packages: 'libeos-parental-controls',
|
||||||
|
includes: ['GObject-2.0', 'Gio-2.0'],
|
||||||
|
install: true,
|
||||||
)
|
)
|
|
@ -9,6 +9,7 @@ project('eos-parental-controls', 'c',
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
gnome = import('gnome')
|
||||||
i18n = import('i18n')
|
i18n = import('i18n')
|
||||||
pkgconfig = import('pkgconfig')
|
pkgconfig = import('pkgconfig')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue