From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dz8h3-0006iH-JF for guix-patches@gnu.org; Mon, 02 Oct 2017 17:56:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dz8h0-0000Z9-GN for guix-patches@gnu.org; Mon, 02 Oct 2017 17:56:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:35971) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dz8h0-0000Yq-Cm for guix-patches@gnu.org; Mon, 02 Oct 2017 17:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dz8h0-0007YH-6k for guix-patches@gnu.org; Mon, 02 Oct 2017 17:56:02 -0400 Subject: [bug#28675] [PATCH] gnu: Add pulsemixer. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dz8fs-0006Zc-Nd for guix-patches@gnu.org; Mon, 02 Oct 2017 17:54:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dz8fp-0007jW-JH for guix-patches@gnu.org; Mon, 02 Oct 2017 17:54:52 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:36731) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dz8fp-0007hS-Ff for guix-patches@gnu.org; Mon, 02 Oct 2017 17:54:49 -0400 Received: from jasmine.lan (c-73-165-108-70.hsd1.pa.comcast.net [73.165.108.70]) by mail.messagingengine.com (Postfix) with ESMTPA id A4FD324724 for ; Mon, 2 Oct 2017 17:54:45 -0400 (EDT) From: Leo Famulari Date: Mon, 2 Oct 2017 17:54:41 -0400 Message-Id: <811dc65c73c3f38cd0222caf8db8154ca88b4abf.1506981281.git.leo@famulari.name> 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: 28675@debbugs.gnu.org * gnu/packages/pulseaudio.scm (pulsemixer): New variable. --- gnu/packages/pulseaudio.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/pulseaudio.scm b/gnu/packages/pulseaudio.scm index 846c174fa..a119ef9f4 100644 --- a/gnu/packages/pulseaudio.scm +++ b/gnu/packages/pulseaudio.scm @@ -259,3 +259,33 @@ easily control the volume of all clients, sinks, etc.") command-line interface. In addition, it is possible to use named sources and sinks.") (license l:expat))) + +(define-public pulsemixer + (package + (name "pulsemixer") + (version "1.3.0") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/GeorgeFilipkin/" + "pulsemixer/archive/" version ".tar.gz")) + (sha256 + (base32 + "03c94313fhxd5sbkl2ajzb2gmmm4hpv7m5rkbxmahwg9s8ih824r")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-path + (lambda* (#:key inputs #:allow-other-keys) + (let ((pulse (assoc-ref inputs "pulseaudio"))) + (substitute* "pulsemixer" + (("libpulse.so.0") + (string-append pulse "/lib/libpulse.so.0"))) + #t)))))) + (inputs + `(("pulseaudio" ,pulseaudio))) + (home-page "https://github.com/GeorgeFilipkin/pulsemixer/") + (synopsis "Command-line and curses mixer for PulseAudio") + (description "Pulsemixer is a PulseAudio mixer with command-line and +curses-style interfaces.") + (license l:expat))) -- 2.14.2