From 940fdd0cbc91d92115403639bf68bb807174d22a Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 29 Nov 2018 21:56:51 +0100 Subject: gnu: ffms2: Fetch sources from git. * gnu/packages/video.scm (ffms2)[source]: Fetch from git. --- gnu/packages/video.scm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'gnu') 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 @@ (define-public ffms2 (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 -- cgit v1.2.3