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 Tomáš Čech <sleep_walker@gnu.org>
;;; 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 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2017 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
@ -1525,29 +1525,29 @@ in Julia).")
(native-inputs
(list autoconf automake pkg-config))
(inputs
`(("boost" ,boost)
("libjpeg" ,libjpeg-turbo)
("libpng" ,libpng)
("libtiff" ,libtiff)
("openexr" ,openexr-2)
("sdl" ,sdl)
("zlib" ,zlib)))
(list boost
libjpeg-turbo
libpng
libtiff
openexr-2
sdl
zlib))
(arguments
'(#:configure-flags
(list "COMPILED_BY=Guix"
(list
#:configure-flags
#~(list "COMPILED_BY=Guix"
(string-append "--with-boost-libdir="
(assoc-ref %build-inputs "boost") "/lib")
#$(this-package-input "boost") "/lib")
"--disable-optimiz-arch")
#:phases
(modify-phases %standard-phases
'(modify-phases %standard-phases
(add-after 'unpack 'run-prebuild
(lambda _
(setenv "HOME" (getcwd))
(with-directory-excursion "unix"
(substitute* "prebuild.sh"
(("/bin/sh") (which "sh")))
(invoke "sh" "prebuild.sh"))
#t))
(invoke "sh" "prebuild.sh"))))
;; The bootstrap script is run by the prebuild script in the
;; "run-prebuild" phase.
(delete 'bootstrap))))