[vlc-devel] [PATCH] contrib: add a bootstrap option to allow using prebuilt packages when cross-compiling

Rémi Denis-Courmont remi at remlab.net
Sat Feb 1 15:11:36 CET 2020


Le samedi 1 février 2020, 14:53:09 EET Alexandre Janniaux a écrit :
> > It's just that we never cross-compiled to a platform that uses pkg-config.
> > Back then, the ARM Linux builds were faked as native builds using
> > Scratchbox.
> Just for clarifying this, my personnal opinion is based on
> my ~whole last year porting VLC to an arm-based target,
> which is using pkg-config.

You can't have been using something that never worked, and I don't see what 
that authority argument brings here. Scratchbox allowed us to use pkg-config by 
pretending to build natively. There never was support for cross-compiling with 
pkg-config. Obviously, if Steve found out that it is now viable to cross-
compile "properly" instead of using SB, then we should do just that. This 
really is just fixing a bug where contribs were rebuilding stuff that was 
already there.

(Though we might still need SB to make actual installable .deb's ?)

There are no valid reasons to disable pkg-config if it is correctly set (i.e., 
to the correct platform/directories). It won't find what's nowhere to be found. 
To take the extreme, if you wanted to compile VLC for bare (which won't work 
as is), you would anyway have the dedicated arm-none-... triplets, and you 
wouldn't hit any "wrong" packages.

-- 
Rémi Denis-Courmont




More information about the vlc-devel mailing list