mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add qtquick3d.
* gnu/packages/qt.scm (qtquick3d): New variable. Change-Id: I3d1f87c96191e613b3f50c507470f6cf2120c602
This commit is contained in:
parent
79571aab5c
commit
30ed8fb66c
1 changed files with 45 additions and 1 deletions
|
@ -19,7 +19,7 @@
|
||||||
;;; Copyright © 2020 TomZ <tomz@freedommail.ch>
|
;;; Copyright © 2020 TomZ <tomz@freedommail.ch>
|
||||||
;;; Copyright © 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
|
;;; Copyright © 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
|
||||||
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
|
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
|
||||||
;;; Copyright © 2020, 2021, 2022, 2023, 2024, 2025 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
;;; Copyright © 2020-2025 Maxim Cournoyer <maxim@guixotic.coop>
|
||||||
;;; Copyright © 2021, 2022 Brendan Tildesley <mail@brendan.scot>
|
;;; Copyright © 2021, 2022 Brendan Tildesley <mail@brendan.scot>
|
||||||
;;; Copyright © 2021, 2022, 2023 Guillaume Le Vaillant <glv@posteo.net>
|
;;; Copyright © 2021, 2022, 2023 Guillaume Le Vaillant <glv@posteo.net>
|
||||||
;;; Copyright © 2021 Nicolò Balzarotti <nicolo@nixo.xyz>
|
;;; Copyright © 2021 Nicolò Balzarotti <nicolo@nixo.xyz>
|
||||||
|
@ -2712,6 +2712,50 @@ the Qt community.")
|
||||||
The following guides and references cover aspects of programming with
|
The following guides and references cover aspects of programming with
|
||||||
ECMAScript and Qt.")))
|
ECMAScript and Qt.")))
|
||||||
|
|
||||||
|
(define-public qtquick3d
|
||||||
|
(package
|
||||||
|
(name "qtquick3d")
|
||||||
|
(version "6.9.2")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (qt-url name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"002888xfnkxmvn8413fllidl3mm2fcwc4gbzdnbvpjlysaq9f3ig"))))
|
||||||
|
(build-system cmake-build-system)
|
||||||
|
(arguments
|
||||||
|
(list #:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(delete 'check) ;moved after install phase
|
||||||
|
(add-after 'install 'check
|
||||||
|
(assoc-ref %standard-phases 'check))
|
||||||
|
(add-before 'check 'prepare-for-tests
|
||||||
|
(lambda _
|
||||||
|
(setenv "QT_QPA_PLATFORM" "offscreen")
|
||||||
|
(setenv "QT_PLUGIN_PATH"
|
||||||
|
(string-append #$output "/lib/qt6/plugins:"
|
||||||
|
(getenv "QT_PLUGIN_PATH")))
|
||||||
|
(setenv "QML_IMPORT_PATH"
|
||||||
|
(string-append #$output "/lib/qt6/qml:"
|
||||||
|
(getenv "QML_IMPORT_PATH"))))))))
|
||||||
|
(inputs (list qtbase qtdeclarative qtshadertools))
|
||||||
|
(synopsis "Qt module and API for defining 3D content in Qt Quick")
|
||||||
|
(description "Qt Quick 3D is a module within the Qt framework that
|
||||||
|
provides a high-level interface for creating 3D content for user interfaces. Its key features include:
|
||||||
|
@itemize
|
||||||
|
@item Spatial (3D) scene graph
|
||||||
|
@item Mixing 2D and 3D Qt Quick content
|
||||||
|
@item Physically based rendering (PBR) materials
|
||||||
|
@item Punctual and image based lighting
|
||||||
|
@item Custom material and effect system
|
||||||
|
@item GLTF (Graphics Library Transmission Format) 2.0 model import
|
||||||
|
@item Animation support
|
||||||
|
@item 3D input handling and picking
|
||||||
|
@item 3D particle system
|
||||||
|
@end itemize")
|
||||||
|
(home-page (package-home-page qtbase))
|
||||||
|
(license (package-license qtbase))))
|
||||||
|
|
||||||
(define-public qtquickcontrols-5
|
(define-public qtquickcontrols-5
|
||||||
(package
|
(package
|
||||||
(inherit qtsvg-5)
|
(inherit qtsvg-5)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue