File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed
src/SPC/builder/unix/library Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 373373 ],
374374 "static-libs-windows" : [
375375 " avif.lib"
376+ ],
377+ "lib-depends" : [
378+ " libaom"
379+ ],
380+ "lib-suggests" : [
381+ " libwebp" ,
382+ " libjpeg" ,
383+ " libxml2" ,
384+ " libpng"
376385 ]
377386 },
378387 "libcares" : {
Original file line number Diff line number Diff line change 526526 "libavif" : {
527527 "type" : " ghtar" ,
528528 "repo" : " AOMediaCodec/libavif" ,
529- "provide-pre-built" : true ,
529+ "provide-pre-built" : false ,
530530 "license" : {
531531 "type" : " file" ,
532532 "path" : " LICENSE"
Original file line number Diff line number Diff line change @@ -11,6 +11,11 @@ trait libavif
1111 protected function build (): void
1212 {
1313 UnixCMakeExecutor::create ($ this )
14+ ->optionalLib ('libaom ' , '-DAVIF_CODEC_AOM=SYSTEM ' , '-DAVIF_CODEC_AOM=OFF ' )
15+ ->optionalLib ('libsharpyuv ' , '-DAVIF_LIBSHARPYUV=SYSTEM ' , '-DAVIF_LIBSHARPYUV=OFF ' )
16+ ->optionalLib ('libjpeg ' , '-DAVIF_JPEG=SYSTEM ' , '-DAVIF_JPEG=OFF ' )
17+ ->optionalLib ('libxml2 ' , '-DAVIF_LIBXML2=SYSTEM ' , '-DAVIF_LIBXML2=OFF ' )
18+ ->optionalLib ('libpng ' , '-DAVIF_LIBPNG=SYSTEM ' , '-DAVIF_LIBPNG=OFF ' )
1419 ->addConfigureArgs ('-DAVIF_LIBYUV=OFF ' )
1520 ->build ();
1621 // patch pkgconfig
You can’t perform that action at this time.
0 commit comments