From patchwork Mon Sep 23 00:56:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mikhail Kirillov X-Patchwork-Id: 15437 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 EDEF117410; Mon, 23 Sep 2019 02:02:31 +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 A09791740E for ; Mon, 23 Sep 2019 02:02:31 +0100 (BST) Received: from localhost ([::1]:51540 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCCkJ-0001b5-61 for patchwork@mira.cbaines.net; Sun, 22 Sep 2019 21:02:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54070) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCCfz-0000Qb-Bp for guix-patches@gnu.org; Sun, 22 Sep 2019 20:58:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iCCfy-00021o-72 for guix-patches@gnu.org; Sun, 22 Sep 2019 20:58:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54130) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iCCfy-00021h-4g for guix-patches@gnu.org; Sun, 22 Sep 2019 20:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iCCfy-0003oY-3A for guix-patches@gnu.org; Sun, 22 Sep 2019 20:58:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37486] [PATCH] gnu: Add goattracker Resent-From: Mikhail Kirillov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 23 Sep 2019 00:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37486 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37486@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.156920027414644 (code B ref -1); Mon, 23 Sep 2019 00:58:01 +0000 Received: (at submit) by debbugs.gnu.org; 23 Sep 2019 00:57:54 +0000 Received: from localhost ([127.0.0.1]:34718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCCfp-0003o8-Lm for submit@debbugs.gnu.org; Sun, 22 Sep 2019 20:57:53 -0400 Received: from lists.gnu.org ([209.51.188.17]:36964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCCeJ-0003lw-9G for submit@debbugs.gnu.org; Sun, 22 Sep 2019 20:56:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53824) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCCeH-0000Dk-7u for guix-patches@gnu.org; Sun, 22 Sep 2019 20:56:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iCCeD-0001Ze-TD for guix-patches@gnu.org; Sun, 22 Sep 2019 20:56:17 -0400 Received: from mout02.posteo.de ([185.67.36.142]:40245) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iCCeD-0001ZG-Nf for guix-patches@gnu.org; Sun, 22 Sep 2019 20:56:13 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 603B92400E6 for ; Mon, 23 Sep 2019 02:56:11 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 46c5VK6tcRz9rxD; Mon, 23 Sep 2019 02:56:09 +0200 (CEST) From: Mikhail Kirillov Date: Mon, 23 Sep 2019 03:56:00 +0300 Message-Id: <20190923005600.22799-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 20:57: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-Mailman-Approved-At: Sun, 22 Sep 2019 21:02:24 -0400 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)))