osgqt: fix for CMake v4 (#445587)
This commit is contained in:
@@ -9,13 +9,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "osgQt";
|
pname = "osgQt";
|
||||||
version = "3.5.7";
|
version = "3.5.7-unstable-2025-10-08";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "openscenegraph";
|
owner = "openscenegraph";
|
||||||
repo = "osgQt";
|
repo = "osgQt";
|
||||||
rev = finalAttrs.version;
|
rev = "effd111b747d786d4937de93973188a48eee3412";
|
||||||
hash = "sha256-iUeIqRDlcAHdKXWAi4WhEaOCxa7ZivQw0K5E7ccEKnM=";
|
hash = "sha256-+rjy2a266p755Mbfk6jRApiERpOL8axHklK0cYokX40=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libsForQt5.qtbase ];
|
buildInputs = [ libsForQt5.qtbase ];
|
||||||
@@ -32,13 +32,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
"-DOpenGL_GL_PREFERENCE=GLVND"
|
"-DOpenGL_GL_PREFERENCE=GLVND"
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace CMakeLists.txt --replace-fail \
|
|
||||||
"FIND_PACKAGE(Qt5Widgets REQUIRED)" \
|
|
||||||
"FIND_PACKAGE(Qt5Widgets REQUIRED)
|
|
||||||
FIND_PACKAGE(Qt5OpenGL REQUIRED)"
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Qt bindings for OpenSceneGraph";
|
description = "Qt bindings for OpenSceneGraph";
|
||||||
homepage = "https://github.com/openscenegraph/osgQt";
|
homepage = "https://github.com/openscenegraph/osgQt";
|
||||||
|
|||||||
Reference in New Issue
Block a user