gnu: libmediainfo: Adjust build phases.
* gnu/packages/video.scm (libmediainfo)[arguments]: Change to the build directory before running autogen.
This commit is contained in:
		
							parent
							
								
									b100a70495
								
							
						
					
					
						commit
						0cae36b5e5
					
				
					 1 changed files with 4 additions and 3 deletions
				
			
		| 
						 | 
					@ -2250,10 +2250,11 @@ practically any type of media.")
 | 
				
			||||||
       #:phases
 | 
					       #:phases
 | 
				
			||||||
       ;; build scripts not in root of archive
 | 
					       ;; build scripts not in root of archive
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
         (add-before 'configure 'pre-configure
 | 
					         (add-after 'unpack 'change-to-build-dir
 | 
				
			||||||
           (lambda _
 | 
					           (lambda _
 | 
				
			||||||
             (chdir "Project/GNU/Library")))
 | 
					             (chdir "Project/GNU/Library")
 | 
				
			||||||
         (add-after 'unpack 'autogen
 | 
					             #t))
 | 
				
			||||||
 | 
					         (add-after 'change-to-build-dir 'autogen
 | 
				
			||||||
           (lambda _
 | 
					           (lambda _
 | 
				
			||||||
             (zero? (system* "sh" "autogen.sh")))))))
 | 
					             (zero? (system* "sh" "autogen.sh")))))))
 | 
				
			||||||
    (home-page "https://mediaarea.net/en/MediaInfo")
 | 
					    (home-page "https://mediaarea.net/en/MediaInfo")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue