diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2015-12-20 21:54:56 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2015-12-21 22:09:47 +0100 |
commit | bf76d7802c40501af4eb05b6121d2d25a9db3968 (patch) | |
tree | 2a6a6d131a2bbc6a0fb6db2b46129ed2aec40a08 /gnu/packages | |
parent | ef9006451fb03c38167b929e2012c8201be89022 (diff) | |
download | guix-bf76d7802c40501af4eb05b6121d2d25a9db3968.tar.gz |
gnu: Add drumstick.
* gnu/packages/music.scm (drumstick): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/music.scm | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index a217a89a19..66f77dfda8 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -39,6 +39,7 @@ #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages docbook) + #:use-module (gnu packages doxygen) #:use-module (gnu packages flex) #:use-module (gnu packages fltk) #:use-module (gnu packages fonts) @@ -771,6 +772,52 @@ ABC files, has a MIDI player for proof-listening, and includes a documentation browser.") (license license:gpl2+))) +(define-public drumstick + (package + (name "drumstick") + (version "1.0.1") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/drumstick/" + version "/drumstick-" version ".tar.bz2")) + (sha256 + (base32 + "0mxgix85b2qqs859z91cxik5x0s60dykqiflbj62px9akvf91qdv")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ; no test target + #:configure-flags '("-DLIB_SUFFIX=") + #:phases + (modify-phases %standard-phases + (add-before 'configure 'fix-docbook + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "cmake_admin/CreateManpages.cmake" + (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl") + (string-append (assoc-ref inputs "docbook-xsl") + "/xml/xsl/docbook-xsl-" + ,(package-version docbook-xsl) + "/manpages/docbook.xsl"))) + #t))))) + (inputs + `(("qt" ,qt) + ("alsa-lib" ,alsa-lib) + ("fluidsynth" ,fluidsynth))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("libxslt" ,libxslt) ;for xsltproc + ("docbook-xsl" ,docbook-xsl) + ("doxygen" ,doxygen))) + (home-page "http://drumstick.sourceforge.net/") + (synopsis "C++ MIDI library") + (description + "Drumstick is a set of MIDI libraries using C++/Qt5 idioms and style. It +includes a C++ wrapper around the ALSA library sequencer interface. A +complementary library provides classes for processing SMF (Standard MIDI +files: .MID/.KAR), Cakewalk (.WRK), and Overture (.OVE) file formats. A +multiplatform realtime MIDI I/O library is also provided with various output +backends, including ALSA, OSS, Network and FluidSynth.") + (license license:gpl2+))) + (define-public zynaddsubfx (package (name "zynaddsubfx") |