gnu: libmediainfo and mediainfo: Fix build.
* gnu/packages/video.scm (libmediainfo, mediainfo)[arguments]: Add a shebang to the autogen.sh script in the 'change-to-build-dir' phases.
This commit is contained in:
		
							parent
							
								
									5bcf10867d
								
							
						
					
					
						commit
						a0b2b4f1e9
					
				
					 1 changed files with 14 additions and 0 deletions
				
			
		| 
						 | 
					@ -4183,6 +4183,13 @@ practically any type of media.")
 | 
				
			||||||
         (add-after 'unpack 'change-to-build-dir
 | 
					         (add-after 'unpack 'change-to-build-dir
 | 
				
			||||||
           (lambda _
 | 
					           (lambda _
 | 
				
			||||||
             (chdir "Project/GNU/Library")
 | 
					             (chdir "Project/GNU/Library")
 | 
				
			||||||
 | 
					             ;; XXX Add a shebang to the script to avoid an error like:
 | 
				
			||||||
 | 
					             ;; "In execvp of ./autogen.sh: Exec format error"
 | 
				
			||||||
 | 
					             ;; The string replaced is just a code comment.
 | 
				
			||||||
 | 
					             ;; See the similar substitution made in mediainfo.
 | 
				
			||||||
 | 
					             (substitute* "autogen.sh"
 | 
				
			||||||
 | 
					               (("#libtoolize")
 | 
				
			||||||
 | 
					                "#!/bin/sh"))
 | 
				
			||||||
             #t)))))
 | 
					             #t)))))
 | 
				
			||||||
    (home-page "https://mediaarea.net/en/MediaInfo")
 | 
					    (home-page "https://mediaarea.net/en/MediaInfo")
 | 
				
			||||||
    (synopsis "Library for retrieving media metadata")
 | 
					    (synopsis "Library for retrieving media metadata")
 | 
				
			||||||
| 
						 | 
					@ -4238,6 +4245,13 @@ MPEG-2, MPEG-4, DVD (VOB)...
 | 
				
			||||||
         (add-after 'unpack 'change-to-build-dir
 | 
					         (add-after 'unpack 'change-to-build-dir
 | 
				
			||||||
           (lambda _
 | 
					           (lambda _
 | 
				
			||||||
             (chdir "Project/GNU/CLI")
 | 
					             (chdir "Project/GNU/CLI")
 | 
				
			||||||
 | 
					             ;; XXX Add a shebang to the script to avoid an error like:
 | 
				
			||||||
 | 
					             ;; "In execvp of ./autogen.sh: Exec format error"
 | 
				
			||||||
 | 
					             ;; The string replaced is just a code comment.
 | 
				
			||||||
 | 
					             ;; See the similar substitution made in libmediainfo.
 | 
				
			||||||
 | 
					             (substitute* "autogen.sh"
 | 
				
			||||||
 | 
					               (("#libtoolize")
 | 
				
			||||||
 | 
					                "#!/bin/sh"))
 | 
				
			||||||
             #t)))))
 | 
					             #t)))))
 | 
				
			||||||
    (home-page "https://mediaarea.net/en/MediaInfo")
 | 
					    (home-page "https://mediaarea.net/en/MediaInfo")
 | 
				
			||||||
    (synopsis "Utility for reading media metadata")
 | 
					    (synopsis "Utility for reading media metadata")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue