[vlc-devel] [PATCH 3/7] package/macosx: skip cache generation when cross-compiling
Felix Paul Kühne
fkuehne at videolan.org
Wed Dec 9 17:29:03 CET 2020
> Am 08.12.2020 um 18:38 schrieb Marvin Scholz <epirat07 at gmail.com>:
>
>
>
> On 8 Dec 2020, at 6:48, Felix Paul Kühne wrote:
>
>> 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
>
> How would the path invalidate when updating VLC though, it's still at the same location.
If the cache is invalid, this is detected and could be the trigger for regeneration. Alternatively, we could also include the libvlc git hash in the file name, but that would be unreliable if the user decides to install additional plugins after cache generation.
Best regards,
Felix
More information about the vlc-devel
mailing list