gplugin/gplugin
Clone
Summary
Browse
Changes
Graph
Re-arrange Perl include lines.
develop
2020-02-29, Elliott Sales de Andrade
757e8645d9e0
Re-arrange Perl include lines.
The `gperl` header is only needed in the loader, so take it out of the plugin.
Then remove a duplicate include in the source/header.
if
get_option
(
'vapi'
)
if
not
get_option
(
'gobject-introspection'
)
error
(
'Vala generation requires GObject Introspection.'
)
endif
add_languages
(
'vala'
)
gplugin_vapi
=
gnome
.
generate_vapi
(
'gplugin'
,
sources
:
gplugin_gir
[
0
],
install
:
true
,
gir_dirs
:
join_paths
(
meson
.
current_build_dir
(),
'..'
,
'gplugin'
),
)
if
get_option
(
'gtk3'
)
gplugin_gtk_vapi
=
gnome
.
generate_vapi
(
'gplugin-gtk'
,
sources
:
gplugin_gtk_gir
[
0
],
packages
:
[
'gtk+-3.0'
],
install
:
true
,
gir_dirs
:
join_paths
(
meson
.
current_build_dir
(),
'..'
,
'gplugin'
),
)
endif
subdir
(
'tests'
)
endif
# vala