Merge pull request #319375 from jopejoe1/xevd/fix/ffmpeg_7-full

xevd: fix ffmpeg not finding xevd
This commit is contained in:
Atemu
2024-06-13 00:05:47 +02:00
committed by GitHub
+5
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;