Anonymous Maarten
Anonymous Maarten
> I meant in CI This will not be useful for the SDL_image project (though, it will speed up creating SDL release artifacts a little bit), but only for those...
Make sure you're using latest SDL3 and SDL3_ttf. From your logs it appears they are incompatible.
[`ExternalProject`](https://cmake.org/cmake/help/latest/module/ExternalProject.html) is for handling external projects that you only want to make available. Your code cannot depend on them, and these projects can also not depend on each other. If...
I think you should look at how package managers handle this, and if that does not work out, ask upstream. (Let us know how you fixed this issue)
avif has 2 configuration options to control encoding/decoding with aom: `AVIF_CODEC_AOM_ENCODE` and `AVIF_CODEC_AOM_DECODE`. Both are enabled by default. I suppose we want `AVIF_CODEC_AOM_DECODE=OFF` instead? Inside `avif.c`, the priority is dav1d...
Isn't that good? dav1d for decoding and aom for encoding?
When finished, it would also be useful to test storing avif in the test. https://github.com/libsdl-org/SDL_image/blob/c9c809b3d488afbcc9d33228f0c50cc04ce4611c/test/main.c#L153
> Sure, go for it. However I'm going to ask @madebr's help with these: > > ``` > -- libavif: libyuv not found; libyuv-based fast paths disabled. > -- libavif:...
[The patch](https://github.com/AOMediaCodec/libavif/commit/808bf58d11745dcc66c59c171f64ddcd020c37fa) looks very straightforward. For libsdl-org's fork, I would just unconditionally use the "crippled version", to avoid any dependency on a system libyuv.
This is done in 1d91d7e39d918b34cc540309dec18e6df578a7dd