Vala and Snapcraft. Issues with a library part in Vala.
Sergio Schvezov
sergio.schvezov at canonical.com
Thu Feb 2 18:51:33 UTC 2017
On Thu, 2 Feb 2017 18:52:02 +0100, Luca Dionisi wrote:
> On Thu, Feb 2, 2017 at 4:55 PM, Sergio Schvezov
> <sergio.schvezov at canonical.com> wrote:
>> Does your configure have something like
>>
>> ./configure --with-extra-vapi-dir
>>
>> ?
>>
>> If so, try doing
>>
>> parts:
>> my-part:
>> source: ...
>> plugin: autotools
>> configflags:
>> - --with-extra-vapi-dir=$SNAPCRAFT_STAGE/usr/share/vala/vapi
>>
>
> No it doesn't.
>
> I was thinking to try adding this in configure.ac of mylib-y:
> PKG_CHECK_VAR([LIBX_PREFIX], [mylib-x], [prefix])
>
> Then adding this in Makefile.am of mylib-y to mylib_y_VALAFLAGS:
> --vapidir $(LIBX_PREFIX)/share/vala/vapi
>
> Then my guess is that snapcraft will find its way without the aid of
> particular configflags.
Sorry, but the layer up to which I can offer help is up to ./configure, anything inside that is out of my knowledgebase. I am one of the many that switched to cmake for these things :-)
--
Sent using Dekko from my Ubuntu device
More information about the Snapcraft
mailing list