summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-04-03 21:36:31 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-04-22 11:55:48 +0200
commit658a36ccff9a841f73fa03c57eaef0b38a2af78e (patch)
tree204de11c29f7a053ad3ab297abbcacdb3d747292
parentabe9b729b45553a97ace96f3596fca4d73103811 (diff)
downloadguix-658a36ccff9a841f73fa03c57eaef0b38a2af78e.tar.gz
gnu: frescobaldi: Update to 3.3.0.
* gnu/packages/music.scm (frescobaldi): Update to 3.3.0.
[arguments]: Generate translations, metainfo.xml and desktop file.
[inputs]: Add QPAGEVIEW.
-rw-r--r--gnu/packages/music.scm19
1 files changed, 15 insertions, 4 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 0a66ece40a..815327de05 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -142,6 +142,7 @@
   #:use-module (gnu packages haskell)
   #:use-module (gnu packages icu4c)
   #:use-module (gnu packages image)
+  #:use-module (gnu packages image-viewers)
   #:use-module (gnu packages imagemagick)
   #:use-module (gnu packages java)
   #:use-module (gnu packages kde-frameworks)
@@ -3034,7 +3035,7 @@ using a system-independent interface.")
 (define-public frescobaldi
   (package
     (name "frescobaldi")
-    (version "3.1.3")
+    (version "3.3.0")
     (source
      (origin
        (method url-fetch)
@@ -3042,10 +3043,19 @@ using a system-independent interface.")
              "https://github.com/wbsoft/frescobaldi/releases/download/v"
              version "/frescobaldi-" version ".tar.gz"))
        (sha256
-        (base32 "1hg9yc8kj445fjsby92g3qf50crcl1pb079zfma18sb7ycv50zww"))))
+        (base32 "1n60gfnf6x0l1bac088g9adzx0lskbl9knd4y1ynr3y0zcs0kfcz"))))
     (build-system python-build-system)
     (arguments
-     `(#:tests? #f))                    ;no tests included
+     (list
+      #:tests? #f                       ;no tests included
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'build 'generate-translations
+            (lambda _
+              (invoke "make" "-C" "i18n")))
+          (add-before 'build 'generate-metadata
+            (lambda _
+              (invoke "make" "-C" "linux"))))))
     (inputs
      (list lilypond
            poppler
@@ -3054,7 +3064,8 @@ using a system-independent interface.")
            python-poppler-qt5
            python-pyportmidi
            python-pyqt
-           python-sip))
+           python-sip
+           qpageview))
     (home-page "https://www.frescobaldi.org/")
     (synopsis "LilyPond sheet music text editor")
     (description