Unverified Commit 6b2a42af authored by ppenguin's avatar ppenguin
Browse files

openmodelica: add openscenegraph to OMEdit build (enables 3D animation)

parent a7bcc949
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
, binutils
, wrapQtAppsHook
, openmodelica
, openscenegraph
, mkOpenModelicaDerivation
}:
with openmodelica;
@@ -19,7 +20,7 @@ mkOpenModelicaDerivation rec {

  nativeBuildInputs = [ jre8 qmake qtbase qttools wrapQtAppsHook ];

  buildInputs = [ qtwebkit qtxmlpatterns binutils ];
  buildInputs = [ qtwebkit openscenegraph qtxmlpatterns binutils ];

  postPatch = ''
    sed -i ''$(find -name qmake.m4) -e '/^\s*LRELEASE=/ s|LRELEASE=.*$|LRELEASE=${lib.getDev qttools}/bin/lrelease|'