ogre-next: add pkgConfigModules and pkg-config test

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Taylor Howard
2026-04-10 09:12:23 +10:00
co-authored by Claude Opus 4.6
parent 7cdabd1793
commit da048a16af
+12
View File
@@ -3,6 +3,7 @@
stdenv,
fetchFromGitHub,
fetchpatch2,
testers,
cmake,
ninja,
@@ -75,12 +76,23 @@ stdenv.mkDerivation (finalAttrs: {
(lib.cmakeBool "OGRE_CONFIG_ENABLE_STBI" true)
];
passthru.tests.pkg-config = testers.hasPkgConfigModules {
package = finalAttrs.finalPackage;
versionCheck = true;
};
meta = {
description = "3D Object-Oriented Graphics Rendering Engine";
homepage = "https://www.ogre3d.org/";
maintainers = with lib.maintainers; [
marcin-serwin
];
pkgConfigModules = [
"OGRE"
"OGRE-Hlms"
"OGRE-MeshLodGenerator"
"OGRE-Overlay"
];
platforms = lib.platforms.linux;
license = lib.licenses.mit;