guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/10: gnu: gx-guvnor-lv2: Download sources from git.


From: Ricardo Wurmus
Subject: 02/10: gnu: gx-guvnor-lv2: Download sources from git.
Date: Sat, 16 Dec 2017 03:02:31 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 6ac8c78c89b6a59916ece24364b824df83e4df5c
Author: Ricardo Wurmus <address@hidden>
Date:   Sat Dec 16 08:34:48 2017 +0100

    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.
---
 gnu/packages/music.scm | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index e4fb4dc..fe118d4 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]