summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-29 21:56:51 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-29 22:43:48 +0100
commit940fdd0cbc91d92115403639bf68bb807174d22a (patch)
treea15b84021e0f69abb9cd5a256146d70d7876a485
parente0a80ee4428523107386dea34b0d4d85f2d7ba8d (diff)
downloadguix-940fdd0cbc91d92115403639bf68bb807174d22a.tar.gz
gnu: ffms2: Fetch sources from git.
* gnu/packages/video.scm (ffms2)[source]: Fetch from git.
-rw-r--r--gnu/packages/video.scm10
1 files changed, 6 insertions, 4 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 7ceb8f61ce..0dece9f52f 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -2789,12 +2789,14 @@ and ITU-T H.222.0.")
     (version "2.23")
     (home-page "https://github.com/FFMS/ffms2")
     (source (origin
-              (method url-fetch)
-              (uri (string-append home-page "/archive/" version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/FFMS/ffms2.git")
+                    (commit version)))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1vbkab8vrplxz5xgag8ggzkwp4f7nf285pd0l2a7zy66n6i2m6xh"))))
+                "0dkz5b3gxq5p4xz0qqg6l2sigszrlsinz3skyf0ln4wf3zrvf8m5"))))
     (build-system gnu-build-system)
     (arguments
      '(#:configure-flags