summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author宋文武 <iyzsong@member.fsf.org>2018-10-08 21:42:28 +0800
committer宋文武 <iyzsong@member.fsf.org>2018-10-12 22:23:58 +0800
commit6826f1e1ede0526dd1247546aa5ec195bacd5cc5 (patch)
tree863111671d11fbfffbeb359bb6af42ce50a1702d
parent8036b0942b89022147aaf9cd9940988fdbcc19ef (diff)
gnu: Add libpd.
* gnu/packages/music.scm (libpd): New variable.
-rw-r--r--gnu/packages/music.scm36
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index e1bac6f51e6..13a6ecc36f4 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -1777,6 +1777,42 @@ programming methods as well as for realizing complex systems for large-scale
1777projects.") 1777projects.")
1778 (license license:bsd-3))) 1778 (license license:bsd-3)))
1779 1779
1780(define-public libpd
1781 (package
1782 (name "libpd")
1783 (version "0.11.0")
1784 (source (origin
1785 (method git-fetch)
1786 (uri (git-reference
1787 (url "https://github.com/libpd/libpd.git")
1788 (commit version)
1789 (recursive? #t))) ; for the 'pure-data' submodule
1790 (file-name (string-append name "-" version "-checkout"))
1791 (sha256
1792 (base32
1793 "1bcg1d9iyf9n37hwwphmih0c8rd1xcqykil5z1cax6xfs76552nk"))))
1794 (build-system gnu-build-system)
1795 (arguments
1796 '(#:tests? #f ; no tests
1797 #:make-flags '("CC=gcc")
1798 #:phases
1799 (modify-phases %standard-phases
1800 (delete 'configure) ; no configure script
1801 (replace 'install
1802 (lambda* (#:key outputs #:allow-other-keys)
1803 (let ((out (assoc-ref outputs "out")))
1804 (invoke "make" "install"
1805 (string-append "prefix=" out)
1806 ;; XXX: Fix the last 2 lines of 'install' target.
1807 "LIBPD_IMPLIB=NO"
1808 "LIBPD_DEF=NO")))))))
1809 (home-page "http://libpd.cc/")
1810 (synopsis "Pure Data as an embeddable audio synthesis library")
1811 (description
1812 "Libpd provides Pure Data as an embeddable audio synthesis library. Its
1813main purpose is to liberate raw audio rendering from audio and MIDI drivers.")
1814 (license license:bsd-3)))
1815
1780(define-public portmidi 1816(define-public portmidi
1781 (package 1817 (package
1782 (name "portmidi") 1818 (name "portmidi")