mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
tuxpaint: Fix .desktop and icon installation.
* gnu/packages/games.scm (tuxpaint)[arguments]: 'GNOME_PREFIX' -> 'KDE_PREFIX'. Add 'no-sys-cache phase.
This commit is contained in:
parent
fb0b645658
commit
f88c0ab831
1 changed files with 7 additions and 1 deletions
|
@ -3299,12 +3299,18 @@ (define-public tuxpaint
|
||||||
"GPERF=gperf" "CC=gcc"
|
"GPERF=gperf" "CC=gcc"
|
||||||
"SDL_PCNAME=sdl SDL_image SDL_mixer SDL_ttf"
|
"SDL_PCNAME=sdl SDL_image SDL_mixer SDL_ttf"
|
||||||
,(string-append "PREFIX=" %output)
|
,(string-append "PREFIX=" %output)
|
||||||
"GNOME_PREFIX=$(PREFIX)"
|
"KDE_PREFIX=$(PREFIX)/share/applications"
|
||||||
|
"KDE_ICON_PREFIX=$(PREFIX)/share/icons/"
|
||||||
"COMPLETIONDIR=$(PREFIX)/etc/bash_completion.d")
|
"COMPLETIONDIR=$(PREFIX)/etc/bash_completion.d")
|
||||||
#:parallel-build? #f ;fails on some systems
|
#:parallel-build? #f ;fails on some systems
|
||||||
#:tests? #f ;No tests
|
#:tests? #f ;No tests
|
||||||
#:phases (modify-phases %standard-phases
|
#:phases (modify-phases %standard-phases
|
||||||
(delete 'configure) ;no configure phase
|
(delete 'configure) ;no configure phase
|
||||||
|
(add-before 'install 'no-sys-cache
|
||||||
|
(lambda _ ;do not rebuild system conf cache
|
||||||
|
(substitute* "Makefile"
|
||||||
|
(("kbuildsycoca4") ""))
|
||||||
|
#t))
|
||||||
(add-after 'install 'fix-import
|
(add-after 'install 'fix-import
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
|
Loading…
Reference in a new issue