GNU bug report logs - #37486
[PATCH] gnu: Add goattracker

Previous Next

Package: guix-patches;

Reported by: Mikhail Kirillov <w96k <at> member.fsf.org>

Date: Mon, 23 Sep 2019 00:58:01 UTC

Severity: normal

Tags: patch

Merged with 37487

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mikhail Kirillov <w96k <at> member.fsf.org>
To: guix-patches <at> gnu.org
Cc: Mikhail Kirillov <w96k <at> member.fsf.org>
Subject: [PATCH] gnu: Add goattracker
Date: Mon, 23 Sep 2019 03:56:00 +0300
* gnu/packages/music.scm: Add goattracker
---
 gnu/packages/music.scm | 43 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 4d1e11f260..5cedb36695 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -23,6 +23,7 @@
 ;;; Copyright © 2019 Timotej Lazar <timotej.lazar <at> araneo.si>
 ;;; Copyright © 2019 Jakob L. Kreuze <zerodaysfordays <at> sdf.lonestar.org>
 ;;; Copyright © 2019 raingloom <raingloom <at> protonmail.com>
+;;; Copyright © 2019 Mikhail Kirillov <w96k <at> member.fsf.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4592,3 +4593,45 @@ with error and volume history, and advanced features.")
     ;; Most of the code is under GPL2+, but some abstract or helper classes
     ;; are under LGPL2.1.
     (license (list license:gpl2+ license:lgpl2.1))))
+
+(define-public goattracker
+  (package
+    (name "goattracker")
+    (version "2.75")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://sourceforge/goattracker2/GoatTracker 2/"
+                    version "/GoatTracker_" version ".zip"))
+              (sha256
+               (base32
+                "1km97nl7qvk6qc5l5j69wncbm76hf86j47sgzgr968423g0bxxlk"))))
+    (arguments
+     `(#:tests? #f
+       #:make-flags '("CC=gcc")
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure)
+         (add-after 'unpack 'prepare
+           (lambda _
+             (chdir "src")
+             (invoke "make" "clean")
+             #t))
+         (replace 'install
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (chdir "../linux")
+             (invoke "ln" "-s" "goattrk2" "goattracker")
+             (copy-recursively "./" (string-append
+                                     (assoc-ref %outputs "out")
+                                     "/bin"))
+             #t)))))
+    (native-inputs
+     `(("sdl" ,sdl)
+       ("unzip" ,unzip)))
+    (build-system gnu-build-system)
+    (synopsis "Crossplatform C64 music tracker")
+    (description "GoatTracker is a cross-platform tracker written by Lasse
+Öörni, producing SID chiptune music for the Commodore 64, and released with
+source code under the GPL.")
+    (home-page "https://goattracker2.sourceforge.io/")
+    (license license:gpl2)))
-- 
2.23.0





This bug report was last modified 5 years and 208 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.