[vlc-devel] [PATCH 3/7] package/macosx: skip cache generation when cross-compiling

Felix Paul Kühne fkuehne at videolan.org
Tue Dec 8 06:48:48 CET 2020


Hello,

> Am 07.12.2020 um 16:36 schrieb Rémi Denis-Courmont <remi at remlab.net>:
> 
> Hi,
> 
> Indeed. Also it wouldn't only be shared by all VLC versions, it would be shared by all LibVLC plugin trees. If there is an app that ships its own LibVLC or its own extra plugins, it breaks too.

More an idea for v4 because shouldn’t break the v3 behavior:

What about a cache that it stored at a shared location with a hashed path of the plugin folder it was generated for?

So if the plugins are in /Applications/VLC.app/…/plugins, the cache would be in ~/Library/Caches/…/HASH.dat? and as soon as the VLC is updated and therefore the cache invalidated, it is re-created at the same position but would be ready by the instance only that created it?

Best regards,

Felix



More information about the vlc-devel mailing list