aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-10 22:41:11 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-10 23:29:25 +0100
commitca364e7a3caef120ce19f38aa36edd491f226a82 (patch)
tree658abde1fd70af4a587be3a07213500d40e7cdeb /gnu
parent79b8341292de460864e56829d1ec5ed1861cbb57 (diff)
downloadpatches-ca364e7a3caef120ce19f38aa36edd491f226a82.tar
patches-ca364e7a3caef120ce19f38aa36edd491f226a82.tar.gz
gnu: jalv-select: Fetch sources from git.
* gnu/packages/music.scm (jalv-select)[source]: Fetch from git. [arguments]: Add phase make-manpages-writable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/music.scm17
1 files changed, 13 insertions, 4 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 3f0498ee53..28a40839b6 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -1254,12 +1254,14 @@ Editor. It is compatible with Power Tab Editor 1.7 and Guitar Pro.")
(name "jalv-select")
(version "0.8")
(source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/brummer10/jalv_select/"
- "archive/V" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/brummer10/jalv_select.git")
+ (commit (string-append "V" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "0zraagwr681b5s3qifxf399c7q93jz23c8sr42gmff9zqnvxc75q"))))
+ "0gqh768sbvn9ffyx1vqg9i57py9x9v4l65bk6wjsvgga4d7m83k1"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags
@@ -1274,6 +1276,13 @@ Editor. It is compatible with Power Tab Editor 1.7 and Guitar Pro.")
(string-append "ls -1 " (assoc-ref inputs "jalv") "/bin")))
(substitute* "jalv.select.h"
(("gtkmm.h") "gtkmm-2.4/gtkmm.h"))
+ #t))
+ (add-before 'reset-gzip-timestamps 'make-manpages-writable
+ (lambda* (#:key outputs #:allow-other-keys)
+ (for-each make-file-writable
+ (find-files (string-append (assoc-ref outputs "out")
+ "/share/man")
+ ".*\\.gz$"))
#t)))))
(inputs
`(("lilv" ,lilv)