From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id mI06NnlvIWTXPwAASxT56A (envelope-from ) for ; Mon, 27 Mar 2023 12:27:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yLsxNnlvIWSzuQAA9RJhRA (envelope-from ) for ; Mon, 27 Mar 2023 12:27:05 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8576A302A5 for ; Mon, 27 Mar 2023 12:27:05 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=BZz4a8Dz; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679912825; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=RF2fOqV0eGAgKKU2HK+WwH4z9N7EnJDoIeD0iJd+KGw=; b=ZNwx5cUFGFDh3wbdDbjyXOPWn6noDbrAGW6koM0yFqPva3z4QxShtasVe7LHufsE3YFwkx LRg40oGgXkMF3hVjqQPiIb+svYcwYuIeHbrd86mrdv2rUUBA2rydlFyzepec2WPJhmhVMf dHom2oCvm2N2z7JnJU/f+oTAala6+r8o4siT+1F7vY5YmBfGTJcf+gRkzNctD1nKaCzhyO aWA1KeqJ82Enc2DoT8PxgDR8IHePip5+fAefx6D7xS6tHCQBVqhJxDPxsVJWqj30BtrzL2 faE1HBIQodbIVFvPxjSiUzQ+QmRFeZ2nQ0u8F8fAw3rim9wUMDGdARNL7pIAIA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679912825; a=rsa-sha256; cv=none; b=ioH9sWqd1t3zhMlZmNtenXoYzF6RaGJ3Dz49I5Yliim3iUfgX/EyEB5pvXwqqferKV+XZj qBEplPdyVnu6pEhreGE41x5fj+bI+nsnAirThUQYeaHOqH7CJLCLZ62qaUFKYGaqBciAcT RyCLD5z7SgIafGlwydhBaJKI7x0e6GWPNmlVy7x+uEseDaQP7X+mJGt0Hqz3O22Z2G3WEv fkv9ChuIvyZE9+IqQbt0oRD+tLDC+C1uOf12PQ6ihOk5gC5x28+mjG8JHCaszZSAasstH/ Rm6A6j3KHWoX1h1gbYzyMHBlingWyA9jPM5jyNkjDmInPSOcZoI0s1lsh2S33g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=BZz4a8Dz; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pgk3K-0008Kf-GG; Mon, 27 Mar 2023 06:26:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pgk3A-0008JC-0R for guix-patches@gnu.org; Mon, 27 Mar 2023 06:26:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pgk38-00031U-Rq for guix-patches@gnu.org; Mon, 27 Mar 2023 06:26:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pgk38-0006iU-FV for guix-patches@gnu.org; Mon, 27 Mar 2023 06:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62477] [PATCH 3/6] gnu: Add libmixed. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Mar 2023 10:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62477 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62477@debbugs.gnu.org Cc: Sharlatan Hellseher Received: via spool by 62477-submit@debbugs.gnu.org id=B62477.167991273025729 (code B ref 62477); Mon, 27 Mar 2023 10:26:02 +0000 Received: (at 62477) by debbugs.gnu.org; 27 Mar 2023 10:25:30 +0000 Received: from localhost ([127.0.0.1]:46624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgk2c-0006go-08 for submit@debbugs.gnu.org; Mon, 27 Mar 2023 06:25:30 -0400 Received: from mail-wr1-f52.google.com ([209.85.221.52]:46890) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgk2Y-0006fr-NZ for 62477@debbugs.gnu.org; Mon, 27 Mar 2023 06:25:27 -0400 Received: by mail-wr1-f52.google.com with SMTP id r29so8146586wra.13 for <62477@debbugs.gnu.org>; Mon, 27 Mar 2023 03:25:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679912721; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RF2fOqV0eGAgKKU2HK+WwH4z9N7EnJDoIeD0iJd+KGw=; b=BZz4a8DzWIVvHQA+2oFcK2Z11x9YflSbW8XpHstSm8fR7N0sSxiLM1z7kZjQHkvIa2 9sHtASrwQ4dCLQHpYXdUkjmxMdXEySRhBUwRskcd674kdWCkTcdjOWhZK+BITQdx8LEy VjQMAis80us13+bpRSZBZg3N0t3Hs71UmnknPgeM9hxegYXzKg8ezf+4KcfYq1I+B+vL 9/UP+nOc/VjUjSAxIRMP4OdN4/GWtYDrkofAGqvHSh4dEWV0nDlT9ZjILRBK40Q6BeFH ZkAp83uJMa/pW+fJHrCbuwm1izyxXs/0piVGIrLySJRc5eLuhvpOPx7VL7VliMwoYQQP Ll6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679912721; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RF2fOqV0eGAgKKU2HK+WwH4z9N7EnJDoIeD0iJd+KGw=; b=PPqacSkBLaFwruwbV8Shg6tefqOmggt7ds53bFRhcq3UVfkyzQFZWOk+IRXi2r8Uxx PgJI9Aasfvs9nRcy4IDXSBMqY9dx7NkyULIYuHC0pot7056ptzGSpoIK9EikBps6syIT c9U4jvA2u1hC7/fGZw5r8xvOp+u9XAg7QIeGcMfLgj5vQ16fdLJgoKlM3v9mCfhKNmVl 9gjINAsvXixVPaGCTEli304SZUTOWgucfrR270XnpVk6MUXPnqvtPQSB6N9/XQ2blKwl T2vTtVl3VmjP/DKktxGLs0Rj1M9oUnO2XLZw6OEl3+YrhfTDcGT9bBrPzCyZsbpLi386 +5NQ== X-Gm-Message-State: AAQBX9e45EZUwxPTemQ9bzYsFvKVrHst+yktLi+yvy8SU8F2eoxHHRCh zcO8XQ1daIHLUapUD7I49HJ2/p1AIKw= X-Google-Smtp-Source: AKy350Zxkp/UtwSwyK7PBqXz4cZPW50YdB6zVXDc4afVCkVdwCkVhtybIiac///WWtFaFu0Fl0D0fA== X-Received: by 2002:adf:f0ca:0:b0:2d3:f610:8417 with SMTP id x10-20020adff0ca000000b002d3f6108417mr8599946wro.0.1679912721096; Mon, 27 Mar 2023 03:25:21 -0700 (PDT) Received: from guxtil.incerto.xyz (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id c15-20020adfef4f000000b002c7066a6f77sm24707506wrp.31.2023.03.27.03.25.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Mar 2023 03:25:20 -0700 (PDT) From: Sharlatan Hellseher Date: Mon, 27 Mar 2023 11:25:14 +0100 Message-Id: <20230327102517.14946-3-sharlatanus@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230327102517.14946-1-sharlatanus@gmail.com> References: <20230327102517.14946-1-sharlatanus@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Queue-Id: 8576A302A5 X-Spam-Score: -2.23 X-Migadu-Spam-Score: -2.23 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: F+pJoDrDoSAN * 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 ;;; Copyright © 2023 Sergiu Ivanov ;;; Copyright © 2023 David Thompson +;;; Copyright © 2023 Sharlatan Hellseher ;;; ;;; 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