Commit da048a16 authored by Taylor Howard's avatar Taylor Howard
Browse files

ogre-next: add pkgConfigModules and pkg-config test

parent 7cdabd17
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -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;