From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Subject: [PATCH] gnu: Add wildmidi. Date: Mon, 16 Feb 2015 14:33:53 +0800 Message-ID: <1424068433-2600-1-git-send-email-iyzsong@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNFFb-00043g-BS for guix-devel@gnu.org; Mon, 16 Feb 2015 01:33:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YNFFY-0007aS-3q for guix-devel@gnu.org; Mon, 16 Feb 2015 01:33:47 -0500 Received: from mail-pd0-f175.google.com ([209.85.192.175]:34878) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNFFX-0007aE-Tr for guix-devel@gnu.org; Mon, 16 Feb 2015 01:33:44 -0500 Received: by pdbfl12 with SMTP id fl12so33166207pdb.2 for ; Sun, 15 Feb 2015 22:33:43 -0800 (PST) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/midi.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. --- gnu-system.am | 1 + gnu/packages/midi.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 gnu/packages/midi.scm diff --git a/gnu-system.am b/gnu-system.am index 04e9345..86ba028 100644 --- a/gnu-system.am +++ b/gnu-system.am @@ -189,6 +189,7 @@ GNU_SYSTEM_MODULES = \ gnu/packages/mcrypt.scm \ gnu/packages/messaging.scm \ gnu/packages/mg.scm \ + gnu/packages/midi.scm \ gnu/packages/miscfiles.scm \ gnu/packages/mit-krb5.scm \ gnu/packages/moe.scm \ diff --git a/gnu/packages/midi.scm b/gnu/packages/midi.scm new file mode 100644 index 0000000..4ea6f06 --- /dev/null +++ b/gnu/packages/midi.scm @@ -0,0 +1,46 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2015 Sou Bunnbu +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages midi) + #:use-module (guix licenses) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system cmake) + #:use-module (gnu packages linux)) + +(define-public wildmidi + (package + (name "wildmidi") + (version "0.3.8") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/Mindwerks/wildmidi/" + "archive/" name "-" version ".tar.gz")) + (sha256 + (base32 + "1z324wkmkf0lapfammviiyclhc7i8in2x2gvgc2r6sq69lcwbn7g")))) + (build-system cmake-build-system) + (arguments '(#:tests? #f)) ; no tests + (inputs `(("alsa-lib" ,alsa-lib))) + (home-page "http://www.mindwerks.net/projects/wildmidi/") + (synopsis "MIDI Synthesizer") + (description + "WildMIDI is a simple software midi player which has a core software +synthesizer (softsynth) library that can be use with other applications.") + ;; The player is under GPLv3+, the library is under LGPLv3+. + (license (list lgpl3+ gpl3+)))) -- 2.1.2