gnu: plasma-framework: Use G-expressions.
* gnu/packages/kde-frameworks.scm (plasma-framework)[arguments]: Rewrite as G-expressions. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
		
							parent
							
								
									9076e5421a
								
							
						
					
					
						commit
						7f300c37de
					
				
					 1 changed files with 14 additions and 12 deletions
				
			
		| 
						 | 
					@ -3363,14 +3363,16 @@ setUrl, setUserAgent and call.")
 | 
				
			||||||
                  qtx11extras
 | 
					                  qtx11extras
 | 
				
			||||||
                  solid))
 | 
					                  solid))
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:phases
 | 
					     (list #:phases
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					           #~(modify-phases %standard-phases
 | 
				
			||||||
               (replace 'check
 | 
					               (replace 'check
 | 
				
			||||||
                 (lambda* (#:key tests? #:allow-other-keys)
 | 
					                 (lambda* (#:key tests? #:allow-other-keys)
 | 
				
			||||||
                   (when tests?
 | 
					                   (when tests?
 | 
				
			||||||
               (setenv "HOME" (getcwd))
 | 
					                     (setenv "HOME"
 | 
				
			||||||
 | 
					                             (getcwd))
 | 
				
			||||||
                     (setenv "QT_QPA_PLATFORM" "offscreen") ;; These tests fail
 | 
					                     (setenv "QT_QPA_PLATFORM" "offscreen") ;; These tests fail
 | 
				
			||||||
               (invoke "ctest" "-E" (string-append "(plasma-dialogstatetest"
 | 
					                     (invoke "ctest" "-E"
 | 
				
			||||||
 | 
					                             (string-append "(plasma-dialogstatetest"
 | 
				
			||||||
                                            "|plasma-iconitemtest"
 | 
					                                            "|plasma-iconitemtest"
 | 
				
			||||||
                                            "|plasma-themetest"
 | 
					                                            "|plasma-themetest"
 | 
				
			||||||
                                            "|iconitemhidpitest"
 | 
					                                            "|iconitemhidpitest"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue