~ruther/guix-local

b1fde7621e2bec132583b834e71cd03d6e9e784b — Bruno Victal 2 years ago ab2dd04
gnu: libnotify: Split documentation.

* gnu/packages/gnome.scm (libnotify)[arguments]<#:phases>: Add 'move-doc
phase.
[outputs]: Add 'doc output.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I59bd0bf321e42c6f64eb16844c14f4982ed2dd87
1 files changed, 7 insertions(+), 0 deletions(-)

M gnu/packages/gnome.scm
M gnu/packages/gnome.scm => gnu/packages/gnome.scm +7 -0
@@ 3119,11 3119,18 @@ configuring CUPS.")
       (sha256
        (base32
         "1h7nn9pz797bfmpz3d0s46yjv4ydppnzwifzdx0d6shm8vwkx3zf"))))
    (outputs '("out" "doc"))
    (build-system meson-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'install 'move-doc
            (lambda _
              (let* ((old (string-append #$output "/share/gtk-doc"))
                     (new (string-append #$output:doc "/share/gtk-doc")))
                (mkdir-p (dirname new))
                (rename-file old new)))))))
    (propagated-inputs (list gdk-pixbuf glib)) ;in Requires of libnotify.pc.
    (inputs (list gtk+ libpng))
    (native-inputs