Add optional gobject introspection and vapi generation #68
NekoCWD/libssc:vapi-wip into main c698c6e2b1
to b376c6c8e8
Can you please have a look at my 2 comments? Looks great, mostly nitpicks.
@ -0,0 +1,2 @@
option('generate_gir',type:'feature',value:'enabled',description:'Generate GObject introspection for libssc')
option('generate_vapi',type:'feature',value:'enabled',description:'Generate vala bindings for libssc. GIR required')
Can't we auto-enable these options instead of having them enabled by default?
If gobject introspection and other dependencies are available, it gets enabled, otherwise not?
I'm no meson expert, so I might be interpreting this wrong.
Sure, we can 👍
@ -88,1 +88,4 @@
)
ifget_option('generate_gir').disabled()andget_option('generate_vapi').enabled()
error('You need to enable GIR generation to generate vapi')
Maybe harmonize vapi and vala? The option has Generate vala bindings and here it says to generate vapi.
@ -89,0 +99,4 @@
namespace:ns,
symbol_prefix:'ssc',
nsversion:'0',
export_packages:'libssc-0',
Since 5e0c4bd2c3 the so version has been bumped to 1. Do we need to increase here something as well?
b376c6c8e8
to 5e699fc97d
@ -89,0 +98,4 @@
namespace:ns,
symbol_prefix:'ssc',
nsversion:so_version,
export_packages:'libssc-0',
Do we need also here so_version? Not an expert, just wondering.
That's package name (like Adw-1 for all adwaita versions)
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?