gnu: frescobaldi: Update to 4.0.4, build with Qt6.

* gnu/packages/music.scm (frescobaldi): Update to 4.0.4.
[source]: Switch to git-fetch.
[buld-system]: Switch to pyproject-build-system.
[arguments]: Drop all.
[inputs]: Remove python-poppler-qt5, python-pyportmidi, python-pyqt,
python-sip, and qtsvg-5; add python-pyqt-6, python-pyqt6-sip, and
python-pyqtwebengine-6.
[native-inputs]: Add python-hatchling.

Change-Id: Ia5a4243b2561a0c523e420742216a4a006fbd78d
This commit is contained in:
Sharlatan Hellseher 2025-10-01 15:46:15 +01:00
parent 8cae62c191
commit e432bd3d2c
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3250,44 +3250,31 @@ MIDI files, based on libsmf.")
(define-public frescobaldi
(package
(name "frescobaldi")
(version "3.3.0")
(version "4.0.4")
(source
(origin
(method url-fetch)
(uri (string-append
"https://github.com/frescobaldi/frescobaldi/releases/download/v"
version "/frescobaldi-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/frescobaldi/frescobaldi")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1n60gfnf6x0l1bac088g9adzx0lskbl9knd4y1ynr3y0zcs0kfcz"))))
(build-system python-build-system)
(base32 "03ygnq7x37hnw68nkw0175m0b4ngkhgigf85pjw0sx0dbkwh4i17"))))
(build-system pyproject-build-system)
(arguments
(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")))
(add-after 'install 'wrap-executable
(lambda _
;; Ensure that icons are found at runtime.
(wrap-program (string-append #$output
"/bin/frescobaldi")
`("QT_PLUGIN_PATH" prefix
,(list (getenv "QT_PLUGIN_PATH")))))))))
#:tests? #f)) ;no tests included
(native-inputs
(list python-hatchling))
(inputs (list bash-minimal
lilypond
poppler
portmidi-2
python-ly
python-poppler-qt5
python-pyportmidi
python-pyqt
python-sip
qpageview
qtsvg-5))
python-pyqt-6
python-pyqt6-sip
python-pyqtwebengine-6
qpageview))
(home-page "https://www.frescobaldi.org/")
(synopsis "LilyPond sheet music text editor")
(description