gnu: Fix aegisub.
authorBjörn Höfling <bjoern.hoefling@bjoernhoefling.de>
Mon, 11 Feb 2019 11:53:05 +0000 (12:53 +0100)
committerBjörn Höfling <bjoern.hoefling@bjoernhoefling.de>
Wed, 13 Feb 2019 09:23:22 +0000 (10:23 +0100)
* gnu/packages/video.scm (aegisub)[arguments]: Add phase to fix
boost headers.

gnu/packages/video.scm

index 871d3e1..aa7930a 100644 (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)