guix-devel
[Top][All Lists]
Advanced

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

[PATCH] gnu: milkytracker: Update upstream location.


From: ng0
Subject: [PATCH] gnu: milkytracker: Update upstream location.
Date: Thu, 10 Nov 2016 15:46:27 +0000

The checksum changed since the new location's archive contains no
autotools generated binaries.

* gnu/packages/music.scm (milkytracker)[source]: Update source
uri and checksum. [arguments]: Run autoreconf before configure.
[home-page]: Change to new domain.
---
 gnu/packages/music.scm | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 1c50182..2c05d8c 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -8,6 +8,7 @@
 ;;; Copyright © 2016 Kei Kebreau <address@hidden>
 ;;; Copyright © 2016 John J. Foerch <address@hidden>
 ;;; Copyright © 2016 Alex Griffin <address@hidden>
+;;; Copyright © 2016 ng0 <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1896,27 +1897,34 @@ of tools for manipulating and accessing your music.")
     (version "0.90.86")
     (source (origin
               (method url-fetch)
-              (uri (string-append "http://milkytracker.org/files/";
-                                  name "-" version ".tar.bz2"))
+              (uri (string-append 
"https://github.com/milkytracker/MilkyTracker/archive";
+                                  "/v" version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "1v9vp8vi24lkagfpr92c128whvakwgrm9pq2zf6ijpl5sh7014zb"))))
+                "13zf323ffqxa4lylsghl8z1xqd5gilb3zqsjg4xgbxqm0c02b5s3"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:make-flags '("CXXFLAGS=-lasound")))
+     `(#:make-flags '("CXXFLAGS=-lasound")
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'configure 'autoreconf
+           (lambda _ (zero? (system* "autoreconf" "-vfi")))))))
     (inputs
      `(("alsa-lib" ,alsa-lib)
        ("jack" ,jack-1)
        ("sdl" ,sdl)
        ("zlib" ,zlib)))
     (native-inputs
-     `(("pkg-config" ,pkg-config)))
+     `(("pkg-config" ,pkg-config)
+       ("autoconf" ,autoconf)
+       ("automake" ,automake)))
     (synopsis "Music tracker for working with .MOD/.XM module files")
     (description "MilkyTracker is a music application for creating .MOD and .XM
 module files.  It attempts to recreate the module replay and user experience of
 the popular DOS program Fasttracker II, with special playback modes available
 for improved Amiga ProTracker 2/3 compatibility.")
-    (home-page "http://milkytracker.org/";)
+    (home-page "http://milkytracker.titandemo.org/";)
     ;; 'src/milkyplay' is under Modified BSD, the rest is under GPL3 or later.
     (license (list license:bsd-3 license:gpl3+))))
 
-- 
2.10.2




reply via email to

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