From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id oM3yA11vIWR49QAASxT56A (envelope-from ) for ; Mon, 27 Mar 2023 12:26:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CFq9A11vIWS7MQEAauVa8A (envelope-from ) for ; Mon, 27 Mar 2023 12:26:37 +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 B396C28AFC for ; Mon, 27 Mar 2023 12:26:36 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=hG79MDPr; 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=1679912796; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=D8BUkcjxY0wFTQ08GhgxpEDlph0iX6ZJSiOBqX+sSw8=; b=aWf4SVouuyFbVB6vdsu6PHtP4KB4EwdQi/bDP1OMPZIza/t0xoy6bA7jkVRBdYL+DPxy1O CXhUl9dFDITk9dDVUEvmCrSbei3+3MT4RxlTKRPaVFvphO6NxMotUXGO2IL8aw6IUBQ/CX CHq/RTtMKkFmL5BmhZsZx4EXNGMCd9jNQPXIOyD6lInojdwU04E0a3XTlvrNCrIiX8PHZe KZrTJ7vKdV5CIIiLAdRwTqp9B8rdnGaKNa9yZPROXOwTgwidsdjd/GDUhu291YVD7cdMT2 3iaI+0R3NeszO6yqVbAnZrHn616A29uWcH9Z5Fj/dMUJHmIN/9jgFGb8eqwHlw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679912796; a=rsa-sha256; cv=none; b=QqWkWRbuQewiMNTYZUQ83HrmhvdSR3s/QfCDa80mu55pv+mevCnoF2QDBqMjI4RfX1k0d2 Cpla3jrJhrOw6jvvcIXUYAW39bTvWktpPRQLqF6RQf5y4TCznYYOMUsIzh3RQbZ7D78zRg Uq8C/5GtusHzDSgrrSEmuHvzaJqL6aBRS2NHSLDrFYqiPntCT+CCB0RyviOAg0j1d3/C1k miHv2p6rTuzfyLD/KOOi6TOL2dcU7SDl5XVIAuHJeCzDsN37YWpoDb5JrZ246IYhVtwqZt U6Rm3mcTRvkMvKgrrjSrAzVrt471i/KJehnb2Kv9kjJHllC22qXZY3DBdg6zpw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=hG79MDPr; 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 1pgk3D-0008K0-U4; Mon, 27 Mar 2023 06:26:07 -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 1pgk38-0008IZ-0l for guix-patches@gnu.org; Mon, 27 Mar 2023 06:26:02 -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 1pgk37-0002zW-Nx for guix-patches@gnu.org; Mon, 27 Mar 2023 06:26:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pgk37-0006iD-Ja for guix-patches@gnu.org; Mon, 27 Mar 2023 06:26:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62477] [PATCH 1/6] gnu: Add cl-flac. References: <20230327102254.14799-1-sharlatanus@gmail.com> In-Reply-To: <20230327102254.14799-1-sharlatanus@gmail.com> Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Mar 2023 10:26:01 +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.167991272925707 (code B ref 62477); Mon, 27 Mar 2023 10:26:01 +0000 Received: (at 62477) by debbugs.gnu.org; 27 Mar 2023 10:25:29 +0000 Received: from localhost ([127.0.0.1]:46619 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgk2a-0006gY-UA for submit@debbugs.gnu.org; Mon, 27 Mar 2023 06:25:29 -0400 Received: from mail-wm1-f48.google.com ([209.85.128.48]:35695) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgk2X-0006fn-Bg for 62477@debbugs.gnu.org; Mon, 27 Mar 2023 06:25:26 -0400 Received: by mail-wm1-f48.google.com with SMTP id bg16-20020a05600c3c9000b003eb34e21bdfso7020107wmb.0 for <62477@debbugs.gnu.org>; Mon, 27 Mar 2023 03:25:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679912719; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=D8BUkcjxY0wFTQ08GhgxpEDlph0iX6ZJSiOBqX+sSw8=; b=hG79MDPrvKZx6rbx3JaAC+inMIrLdHTRBjj65ucfhGXwBQyVSRD4yOcxekx470FBh3 Hmavfh+e+mpnrtkPzso0Rnzd56iJDgUmhnGQaA0kI1Yw/r66C9CRwXhYOQ46wiLq3dYx cyAxlQn1xtrLhq4CyFmWlK/xU9SPJROxgOv4CxWl4rFB7NJz3kQbzwULDDH0g3ivELof yTsT6D0xM5JOXsrqtQg+hVqpXRujR3Isl7jPuX/2noQDrvACxQK4zNV+rTYfbOftwWNs 35ZQ/VZ5F//5CqTHsDLq4mzwEW/L5SPchgAwWKLy5UybSJZf2xSwK70Jf0z25h81hTwM 9fHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679912719; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=D8BUkcjxY0wFTQ08GhgxpEDlph0iX6ZJSiOBqX+sSw8=; b=3Omtd+N9CnFVfStCAiLBEmjIKcf59EB5mtANRGAMvQ2a0Lnj/6oTcq/eszra+pgGW+ FJRrZmG2jjYvF1tQFjbqxeeEyHEKMjl6VFOxtkOkUr+wsu1CD0kCwd+z5G/kKo0YW/Z4 8PLZ4KF+aJ1zDB32+0k3sa6/UqDEmCjKPQi5htL/dBj3zaNoTUBIBQkZXg6sk3J/jIba jvGVHf4ZQcPoaQoRj8GzzlHnOINDF5403q0IO+Vy0mXq0CZ2tWUoG2xwMpDAtqOFlW2n aWUrIQ9sTVXcGcZxXmYQ1oLloH9cQHvFxqlTmNLz2Ti69i8zD+4zfsg4POsyIdRti4AV FVDg== X-Gm-Message-State: AO0yUKX8ivc3jlop3sF9GeuP5W+hH1eK4ugtCAxFmqEMzTwCeGoGh+yx UBPjIPKITC6QZ1CzXGg+li6necbv1Nk= X-Google-Smtp-Source: AK7set9d0vgtDfJ+XaYs4WETW8IFsKlReu/sm40TM1YqsgTRPZiehfX9IP8SFmNFdwS9+x92Kf1AxA== X-Received: by 2002:a7b:c7ce:0:b0:3ed:a07b:c59d with SMTP id z14-20020a7bc7ce000000b003eda07bc59dmr9027517wmk.21.1679912719620; Mon, 27 Mar 2023 03:25:19 -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.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Mar 2023 03:25:19 -0700 (PDT) From: Sharlatan Hellseher Date: Mon, 27 Mar 2023 11:25:12 +0100 Message-Id: <20230327102517.14946-1-sharlatanus@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 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: B396C28AFC X-Spam-Score: -1.73 X-Migadu-Spam-Score: -1.73 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: JYa7IIziQrh+ * gnu/packages/lisp-xyz.scm (cl-flac, ecl-cl-flac, sbcl-cl-flac): New variables. --- gnu/packages/lisp-xyz.scm | 48 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 20ea82cd6f..ae8524657b 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -119,6 +119,7 @@ (define-module (gnu packages lisp-xyz) #:use-module (gnu packages web) #:use-module (gnu packages webkit) #:use-module (gnu packages xdisorg) + #:use-module (gnu packages xiph) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (ice-9 match) @@ -6728,6 +6729,53 @@ (define-public cl-fastcgi (define-public ecl-cl-fastcgi (sbcl-package->ecl-package sbcl-cl-fastcgi)) +(define-public sbcl-cl-flac + (let ((commit "d094d33d3cc2cf263263b917798d338eded3c532") + (revision "0")) + (package + (name "sbcl-cl-flac") + (version (git-version "2.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Shirakumo/cl-flac") + (commit commit))) + (file-name (git-file-name "cl-flac" version)) + (sha256 + (base32 "1dgr5xqf175hzq3sxpbixxia2k2g3rz0pn6msch4dnvk7a1naqlc")) + (modules '((guix build utils))) + (snippet + ;; Delete bundled libraries. + `(begin + (delete-file-recursively "static"))))) + (build-system asdf-build-system/sbcl) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "low-level.lisp" + (("libflac.so") + (search-input-file inputs "/lib/libFLAC.so")))))))) + (inputs + (list flac + sbcl-cffi + sbcl-documentation-utils + sbcl-trivial-features + sbcl-trivial-garbage)) + (home-page "https://shirakumo.github.io/cl-flac") + (synopsis "CFFI binding to libflac for Common Lisp") + (description "This package provides a CFFI bindings to @code{libflac} +audio library for Common Lisp") + (license license:zlib)))) + +(define-public ecl-cl-flac + (sbcl-package->ecl-package sbcl-cl-flac)) + +(define-public cl-flac + (sbcl-package->cl-source-package sbcl-cl-flac)) + (define-public sbcl-clack (let ((commit "6fd0279424f7ba5fd4f92d69a1970846b0b11222") (revision "2")) -- 2.39.2