[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/12: gnu: ogre: Update to 1.12.9.
From: |
guix-commits |
Subject: |
09/12: gnu: ogre: Update to 1.12.9. |
Date: |
Sat, 14 Nov 2020 18:12:43 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit 79bf16f68830b2ec514e0f7b00c26af3e261c2bb
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sat Nov 14 22:12:58 2020 +0100
gnu: ogre: Update to 1.12.9.
The imgui submodule has been removed upstream.
* gnu/packages/graphics.scm (ogre): Update to 1.12.9.
[source]: Don't clone recursively.
[native-inputs]: Add dear-imgui-source.
[arguments]: Add an ‘unpack-dear-imgui’ phase.
Add IMGUI_DIR to #:configure-flags.
---
gnu/packages/graphics.scm | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 189ed94..3603a7e 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -931,23 +931,27 @@ operating system features.")
(define-public ogre
(package
(name "ogre")
- (version "1.12.6")
+ (version "1.12.9")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/OGRECave/ogre")
- (commit (string-append "v" version))
- (recursive? #t))) ;for Dear ImGui submodule
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1ap3krrl55hswv1n2r3ijf3xrb3kf9dnqvwyrc0fgnc7j7vd45sk"))))
+ (base32 "0b0pwh31nykrfhka6jqwclfx1pxzhj11vkl91951d63kwr5bbzms"))))
(build-system cmake-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
+ (add-before 'configure 'unpack-dear-imgui
+ (lambda* (#:key inputs #:allow-other-keys)
+ (copy-recursively (assoc-ref inputs "dear-imgui-source")
+ "../dear-imgui-source")
+ #t))
(add-before 'configure 'pre-configure
- ;; CMakeLists.txt forces CMAKE_INSTALL_RPATH value. As
+ ;; CMakeLists.txt forces a CMAKE_INSTALL_RPATH value. As
;; a consequence, we cannot suggest ours in configure flags. Fix
;; it.
(lambda* (#:key inputs outputs #:allow-other-keys)
@@ -961,6 +965,7 @@ operating system features.")
(string-append out "/lib/OGRE"))
";")))
(list (string-append "-DCMAKE_INSTALL_RPATH=" runpath)
+ "-DIMGUI_DIR=../dear-imgui-source"
"-DOGRE_BUILD_DEPENDENCIES=OFF"
"-DOGRE_BUILD_TESTS=TRUE"
"-DOGRE_INSTALL_DOCS=TRUE"
@@ -968,6 +973,7 @@ operating system features.")
"-DOGRE_INSTALL_SAMPLES_SOURCE=TRUE"))))
(native-inputs
`(("boost" ,boost)
+ ("dear-imgui-source" ,(package-source dear-imgui))
("doxygen" ,doxygen)
("googletest" ,googletest-1.8)
("pkg-config" ,pkg-config)))
- branch master updated (1614419 -> 8d2ee4c), guix-commits, 2020/11/14
- 01/12: gnu: perl-www-curl: Fix build with curl@7.69.1., guix-commits, 2020/11/14
- 03/12: gnu: python-podcastparser: Update to 0.6.6., guix-commits, 2020/11/14
- 02/12: gnu: fio: Update to 3.24., guix-commits, 2020/11/14
- 04/12: gnu: qemu: Extend I/O test time-outs., guix-commits, 2020/11/14
- 06/12: gnu: Add stb-rect-pack., guix-commits, 2020/11/14
- 09/12: gnu: ogre: Update to 1.12.9.,
guix-commits <=
- 12/12: gnu: opendoas: Update to 6.8., guix-commits, 2020/11/14
- 08/12: gnu: Add dear-imgui., guix-commits, 2020/11/14
- 07/12: gnu: Update stb to b42009b3b9d4ca35bc703f5310eedc74f584be58., guix-commits, 2020/11/14
- 11/12: gnu: multipath-tools: Update to 0.8.5., guix-commits, 2020/11/14
- 05/12: gnu: perl-lwp-protocol-https: Update to 6.09., guix-commits, 2020/11/14
- 10/12: gnu: msmtp: Update to 1.8.13., guix-commits, 2020/11/14