guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: Fix aegisub.


From: guix-commits
Subject: 01/01: gnu: Fix aegisub.
Date: Wed, 13 Feb 2019 04:42:02 -0500 (EST)

hoebjo pushed a commit to branch master
in repository guix.

commit f6974e15cfce8128d9a3fb425671b1f6fc05e49b
Author: Björn Höfling <address@hidden>
Date:   Mon Feb 11 12:53:05 2019 +0100

    gnu: Fix aegisub.
    
    * gnu/packages/video.scm (aegisub)[arguments]: Add phase to fix
    boost headers.
---
 gnu/packages/video.scm | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 871d3e1..aa7930a 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]