feat(tools/eaglemode/plugins/avif): AVIF image plugin
Animation not implemented. https: //en.wikipedia.org/wiki/AVIF Change-Id: I80f8c4132c4335b2e60ce7b70eb424457e50c73f Reviewed-on: https://cl.tvl.fyi/c/depot/+/12428 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
parent
e4714db2d5
commit
1c898f7ddc
5 changed files with 277 additions and 0 deletions
16
tools/eaglemode/plugins/avif/default.nix
Normal file
16
tools/eaglemode/plugins/avif/default.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ depot, pkgs, ... }:
|
||||
|
||||
let
|
||||
em = depot.tools.eaglemode;
|
||||
emSrc = pkgs.srcOnly pkgs.em;
|
||||
in
|
||||
(em.buildPlugin {
|
||||
name = "avif";
|
||||
version = "canon";
|
||||
src = ./.;
|
||||
target = "PlAvif";
|
||||
}).overrideAttrs
|
||||
({ buildInputs ? [ ], nativeBuildInputs ? [ ], ... }: {
|
||||
buildInputs = buildInputs ++ [ pkgs.libavif ];
|
||||
nativeBuildInputs = nativeBuildInputs ++ [ pkgs.pkg-config ];
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue