gnu: mpv: Fetch sources from git.

* gnu/packages/video.scm (mpv)[source]: Fetch from git.
This commit is contained in:
Ricardo Wurmus 2018-11-29 21:56:16 +01:00
parent 722e6ffeea
commit ce4ac7d56e
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -1189,14 +1189,14 @@ (define-public mpv
(name "mpv")
(version "0.29.1")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/mpv-player/mpv/archive/v" version
".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/mpv-player/mpv.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"08x63hlpj6s8xixmdbx6raff5p5mih7cnk0bcql9f3wrs5hx9ygr"))
(file-name (string-append name "-" version ".tar.gz"))))
"138921kx8g6qprim558xin09xximjhsj9ss8b71ifg2m6kclym8m"))))
(build-system waf-build-system)
(native-inputs
`(("perl" ,perl) ; for zsh completion file