guix-devel
[Top][All Lists]
Advanced

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

[PATCH] Add ZynAddSubFX


From: Ricardo Wurmus
Subject: [PATCH] Add ZynAddSubFX
Date: Mon, 31 Aug 2015 19:17:14 +0200

>From 3926ec4243d497438b080b83678b2bd05105024d Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <address@hidden>
Date: Mon, 31 Aug 2015 17:33:56 +0200
Subject: [PATCH 1/2] gnu: Add minixml.

* gnu/packages/xml.scm (minixml): New variable.
---
 gnu/packages/xml.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 2bce636..dc4b198 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -467,3 +467,31 @@ Canonical XML (part of Libxml2) and Exclusive Canonical 
XML (part of
 Libxml2).")
     (license (license:x11-style "file://COPYING"
                                 "See 'COPYING' in the distribution."))))
+
+(define-public minixml
+  (package
+    (name "minixml")
+    (version "2.9")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://www.msweet.org/files/project3/mxml-";
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "14pzhlfidj5v1qbxy7a59yn4jz9pnjrs2zwalz228jsq7ijm9vfd"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f))  ;no "check" target
+    (home-page "http://www.minixml.org/";)
+    (synopsis "Small XML parsing library")
+    (description
+     "Mini-XML is a small XML library that you can use to read and write XML
+and XML-like data files in your application without requiring large
+non-standard libraries.
+
+Mini-XML supports reading of UTF-8 and UTF-16 and writing of UTF-8 encoded XML
+files and strings. Data is stored in a linked-list tree structure, preserving
+the XML data hierarchy, and arbitrary element names, attributes, and attribute
+values are supported with no preset limits, just available memory.")
+    ;; LGPL 2.0 with additional exceptions for static linking
+    (license license:lgpl2.0+)))
-- 
2.5.0

>From 93385af3c66a35c7102229a49b571655145e5898 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <address@hidden>
Date: Mon, 31 Aug 2015 17:34:28 +0200
Subject: [PATCH 2/2] gnu: Add ZynAddSubFX.

* gnu/packages/music.scm (zynaddsubfx): New variable.
---
 gnu/packages/music.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 3d319ae..fd4b1b7 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -27,6 +27,7 @@
   #:use-module (guix build-system python)
   #:use-module (guix build-system waf)
   #:use-module (gnu packages)
+  #:use-module (gnu packages algebra)
   #:use-module (gnu packages audio)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages base) ;libbdf
@@ -71,6 +72,7 @@
   #:use-module (gnu packages texlive)
   #:use-module (gnu packages web)
   #:use-module (gnu packages xml)
+  #:use-module (gnu packages xorg)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages zip)
   #:use-module ((srfi srfi-1) #:select (last)))
@@ -782,3 +784,33 @@ projects.")
      "Frescobaldi is a LilyPond sheet music text editor with syntax
 highlighting and automatic completion.")
     (license license:gpl2+)))
+
+(define-public zynaddsubfx
+  (package
+    (name "zynaddsubfx")
+    (version "2.5.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://sourceforge/zynaddsubfx/zynaddsubfx/"
+                    version "/zynaddsubfx-" version ".tar.gz"))
+              (sha256
+               (base32
+                "01c4v5lbzard6y00cjq3b6a50cafqwfwibzng9gdsajczhnbkqz2"))))
+    (build-system cmake-build-system)
+    (inputs
+     `(("liblo" ,liblo)
+       ("ntk" ,ntk)
+       ("alsa-lib" ,alsa-lib)
+       ("jack" ,jack-1)
+       ("fftw" ,fftw)
+       ("minixml" ,minixml)
+       ("libxpm" ,libxpm)
+       ("zlib" ,zlib)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (home-page "http://zynaddsubfx.sf.net/";)
+    (synopsis "Software synthesizer")
+    (description
+     "ZynAddSubFX is a feature heavy realtime software synthesizer.")
+    (license license:gpl2)))
-- 
2.5.0


reply via email to

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