From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 62477@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#62477] [PATCH 3/6] gnu: Add libmixed.
Date: Mon, 27 Mar 2023 11:25:14 +0100 [thread overview]
Message-ID: <20230327102517.14946-3-sharlatanus@gmail.com> (raw)
In-Reply-To: <20230327102517.14946-1-sharlatanus@gmail.com>
* gnu/packages/audio.scm (libmixed): New variable.
---
gnu/packages/audio.scm | 52 +++++++++++++++++++++++++++++++++++++++---
1 file changed, 49 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 6f3fa2a580..043c608ea4 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -42,6 +42,7 @@
;;; Copyright © 2022 Andy Tai <atai@atai.org>
;;; Copyright © 2023 Sergiu Ivanov <sivanov@colimite.fr>
;;; Copyright © 2023 David Thompson <dthompson2@worcester.edu>
+;;; Copyright © 2023 Sharlatan Hellseher <sharlatanus@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -66,8 +67,8 @@ (define-module (gnu packages audio)
#:use-module (gnu packages backup)
#:use-module (gnu packages base)
#:use-module (gnu packages bison)
- #:use-module (gnu packages build-tools)
#:use-module (gnu packages boost)
+ #:use-module (gnu packages build-tools)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
#:use-module (gnu packages curl)
@@ -86,6 +87,7 @@ (define-module (gnu packages audio)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gnunet) ; libmicrohttpd
#:use-module (gnu packages gperf)
+ #:use-module (gnu packages graphviz)
#:use-module (gnu packages groff)
#:use-module (gnu packages gstreamer)
#:use-module (gnu packages gtk)
@@ -95,6 +97,7 @@ (define-module (gnu packages audio)
#:use-module (gnu packages libbsd)
#:use-module (gnu packages libffi)
#:use-module (gnu packages libusb)
+ #:use-module (gnu packages linphone)
#:use-module (gnu packages linux)
#:use-module (gnu packages llvm)
#:use-module (gnu packages machine-learning)
@@ -120,8 +123,6 @@ (define-module (gnu packages audio)
#:use-module (gnu packages serialization)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages telephony)
- #:use-module (gnu packages linphone)
- #:use-module (gnu packages linux)
#:use-module (gnu packages tls)
#:use-module (gnu packages valgrind)
#:use-module (gnu packages video)
@@ -4019,6 +4020,51 @@ (define-public wavpack
encode and decode wavpack files.")
(license license:bsd-3)))
+(define-public libmixed
+ ;; Release is much outdated.
+ (let ((commit "91e6b9f2438bca41205fade02c9d8f4f938838b6")
+ (revision "0"))
+ (package
+ (name "libmixed")
+ (version (git-version "2.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Shirakumo/libmixed")
+ (commit commit)))
+ (file-name (git-file-name "libmixed" version))
+ (sha256
+ (base32 "01vwgv8ivpg7a4y95krkgh656mmklsn1k3fmhwp474aj82grd3m4"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list
+ ;; FIXME: (Sharlatan-20230326T121542+0100): Tests failed 1/34, 1 failed,
+ ;; 33 passed. There is not simple way to disable just one test.
+ ;; https://github.com/Shirakumo/libmixed/issues/13
+ #:tests? #f
+ #:configure-flags
+ #~(list "-DCMAKE_CXX_FLAGS=-O3 -fPIC"
+ "-DCMAKE_C_FLAGS=-O3 -fPIC")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-paths
+ (lambda _
+ (substitute* "CMakeLists.txt"
+ (("/usr/local") #$output))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "./tester")))))))
+ (native-inputs (list doxygen graphviz))
+ (inputs (list ncurses mpg123))
+ (home-page "https://github.com/Shirakumo/libmixed")
+ (synopsis "Low-level audio mixer pipeline library")
+ (description
+ "Libmixed is a library for real-time audio processing pipelines for use in
+audio/video/games. It can serve as a base architecture for complex DSP systems.")
+ (license license:zlib))))
+
(define-public libmodplug
(package
(name "libmodplug")
--
2.39.2
next prev parent reply other threads:[~2023-03-27 10:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-27 10:22 [bug#62477] [PATCH 0/6]: gnu: cl-trial: Activate trial-harmony system Sharlatan Hellseher
2023-03-27 10:25 ` [bug#62477] [PATCH 1/6] gnu: Add cl-flac Sharlatan Hellseher
2023-03-27 10:25 ` [bug#62477] [PATCH 2/6] gnu: Add cl-vorbis Sharlatan Hellseher
2023-03-27 10:25 ` Sharlatan Hellseher [this message]
2023-03-27 10:25 ` [bug#62477] [PATCH 4/6] gnu: Add cl-mixed Sharlatan Hellseher
2023-03-27 10:25 ` [bug#62477] [PATCH 5/6] gnu: Add cl-harmony Sharlatan Hellseher
2023-03-27 10:25 ` [bug#62477] [PATCH 6/6] gnu: cl-trial: Activate trial-harmony system Sharlatan Hellseher
2023-03-30 9:33 ` bug#62477: [PATCH 0/6]: " Guillaume Le Vaillant
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230327102517.14946-3-sharlatanus@gmail.com \
--to=sharlatanus@gmail.com \
--cc=62477@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).