diff options
| author | Andreas Enge <andreas@enge.fr> | 2026-03-17 16:33:29 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-03-17 16:33:42 +0100 |
| commit | 91bc0012c542891411ba2c1aff4be2aa03cd91bb (patch) | |
| tree | 9ce4ce3ad12764cba4db08d9ab7ac63ca33c7071 /gnu | |
| parent | c987007d635e14054ad3fad738e8c3b4db31e244 (diff) | |
gnu: mygui-gl: Disinherit from mygui.
* gnu/packages/game-development.scm (mygui-gl): Drop inheritance.
[version, source, build-system, native-inputs, description, home-page,
license]: Copy-paste from mygui.
[inputs, arguments]: Rewrite without reference to the mygui fields.
Change-Id: I74d447094925233994b401dd7edbfb6c53797a4f
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/game-development.scm | 61 |
1 files changed, 42 insertions, 19 deletions
diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index 652c1d9ecd8..dce3cb4143d 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -2328,28 +2328,51 @@ of use.") (license license:expat))) (define-public mygui-gl - ;; Closure size is reduced by some 800 MiB. - (package/inherit mygui + (package (name "mygui-gl") + (version "3.4.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/MyGUI/mygui") + (commit (string-append "MyGUI" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0nayw5shm5nly9bjp0g372kg5ia64dvn6mrmi1c6mdg0n6vgs9xa")))) + (build-system cmake-build-system) (arguments - (substitute-keyword-arguments (package-arguments mygui) - ((#:configure-flags _) - `(cons* "-DMYGUI_RENDERSYSTEM=4" ; 3 is Ogre, 4 is OpenGL. - ;; We can't reuse the flags because of the mention to Ogre. - (list "-DMYGUI_INSTALL_DOCS=TRUE" - ;; Demos and tools are Windows-specific: - ;; https://github.com/MyGUI/mygui/issues/24. - "-DMYGUI_BUILD_DEMOS=FALSE" - "-DMYGUI_BUILD_TOOLS=FALSE" - "-DMYGUI_DONT_USE_OBSOLETE=TRUE"))))) + (list + #:tests? #f ;no test target + #:configure-flags + #~(list "-DMYGUI_RENDERSYSTEM=4" ; 3 is Ogre, 4 is OpenGL. + "-DMYGUI_INSTALL_DOCS=TRUE" + ;; Demos and tools are Windows-specific: + ;; https://github.com/MyGUI/mygui/issues/24. + "-DMYGUI_BUILD_DEMOS=FALSE" + "-DMYGUI_BUILD_TOOLS=FALSE" + "-DMYGUI_DONT_USE_OBSOLETE=TRUE"))) + (native-inputs + (list boost + doxygen + pkg-config)) (inputs - (modify-inputs (package-inputs mygui) - (delete "ogre") - (prepend glu - libglvnd ; for find_package(… GLX) - mesa ; for find_package(… OpenGL …) - (sdl-union (list sdl2 sdl2-image))))) - (synopsis "Fast, flexible and simple GUI (OpenGL backend)"))) + (list font-dejavu + freetype + glu + graphviz + libglvnd + libx11 + mesa + ois + (sdl-union (list sdl2 sdl2-image)))) + (synopsis "Fast, flexible and simple GUI (OpenGL backend)") + (description + "MyGUI is a library for creating Graphical User Interfaces (GUIs) for games +and 3D applications. The main goals of MyGUI are: speed, flexibility and ease +of use.") + (home-page "http://mygui.info/") + (license license:expat))) (define-public openmw (package |
