guix-devel
[Top][All Lists]
Advanced

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

Re: Gstreamer


From: Andreas Enge
Subject: Re: Gstreamer
Date: Sat, 17 Oct 2015 22:05:56 +0200
User-agent: Mutt/1.5.24 (2015-08-30)

Actually I found the beginning of a patch on my git stash,
if someone wants to start from there:

diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm            
                                                                                
                                
index 0ac9783..a7f9539 100644                                                   
                                                                                
                                
--- a/gnu/packages/gstreamer.scm                                                
                                                                                
                                
+++ b/gnu/packages/gstreamer.scm                                                
                                                                                
                                
@@ -83,7 +83,7 @@ arrays of data.")                                             
                                                                                
                                
 (define-public gstreamer
   (package
     (name "gstreamer")
-    (version "1.4.5")
+    (version "1.6.0")
     (source
      (origin
       (method url-fetch)
@@ -91,15 +91,24 @@ arrays of data.")
                           version ".tar.xz"))
       (sha256
        (base32
-        "1bmhbhak6i5wmmb6w86jyyv8lax4gdq983la4lk4a0krz6kim020"))))
+        "1k0glfw2m1qpfwp96jqwjzl0kah4zvz9lnk4nz413vxg8xb8ivsj"))))
     (build-system gnu-build-system)
     (outputs '("out" "doc"))
     (arguments
      `(#:make-flags '("CC=gcc") ; for g-ir-scanner.
        #:configure-flags
-       (list (string-append "--with-html-dir="
+       (list "CFLAGS=-std=c99"
+             (string-append "--with-html-dir="
                             (assoc-ref %outputs "doc")
-                            "/share/gtk-doc/html"))))
+                            "/share/gtk-doc/html"))
+       #:phases
+       (modify-phases %standard-phases
+         (add-after
+          'configure 'correct-config-h
+          (lambda _
+            (substitute* "config.h"
+              (("HAVE_DECL_STRSIGNAL 0")
+               "HAVE_DECL_STRSIGNAL 1")))))))
     (propagated-inputs `(("glib" ,glib))) ; required by gstreamer-1.0.pc.
     (native-inputs
      `(("bison" ,bison)

Andreas




reply via email to

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