me
/
guix
Archived
1
0
Fork 0

gnu: povray: Drop input labels.

* gnu/packages/graphics.scm (povray)[inputs]: Remove all input labels.
[arguments]: Use G-expression to avoid the use of %build-inputs.
master
Ricardo Wurmus 2023-10-09 11:38:50 +02:00
parent 321979a153
commit 6e99158abb
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 25 additions and 25 deletions

View File

@ -2,7 +2,7 @@
;;; Copyright © 2015, 2016, 2021, 2022 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2015, 2016, 2021, 2022 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015 Tomáš Čech <sleep_walker@gnu.org> ;;; Copyright © 2015 Tomáš Čech <sleep_walker@gnu.org>
;;; Copyright © 2016, 2019 Leo Famulari <leo@famulari.name> ;;; Copyright © 2016, 2019 Leo Famulari <leo@famulari.name>
;;; Copyright © 2016, 2017, 2019 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2016, 2017, 2019, 2023 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016, 2018, 2021, 2023 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2016, 2018, 2021, 2023 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Andreas Enge <andreas@enge.fr> ;;; Copyright © 2016 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2017 Manolis Fragkiskos Ragkousis <manolis837@gmail.com> ;;; Copyright © 2017 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
@ -1525,32 +1525,32 @@ in Julia).")
(native-inputs (native-inputs
(list autoconf automake pkg-config)) (list autoconf automake pkg-config))
(inputs (inputs
`(("boost" ,boost) (list boost
("libjpeg" ,libjpeg-turbo) libjpeg-turbo
("libpng" ,libpng) libpng
("libtiff" ,libtiff) libtiff
("openexr" ,openexr-2) openexr-2
("sdl" ,sdl) sdl
("zlib" ,zlib))) zlib))
(arguments (arguments
'(#:configure-flags (list
(list "COMPILED_BY=Guix" #:configure-flags
(string-append "--with-boost-libdir=" #~(list "COMPILED_BY=Guix"
(assoc-ref %build-inputs "boost") "/lib") (string-append "--with-boost-libdir="
"--disable-optimiz-arch") #$(this-package-input "boost") "/lib")
"--disable-optimiz-arch")
#:phases #:phases
(modify-phases %standard-phases '(modify-phases %standard-phases
(add-after 'unpack 'run-prebuild (add-after 'unpack 'run-prebuild
(lambda _ (lambda _
(setenv "HOME" (getcwd)) (setenv "HOME" (getcwd))
(with-directory-excursion "unix" (with-directory-excursion "unix"
(substitute* "prebuild.sh" (substitute* "prebuild.sh"
(("/bin/sh") (which "sh"))) (("/bin/sh") (which "sh")))
(invoke "sh" "prebuild.sh")) (invoke "sh" "prebuild.sh"))))
#t)) ;; The bootstrap script is run by the prebuild script in the
;; The bootstrap script is run by the prebuild script in the ;; "run-prebuild" phase.
;; "run-prebuild" phase. (delete 'bootstrap))))
(delete 'bootstrap))))
(synopsis "Tool for creating three-dimensional graphics") (synopsis "Tool for creating three-dimensional graphics")
(description (description
"@code{POV-Ray} is short for the Persistence of Vision Raytracer, a tool "@code{POV-Ray} is short for the Persistence of Vision Raytracer, a tool