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 ms0.migadu.com with LMTPS id uGpeBsX0VWIpJAEAgWs5BA (envelope-from ) for ; Tue, 12 Apr 2022 23:53:09 +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 qJz5AsX0VWJWJAAAauVa8A (envelope-from ) for ; Tue, 12 Apr 2022 23:53:09 +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 5C0E71437A for ; Tue, 12 Apr 2022 23:53:08 +0200 (CEST) Received: from localhost ([::1]:44678 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1neORf-00070S-HS for larch@yhetil.org; Tue, 12 Apr 2022 17:53:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1neORa-0006zj-4K for guix-patches@gnu.org; Tue, 12 Apr 2022 17:53:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56515) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1neORZ-0004Nf-QB for guix-patches@gnu.org; Tue, 12 Apr 2022 17:53:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1neORZ-0003r9-Mf for guix-patches@gnu.org; Tue, 12 Apr 2022 17:53:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54895] [PATCH 1/2] gnu: cava: Use G-expressions. References: <20220412215012.15452-1-daniel.meissner-i4k@ruhr-uni-bochum.de> In-Reply-To: <20220412215012.15452-1-daniel.meissner-i4k@ruhr-uni-bochum.de> Resent-From: Daniel =?UTF-8?Q?Mei=C3=9Fner?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Apr 2022 21:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54895 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54895@debbugs.gnu.org Cc: Daniel =?UTF-8?Q?Mei=C3=9Fner?= Received: via spool by 54895-submit@debbugs.gnu.org id=B54895.164980034314757 (code B ref 54895); Tue, 12 Apr 2022 21:53:01 +0000 Received: (at 54895) by debbugs.gnu.org; 12 Apr 2022 21:52:23 +0000 Received: from localhost ([127.0.0.1]:50409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neOQw-0003pv-57 for submit@debbugs.gnu.org; Tue, 12 Apr 2022 17:52:23 -0400 Received: from out3.mail.ruhr-uni-bochum.de ([134.147.53.155]:17623) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neOQt-0003pU-1c for 54895@debbugs.gnu.org; Tue, 12 Apr 2022 17:52:20 -0400 Received: from mx3.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out3.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4KdKFS5W2Mz8TSt for <54895@debbugs.gnu.org>; Tue, 12 Apr 2022 23:52:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ruhr-uni-bochum.de; s=mail-2017; t=1649800332; bh=RGfiKP+8djpmerifTPj6Ppl2y8J77cG2H2EkUD/4MPU=; h=From:To:Cc:Subject:Date:From; b=kmjl5W6HcTp0gXaZmcES+zHkeP4wSxBufiMZR8navQWNonNG48K5tgQTue9uN+jG2 GaxFfyFDhkhC7fSYhdwb03IuBgiDIH8nW9JH2EZflHgeA1toEgzGIlF+ViB8b9KE+q ADmXdf8nqRsaRMJHNkOy/x1W84HHnKreXW648aCI= Received: from out3.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx3.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4KdKFS4Yf0z8SvY; Tue, 12 Apr 2022 23:52:12 +0200 (CEST) X-Envelope-Sender: X-RUB-Notes: Internal origin=IPv6:2a05:3e00:c:1001::8693:2aec Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [IPv6:2a05:3e00:c:1001::8693:2aec]) by out3.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTP id 4KdKFS3GT4z8SsG; Tue, 12 Apr 2022 23:52:12 +0200 (CEST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mx3.mail.ruhr-uni-bochum.de Received: from think.local (dslb-002-204-219-156.002.204.pools.vodafone-ip.de [2.204.219.156]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4KdKFS1PG0zDgyd; Tue, 12 Apr 2022 23:52:12 +0200 (CEST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.2 at mail2.mail.ruhr-uni-bochum.de Date: Tue, 12 Apr 2022 23:52:03 +0200 Message-Id: <20220412215204.15514-1-daniel.meissner-i4k@ruhr-uni-bochum.de> X-Mailer: git-send-email 2.35.1 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: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Daniel =?UTF-8?Q?Mei=C3=9Fner?= X-ACL-Warn: , =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= From: =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1649800388; h=from:from:sender:sender:reply-to: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=A1gihcRp+0tnN0+eoHD2HTGI078FvYeLNfxIoAToo7g=; b=Fpj/jVJnoFNnsxdHXMMpJusxtgnqmdpXwAKL6aZkYsUSTi7/E5FEBQj5JD6mMtFHW3t+t3 85LowZSpGLb7lmf2s1A2IUV8aVs1w3/ijupUh6IV6LU7NrpZgRLonm0YKOSS0GQzrjvvgd knweTs87LzMAtvSv40magqK729qwt29/hmRuAxVg6iLZc7QLo8kjOZSikLKQeT+s80sxkd oFy6dWcYkp1TkUMybGNrAH4PFyzKUn90VyuucsEHwML9YXpvgPZK+LznH04pdmkGFwnYtT zb4/5zG5UbBolrYv1byx99SnNKt1quRA2wh4gGtldJQsrmVwTd8poXlYf2HFrQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649800388; a=rsa-sha256; cv=none; b=EUoG/jHYvZtlK+KYjAPY4Bq5lHs1WFpEtht453BbjBS6ODZKifMFZlDxv6YB7ASfzgLrxd 30HoWNN1xrUoMVXFfe6RQZIzMeVu+9oI+PEBSwQjZxEuu8A9Qs3uvmAbbXQOHGiGBuFoh8 iYCRz4Q7j7qZWP9c0jeExpYj5FaT91ilLzbtMTMxiDZdlAI4q2H9zeEwIAKDslQOyNf9rr IYk+pSY931Ss6Z19dXZyFvNZ2dSMPrgfgmptkqm3VhxcRTar8T1RPd/ruC8A2mnslPJ/Tb Qm6KHXnmwu5TksUQiXCfAj5W9QALDiYGL/50gP8OChBpvHVp/Y+JfON9krKK/A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ruhr-uni-bochum.de header.s=mail-2017 header.b=kmjl5W6H; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -4.86 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ruhr-uni-bochum.de header.s=mail-2017 header.b=kmjl5W6H; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: 5C0E71437A X-Spam-Score: -4.86 X-Migadu-Scanner: scn0.migadu.com X-TUID: PdDCIjaZkOTq * gnu/packages/audio.scm (cava)[arguments]: Use G-expressions. --- gnu/packages/audio.scm | 55 +++++++++++++++++++++--------------------- 1 file changed, 27 insertions(+), 28 deletions(-) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 13e0f02837..fd85b20855 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -4589,35 +4589,34 @@ (define-public cava (base32 "1mziklmqifhnb4kg9ia2r56r8wjn6xp40bkpf484hsgqvnrccl86")))) (build-system gnu-build-system) - (native-inputs - (list autoconf automake libtool)) - (inputs - (list fftw ncurses pulseaudio)) + (native-inputs (list autoconf automake libtool)) + (inputs (list fftw ncurses pulseaudio)) (arguments - `(#:configure-flags - (list (string-append "PREFIX=" %output) - (string-append "FONT_DIR=" %output "/share/consolefonts")) - #:make-flags - (let ((lib (string-append %output "/lib"))) - (list (string-append "cava_LDFLAGS = -L" lib " -Wl,-rpath " lib))) - #:phases - (modify-phases %standard-phases - (replace 'bootstrap - (lambda* (#:key outputs #:allow-other-keys) - (setenv "HOME" (getcwd)) - (invoke "sh" "autogen.sh"))) - (add-before 'build 'make-cava-ldflags - (lambda* (#:key outputs #:allow-other-keys) - (mkdir-p (string-append (assoc-ref outputs "out") "/lib")) - #t)) - (add-after 'install 'data - (lambda* (#:key outputs #:allow-other-keys) - (for-each (lambda (file) - (install-file file - (string-append (assoc-ref outputs "out") - "/share/doc/examples"))) - (find-files "example_files")) - #t))))) + (list #:configure-flags + #~(list (string-append "PREFIX=" + #$output) + (string-append "FONT_DIR=" + #$output "/share/consolefonts")) + #:make-flags + #~(let ((lib (string-append #$output "/lib"))) + (list (string-append "cava_LDFLAGS = -L" lib " -Wl,-rpath " lib))) + #:phases + #~(modify-phases %standard-phases + (replace 'bootstrap + (lambda _ + (setenv "HOME" + (getcwd)) + (invoke "sh" "autogen.sh"))) + (add-before 'build 'make-cava-ldflags + (lambda _ + (mkdir-p (string-append #$output "/lib")))) + (add-after 'install 'data + (lambda _ + (for-each (lambda (file) + (install-file file + (string-append #$output + "/share/doc/examples"))) + (find-files "example_files"))))))) (home-page "https://karlstav.github.io/cava/") (synopsis "Console audio visualizer for ALSA, MPD, and PulseAudio") (description "C.A.V.A. is a bar audio spectrum visualizer for the terminal -- 2.34.0