From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0CXF-0001FL-SO for guix-patches@gnu.org; Mon, 17 Apr 2017 15:42:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d0CXC-0002uL-Lx for guix-patches@gnu.org; Mon, 17 Apr 2017 15:42:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:54734) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d0CXC-0002uA-JT for guix-patches@gnu.org; Mon, 17 Apr 2017 15:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d0CXC-0007Pk-AU for guix-patches@gnu.org; Mon, 17 Apr 2017 15:42:02 -0400 Subject: bug#26546: [PATCH] gnu: Add ponymix Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0CWi-0000w4-UZ for guix-patches@gnu.org; Mon, 17 Apr 2017 15:41:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d0CWf-0002T0-I1 for guix-patches@gnu.org; Mon, 17 Apr 2017 15:41:32 -0400 Received: from dd5424.kasserver.com ([85.13.138.252]:53121) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d0CWf-0002QQ-B6 for guix-patches@gnu.org; Mon, 17 Apr 2017 15:41:29 -0400 From: Stefan =?UTF-8?Q?Reich=C3=B6r?= Date: Mon, 17 Apr 2017 21:41:22 +0200 Message-ID: <8760i2izz1.fsf@xsteve.at> MIME-Version: 1.0 Content-Type: text/x-diff; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-ponymix.patch Content-Transfer-Encoding: quoted-printable 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: 26546@debbugs.gnu.org >From c0e4e33ba755803324e4ce8fbddb80e540d753af Mon Sep 17 00:00:00 2001 From: Stefan Reichoer Date: Mon, 17 Apr 2017 21:35:33 +0200 Subject: [PATCH] gnu: Add ponymix. * gnu/packages/pulseaudio.scm (ponymix): New variable. --- gnu/packages/pulseaudio.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/pulseaudio.scm b/gnu/packages/pulseaudio.scm index 71fcc3f..c0602c3 100644 --- a/gnu/packages/pulseaudio.scm +++ b/gnu/packages/pulseaudio.scm @@ -4,6 +4,7 @@ ;;; Copyright =C2=A9 2016 Efraim Flashner ;;; Copyright =C2=A9 2016 Ricardo Wurmus ;;; Copyright =C2=A9 2017 Leo Famulari +;;; Copyright =C2=A9 2017 Stefan Reich=C3=B6r ;;; ;;; This file is part of GNU Guix. ;;; @@ -247,3 +248,37 @@ sound server.") graphical user interface to connect to a PulseAudio server and easily control the volume of all clients, sinks, etc.") (license l:gpl2+))) + +(define-public ponymix + (package + (name "ponymix") + (version "5") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/falconindy/ponymix/" + "archive/" version ".tar.gz")) + (sha256 + (base32 + "1c0ch98zry3c4ixywwynjid1n1nh4xl4l1p548giq2w3zwflaghn")) + (modules '((guix build utils))) + (snippet + '(substitute* "Makefile" + (("/usr") ""))))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; There is no test suite. + #:make-flags (let ((out (assoc-ref %outputs "out"))) + (list (string-append "DESTDIR=3D" out))) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) ; There's no configure phase. + (inputs + `(("pulseaudio" ,pulseaudio))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "https://github.com/falconindy/ponymix") + (synopsis "CLI PulseAudio volume control") + (description + "PulseAudio Volume Control for the CLI. In addition it is possible +to use named sources and sinks.") + (license l:expat))) --=20 2.7.4