gnu: Fix aegisub.

* gnu/packages/video.scm (aegisub)[arguments]: Add phase to fix
boost headers.
This commit is contained in:
Björn Höfling 2019-02-11 12:53:05 +01:00
parent f6f4370fee
commit f6974e15cf
No known key found for this signature in database
GPG Key ID: BF286CB6593E5FFD
1 changed files with 11 additions and 1 deletions

View File

@ -2877,7 +2877,17 @@ programmers to access a standard API to open and decompress media files.")
(add-before 'configure 'fix-ldflags
(lambda _
(setenv "LDFLAGS" "-pthread")
#t)))))
#t))
(add-after 'unpack 'fix-boost-headers
(lambda _
(substitute*
'("src/subtitles_provider_libass.cpp"
"src/colour_button.cpp"
"src/video_provider_dummy.cpp"
"./src/video_frame.cpp")
(("#include <boost/gil/gil_all.hpp>")
"#include <boost/gil.hpp>"))
#t)))))
(inputs
`(("boost" ,boost)
("desktop-file-utils" ,desktop-file-utils)