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:
Leo Famulari 2023-04-23 20:20:51 -04:00
parent 5bcf10867d
commit a0b2b4f1e9
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -4183,6 +4183,13 @@ (define-public libmediainfo
(add-after 'unpack 'change-to-build-dir
(lambda _
(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)))))
(home-page "https://mediaarea.net/en/MediaInfo")
(synopsis "Library for retrieving media metadata")
@ -4238,6 +4245,13 @@ (define-public mediainfo
(add-after 'unpack 'change-to-build-dir
(lambda _
(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)))))
(home-page "https://mediaarea.net/en/MediaInfo")
(synopsis "Utility for reading media metadata")