1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: flyer-composer: Support Wayland.

* gnu/packages/pdf.scm (flyer-composer)[arguments]<#:phases>{wrap-gui}: Add
qtwayland-5.
[inputs]: Add qtwayland-5.

Change-Id: Iebf131f9f0540f48908f8738249438364404e328
This commit is contained in:
Danny Milosavljevic
2026-03-22 14:21:43 +01:00
parent 70afd6b385
commit 6f15b1d286

View File

@@ -341,15 +341,17 @@ information.")
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(qtbase (assoc-ref inputs "qtbase"))
(qtwayland (assoc-ref inputs "qtwayland"))
(qml "/lib/qt5/qml"))
(wrap-program (string-append out "/bin/flyer-composer-gui")
`("QT_PLUGIN_PATH" ":" =
(,(string-append qtbase "/lib/qt5/plugins")))
(,(string-append qtbase "/lib/qt5/plugins")
,(string-append qtwayland "/lib/qt5/plugins")))
`("QT_QPA_PLATFORM_PLUGIN_PATH" ":" =
(,(string-append qtbase "/lib/qt5/plugins/platforms"))))))))))
(native-inputs (list python-setuptools python-wheel))
(propagated-inputs (list python-pypdf))
(inputs (list bash-minimal python-poppler-qt5 python-pyqt qtbase-5))
(inputs (list bash-minimal python-poppler-qt5 python-pyqt qtbase-5 qtwayland-5))
(home-page "http://crazy-compilers.com/flyer-composer")
(synopsis "Rearrange PDF pages to print as flyers on one sheet")
(description "@command{flyer-composer} can be used to prepare one- or