From patchwork Mon Sep 23 00:57:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mikhail Kirillov X-Patchwork-Id: 15439 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1040417410; Mon, 23 Sep 2019 03:20:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 99F771740F for ; Mon, 23 Sep 2019 03:20:10 +0100 (BST) Received: from localhost ([::1]:51810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCDxS-0004qW-3o for patchwork@mira.cbaines.net; Sun, 22 Sep 2019 22:20:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59934) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCDxL-0004qK-QY for guix-patches@gnu.org; Sun, 22 Sep 2019 22:20:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iCDxK-0004Oz-GR for guix-patches@gnu.org; Sun, 22 Sep 2019 22:20:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54186) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iCDxK-0004Oq-Dy for guix-patches@gnu.org; Sun, 22 Sep 2019 22:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iCDxK-0005yo-7Y for guix-patches@gnu.org; Sun, 22 Sep 2019 22:20:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37487] [PATCH] gnu: Add goattracker Resent-From: Mikhail Kirillov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 23 Sep 2019 02:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37487 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37487@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.156920519422961 (code B ref -1); Mon, 23 Sep 2019 02:20:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Sep 2019 02:19:54 +0000 Received: from localhost ([127.0.0.1]:34774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCDxB-0005yF-2f for submit@debbugs.gnu.org; Sun, 22 Sep 2019 22:19:54 -0400 Received: from lists.gnu.org ([209.51.188.17]:47290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCCg2-0003p9-Lt for submit@debbugs.gnu.org; Sun, 22 Sep 2019 20:58:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54085) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCCg1-0000R6-2g for guix-patches@gnu.org; Sun, 22 Sep 2019 20:58:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iCCfz-00022H-N8 for guix-patches@gnu.org; Sun, 22 Sep 2019 20:58:05 -0400 Received: from mout01.posteo.de ([185.67.36.141]:38122) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iCCfz-00021x-Hy for guix-patches@gnu.org; Sun, 22 Sep 2019 20:58:03 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 4A0EC16005E for ; Mon, 23 Sep 2019 02:58:02 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 46c5XT2HYsz6tm6; Mon, 23 Sep 2019 02:58:00 +0200 (CEST) From: Mikhail Kirillov Date: Mon, 23 Sep 2019 03:57:52 +0300 Message-Id: <20190923005752.22876-1-w96k@member.fsf.org> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Mailman-Approved-At: Sun, 22 Sep 2019 22:19:52 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mikhail Kirillov Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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 ;;; Copyright © 2019 Jakob L. Kreuze ;;; Copyright © 2019 raingloom +;;; Copyright © 2019 Mikhail Kirillov ;;; ;;; 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)))