gnu: sxiv: Install icons.
* gnu/packages/image-viewers.scm (sxiv)[arguments]: Add custom phase to install icons.
This commit is contained in:
		
							parent
							
								
									d67a3beb52
								
							
						
					
					
						commit
						858bb37a1d
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
					@ -218,7 +218,10 @@ It is the default image viewer on LXDE desktop environment.")
 | 
				
			||||||
             (install-file "sxiv.desktop"
 | 
					             (install-file "sxiv.desktop"
 | 
				
			||||||
                           (string-append (assoc-ref outputs "out")
 | 
					                           (string-append (assoc-ref outputs "out")
 | 
				
			||||||
                                          "/share/applications"))
 | 
					                                          "/share/applications"))
 | 
				
			||||||
             #t)))))
 | 
					             #t))
 | 
				
			||||||
 | 
					         (add-after 'install 'install-icons
 | 
				
			||||||
 | 
					           (lambda* (#:key make-flags #:allow-other-keys)
 | 
				
			||||||
 | 
					             (apply invoke "make" "-C" "icon" "install" make-flags))))))
 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
     `(("freetype" ,freetype)
 | 
					     `(("freetype" ,freetype)
 | 
				
			||||||
       ("giflib" ,giflib)
 | 
					       ("giflib" ,giflib)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue