diff options
| author | Marco Rimoldi <rimarko@libero.it> | 2024-02-21 20:30:35 +0100 |
|---|---|---|
| committer | Christopher Baines <mail@cbaines.net> | 2024-03-16 10:08:14 +0000 |
| commit | 00bf07ecccee86da4ced281bd28948c96db284e6 (patch) | |
| tree | 66c862b9b026d3b8e3e39b033561ebd18e352f56 /gnu/packages | |
| parent | 82bb2ed9c95fef84b2fbbe143f69502b62765e56 (diff) | |
gnu: frescobaldi: Make it display icons with qtsvg-5.
* gnu/packages/music.scm (frescobaldi)
[origin]<uri>: Updated to avoid automatic redirect.
[arguments]<phases>: Add 'wrap-executable to export QT_PLUGIN_PATH.
[inputs]: Add qtsvg-5, bash-minimal.
Change-Id: I55b3c56d41bd60e4ba4c938109ff41631e211ad2
Signed-off-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/music.scm | 47 |
1 files changed, 27 insertions, 20 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 7f0467e7660..5d8edd9c496 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm | |||
| @@ -3105,32 +3105,39 @@ using a system-independent interface.") | |||
| 3105 | (origin | 3105 | (origin |
| 3106 | (method url-fetch) | 3106 | (method url-fetch) |
| 3107 | (uri (string-append | 3107 | (uri (string-append |
| 3108 | "https://github.com/wbsoft/frescobaldi/releases/download/v" | 3108 | "https://github.com/frescobaldi/frescobaldi/releases/download/v" |
| 3109 | version "/frescobaldi-" version ".tar.gz")) | 3109 | version "/frescobaldi-" version ".tar.gz")) |
| 3110 | (sha256 | 3110 | (sha256 |
| 3111 | (base32 "1n60gfnf6x0l1bac088g9adzx0lskbl9knd4y1ynr3y0zcs0kfcz")))) | 3111 | (base32 "1n60gfnf6x0l1bac088g9adzx0lskbl9knd4y1ynr3y0zcs0kfcz")))) |
| 3112 | (build-system python-build-system) | 3112 | (build-system python-build-system) |
| 3113 | (arguments | 3113 | (arguments |
| 3114 | (list | 3114 | (list |
| 3115 | #:tests? #f ;no tests included | 3115 | #:tests? #f ;no tests included |
| 3116 | #:phases | 3116 | #:phases #~(modify-phases %standard-phases |
| 3117 | #~(modify-phases %standard-phases | 3117 | (add-before 'build 'generate-translations |
| 3118 | (add-before 'build 'generate-translations | 3118 | (lambda _ |
| 3119 | (lambda _ | 3119 | (invoke "make" "-C" "i18n"))) |
| 3120 | (invoke "make" "-C" "i18n"))) | 3120 | (add-before 'build 'generate-metadata |
| 3121 | (add-before 'build 'generate-metadata | 3121 | (lambda _ |
| 3122 | (lambda _ | 3122 | (invoke "make" "-C" "linux"))) |
| 3123 | (invoke "make" "-C" "linux")))))) | 3123 | (add-after 'install 'wrap-executable |
| 3124 | (inputs | 3124 | (lambda _ |
| 3125 | (list lilypond | 3125 | ;; Ensure that icons are found at runtime. |
| 3126 | poppler | 3126 | (wrap-program (string-append #$output |
| 3127 | portmidi-2 | 3127 | "/bin/frescobaldi") |
| 3128 | python-ly | 3128 | `("QT_PLUGIN_PATH" prefix |
| 3129 | python-poppler-qt5 | 3129 | ,(list (getenv "QT_PLUGIN_PATH"))))))))) |
| 3130 | python-pyportmidi | 3130 | (inputs (list bash-minimal |
| 3131 | python-pyqt | 3131 | lilypond |
| 3132 | python-sip | 3132 | poppler |
| 3133 | qpageview)) | 3133 | portmidi-2 |
| 3134 | python-ly | ||
| 3135 | python-poppler-qt5 | ||
| 3136 | python-pyportmidi | ||
| 3137 | python-pyqt | ||
| 3138 | python-sip | ||
| 3139 | qpageview | ||
| 3140 | qtsvg-5)) | ||
| 3134 | (home-page "https://www.frescobaldi.org/") | 3141 | (home-page "https://www.frescobaldi.org/") |
| 3135 | (synopsis "LilyPond sheet music text editor") | 3142 | (synopsis "LilyPond sheet music text editor") |
| 3136 | (description | 3143 | (description |
