gnu: gx-guvnor-lv2: Download sources from git.

* gnu/packages/music.scm (gx-guvnor-lv2)[source]: Download from git.
[arguments]: Decouple "install" target from build target.
master
Ricardo Wurmus 2017-12-16 08:34:48 +01:00
parent 4b35953257
commit 6ac8c78c89
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 8 additions and 6 deletions

View File

@ -2677,13 +2677,14 @@ standard MIDI file with the csvmidi program.")
(name "gx-guvnor-lv2")
(version "0.1")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/brummer10/GxGuvnor.lv2/"
"archive/v" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/brummer10/GxGuvnor.lv2.git")
(commit (string-append "v" version))))
(file-name (string-append name "-" version "-checkout"))
(sha256
(base32
"0rnfvrvs8qmmldyfmx4llyly33zp68448gx40ywdwj42x0mam92p"))))
"1wa5070j40p7f0b3kr259pzm99xb6cf2badr2capayjvgayd6gnm"))))
(build-system gnu-build-system)
(arguments
`(;; The check target is used only to output a warning.
@ -2695,7 +2696,8 @@ standard MIDI file with the csvmidi program.")
(replace 'configure
(lambda _
(substitute* "Makefile"
(("INSTALL_DIR = .*") "INSTALL_DIR=/lib/lv2\n"))
(("INSTALL_DIR = .*") "INSTALL_DIR=/lib/lv2\n")
(("install : all") "install :"))
#t)))))
(inputs
`(("lv2" ,lv2)))