~ruther/guix-local

986fd89192543e1959cbb3f9f4bd7a161812cb22 — Sharlatan Hellseher 5 months ago 3b13a24
gnu: autokey: Wrap kdialog.

* gnu/packages/xdisorg.scm (autokey)[phases]{wrap-executable}: Wrap
kdialog for atokey-qt runtime.
[inputs]: Add kdialog.

Change-Id: I19b0422fc99fd7824d50b7d32fe7ca5210f575cb
1 files changed, 7 insertions(+), 2 deletions(-)

M gnu/packages/xdisorg.scm
M gnu/packages/xdisorg.scm => gnu/packages/xdisorg.scm +7 -2
@@ 145,6 145,7 @@
  #:use-module (gnu packages image)
  #:use-module (gnu packages imagemagick)
  #:use-module (gnu packages kde-frameworks)
  #:use-module (gnu packages kde-utils)
  #:use-module (gnu packages libbsd)
  #:use-module (gnu packages libevent)
  #:use-module (gnu packages linux)


@@ 213,8 214,11 @@
          (add-after 'wrap 'wrap-executable
            (lambda* (#:key inputs #:allow-other-keys)
              (let ((gi-typelib-path (getenv "GI_TYPELIB_PATH"))
                    ;; see lib/autokey/UI_common_functions.py
                    (path (list (string-append #$(this-package-input "wmctrl")
                    ;; See: lib/autokey/UI_common_functions.py and
                    ;; apt-requirements.txt for runtime dependencies.
                    (path (list (string-append #$(this-package-input "kdialog")
                                               "/bin")
                                (string-append #$(this-package-input "wmctrl")
                                               "/bin")
                                (string-append #$(this-package-input "zenity")
                                               "/bin"))))


@@ 243,6 247,7 @@
    (inputs
     (list bash-minimal ; for wrap-program
           gtksourceview-3
           kdialog
           libappindicator
           libnotify
           python-dbus