From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34069) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eLFx8-0002jN-Ox for guix-patches@gnu.org; Sat, 02 Dec 2017 17:08:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eLFx4-0008Fi-LH for guix-patches@gnu.org; Sat, 02 Dec 2017 17:08:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:33575) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eLFx4-0008FT-G3 for guix-patches@gnu.org; Sat, 02 Dec 2017 17:08:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eLFx4-0001G8-3B for guix-patches@gnu.org; Sat, 02 Dec 2017 17:08:02 -0500 Subject: [bug#29536] [PATCH] gnu: Add cava. Resent-Message-ID: Date: Sat, 2 Dec 2017 22:07:08 +0000 From: ng0 Message-ID: <20171202220708.cg6xnqca7ovul5ng@abyayala> References: <87efocor8u.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qs2htkes6n3m7lh5" Content-Disposition: inline In-Reply-To: <87efocor8u.fsf@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Oleg Pykhalov Cc: 29536@debbugs.gnu.org --qs2htkes6n3m7lh5 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, which patch would someone review? Aren't they supposed to be one patch? We don't have cava (as you are obviously adding it) and the 2nd patch makes a change to cava. We try to logically group patches, and this is a case where having it in one patch makes sense, when a new package is getting added. Oleg Pykhalov transcribed 2.4K bytes: > From 972835bcf71b67d2bc12c3d7a6bb80f51f0d0efa Mon Sep 17 00:00:00 2001 > From: Oleg Pykhalov > Date: Sat, 2 Dec 2017 22:36:36 +0300 > Subject: [PATCH] gnu: Add cava. >=20 > * gnu/packages/audio.scm (cava): New variable. > --- > gnu/packages/audio.scm | 43 +++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 43 insertions(+) >=20 > diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm > index da9314392..347f379e3 100644 > --- a/gnu/packages/audio.scm > +++ b/gnu/packages/audio.scm > @@ -3087,3 +3087,46 @@ mixers.") > customized and extended using either the s7 Scheme implementation (inclu= ded in > the Snd sources), Ruby, or Forth.") > (license (license:non-copyleft "file://COPYING")))) > + > +(define-public cava > + (package > + (name "cava") > + (version "0.6.0") > + (source (origin > + (method url-fetch) > + (uri (string-append > + "https://github.com/karlstav/cava/archive/" > + version ".tar.gz")) > + (file-name (string-append name "-" version ".tar.gz")) > + (sha256 > + (base32 > + "1p24lz3h4d0h82ffylqr7mq8a8x1c66flm2r2bsv1liw51n1rma2"))= )) > + (build-system gnu-build-system) > + (native-inputs > + `(("autoconf" ,autoconf) > + ("automake" ,automake) > + ("libtool" ,libtool))) > + (inputs > + `(("fftw" ,fftw) > + ("ncurses" ,ncurses) > + ("pulseaudio" ,pulseaudio))) > + (arguments > + `(#:configure-flags > + (list (string-append "PREFIX=3D" %output) > + (string-append "FONT_DIR=3D" %output "/usr/share/consolefon= ts")) > + #:make-flags ; Add $libdir to the RUNPATH of all the executables. > + (let ((lib (string-append %output "/lib"))) > + (list (string-append "cava_LDFLAGS =3D -L" lib " -Wl,-rpath " l= ib))) > + #:phases > + (modify-phases %standard-phases > + (add-after 'unpack 'bootstrap > + (lambda _ > + (setenv "HOME" (getcwd)) > + (zero? (system* "sh" "autogen.sh")))) > + (add-before 'build 'make-cava-ldflags > + (lambda _ (mkdir-p (string-append (assoc-ref %outputs "out") = "/lib"))))))) > + (home-page "https://karlstav.github.io/cava/") > + (synopsis "CLI audio visualizer for Alsa, MPD and Pulseaudio") > + (description "@code{cava} provides a command line audio visualizer f= or > +MPD, Alsa and Pulseaudio.") > + (license license:expat))) > --=20 > 2.15.0 >=20 >=20 >=20 >=20 >=20 --=20 GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 GnuPG: https://c.n0.is/ng0_pubkeys/tree/keys WWW: https://n0.is --qs2htkes6n3m7lh5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlojJAsACgkQ4i+bv+40 hYi4Rw//SAqGnT08mY9dyPzX9P2K/arEwcaj+hCJfMfA0SdCj3+PZ0xlfeWVVd1t 1E03/ztZTvpX3mMWdjhYF+fAc/u5xk8j5x87qSr9bV3+XW6WfmAtvHp7APvAv3wY KOO2vOQJ6S4N5pzvqT+8RlZSTkaS/r6ddsfpR61foY+feWNjfBDxc/1P0lShqVf+ 2CSPVV3+0rxywET9DCuKn+/ei++fyQYIQzJWfe+xvad0Tj7dKQ8z78uO0Lg5wo8E X5Wam4QjNUUfKHo61dBEYuXcLN76Z08bAdgzJqF1I8wcpvg2BVMf8G3l/EhmlhKS UQSn5lOAZqt25RM319px5Yrj5SNlmnc8ULa5evatfw9RVUZSlBoYv+r8ybHSdFMu 9Y+jTYFQPtXu2AWMl2CrNtvF3WoLuSAx6v5cgs73+4ibU5Ci42q2yio6k8lpXdh9 88wccSyJxDPhd+KFnD4oomiZOTPrr+XVZrUiAehMDv+SgpO/jhHefScx0B0ZksjI dnpi5AqW+1bnK8lSX+xOAUd2r59uv1LSqa0hFXF++Uc5w9e2aH140N1Jmyd5xyop bfxfnrpjsCQAsH1tK98EK8c/wLoK6kqZCeUJWDWrTEMbjQeX4aSKuoKFcZ1949UG f9RwdfyMPUCLHQ64Sy+IwNgkIyQjO+U20XAIDUqgzk82WSi4vUs= =fcnn -----END PGP SIGNATURE----- --qs2htkes6n3m7lh5--