20 lines
373 B
PHP
Raw Normal View History

<?php
declare(strict_types=1);
namespace SPC\builder\unix\library;
2025-06-09 09:24:31 +08:00
use SPC\util\executor\UnixCMakeExecutor;
trait libavif
{
protected function build(): void
{
UnixCMakeExecutor::create($this)
->addConfigureArgs('-DAVIF_LIBYUV=OFF')
->build();
// patch pkgconfig
$this->patchPkgconfPrefix(['libavif.pc']);
}
}