feat(tools/eaglemode/plugins): QOI image plugin
https://qoiformat.org/ Change-Id: I0c11095c1ac0e65075d032f7c29649cbba9f213f Reviewed-on: https://cl.tvl.fyi/c/depot/+/12427 Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
This commit is contained in:
parent
c60f4ccfda
commit
e4714db2d5
5 changed files with 343 additions and 4 deletions
47
tools/eaglemode/plugins/qoi/makers/PlQoi.maker.pm
Normal file
47
tools/eaglemode/plugins/qoi/makers/PlQoi.maker.pm
Normal file
|
@ -0,0 +1,47 @@
|
|||
package PlQoi;
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
sub GetDependencies
|
||||
{
|
||||
return ('emCore');
|
||||
}
|
||||
|
||||
sub IsEssential
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
sub GetFileHandlingrules
|
||||
{
|
||||
return ();
|
||||
}
|
||||
|
||||
sub GetExtraBuildOptions
|
||||
{
|
||||
return ();
|
||||
}
|
||||
|
||||
sub Build
|
||||
{
|
||||
shift;
|
||||
my %options=@_;
|
||||
|
||||
system(
|
||||
@{$options{'unicc_call'}},
|
||||
"--math",
|
||||
"--rtti",
|
||||
"--exceptions",
|
||||
"--bin-dir" , "bin",
|
||||
"--lib-dir" , "lib",
|
||||
"--obj-dir" , "obj",
|
||||
"--inc-search-dir", "include",
|
||||
"--link" , "emCore",
|
||||
"--type" , "dynlib",
|
||||
"--name" , "PlQoi",
|
||||
"src/PlQoi.cpp"
|
||||
)==0 or return 0;
|
||||
|
||||
return 1;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue