mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-04 15:25:41 +08:00
22 lines
417 B
PHP
22 lines
417 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace SPC\builder\unix\library;
|
|
|
|
use SPC\util\executor\UnixCMakeExecutor;
|
|
|
|
trait libde265
|
|
{
|
|
protected function build(): void
|
|
{
|
|
UnixCMakeExecutor::create($this)
|
|
->addConfigureArgs(
|
|
'-DENABLE_SDL=OFF',
|
|
'-DENABLE_DECODER=OFF'
|
|
)
|
|
->build();
|
|
$this->patchPkgconfPrefix(['libde265.pc']);
|
|
}
|
|
}
|