mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-21 01:26:43 +01:00
gnu: orchis-theme: Build all versions.
* gnu/packages/gnome-xyz.scm (orchis-theme)[arguments]: Add #:configure-flags. Use them in 'install phase.
This commit is contained in:
parent
f4a435ccca
commit
c4195a1078
1 changed files with 13 additions and 7 deletions
|
@ -811,19 +811,25 @@ (define-public orchis-theme
|
||||||
#t))))
|
#t))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f ; no tests
|
`(#:configure-flags (list
|
||||||
|
"--dest" (string-append
|
||||||
|
(assoc-ref %outputs "out")
|
||||||
|
"/share/themes")
|
||||||
|
"--theme" "all"
|
||||||
|
"--radio-color")
|
||||||
|
#:tests? #f ; no tests
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'bootstrap)
|
(delete 'bootstrap)
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
(replace 'build (lambda _ (invoke "./parse-sass.sh")))
|
(replace 'build (lambda _ (invoke "./parse-sass.sh")))
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key configure-flags #:allow-other-keys)
|
||||||
(let ((themes (string-append (assoc-ref outputs "out")
|
(mkdir-p
|
||||||
"/share/themes")))
|
(cadr (or (member "--dest" configure-flags)
|
||||||
(mkdir-p themes)
|
(member "-d" configure-flags))))
|
||||||
(invoke "./install.sh" "-d" themes)
|
(apply invoke "./install.sh" configure-flags)
|
||||||
#t))))))
|
#t)))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("gtk-engines" ,gtk-engines)))
|
`(("gtk-engines" ,gtk-engines)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
|
|
Loading…
Reference in a new issue