xevd: fix ffmpeg not finding xevd

This commit is contained in:
jopejoe1 2024-06-12 22:18:59 +02:00
parent 4b755b0f08
commit 9d7506ec1c

View File

@ -3,6 +3,7 @@
fetchFromGitHub,
stdenv,
gitUpdater,
testers,
cmake,
}:
@ -33,13 +34,17 @@ stdenv.mkDerivation (finalAttrs: {
"dev"
];
env.NIX_CFLAGS_COMPILE = toString [ "-lm" ];
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
meta = {
homepage = "https://github.com/mpeg5/xevd";
description = "eXtra-fast Essential Video Decoder, MPEG-5 EVC";
license = lib.licenses.bsd3;
mainProgram = "xevd_app";
pkgConfigModules = [ "xevd" ];
maintainers = with lib.maintainers; [ jopejoe1 ];
platforms = lib.platforms.all;
broken = !stdenv.hostPlatform.isx86 || stdenv.hostPlatform.isDarwin;