Vala and Snapcraft. Issues with a library part in Vala.

Sergio Schvezov sergio.schvezov at canonical.com
Thu Feb 2 19:19:54 UTC 2017


On Thu, 2 Feb 2017 19:18:07 +0100, Luca Dionisi wrote:
> Yes. It is indeed doing the trick.
> Probably better yet, I should add a "vapidir" variable to the *.pc
> file of my Vala libraries and use it in dependent projects.
> That is, in configure.ac:
> PKG_CHECK_VAR([LIBX_VAPIDIR], [mylib-x], [vapidir])
> and in VALAFLAGS of Makefile.am:
>  --vapidir $(LIBX_VAPIDIR)

pkg-config and having your build system depend on that package is the way to go wrt common practice in this ecosystem we live in, so yeah, +1.

-- 
Sent using Dekko from my Ubuntu device




More information about the Snapcraft mailing list