From: Leo Famulari <leo@famulari.name>
To: 28675@debbugs.gnu.org
Subject: [bug#28675] [PATCH] gnu: Add pulsemixer.
Date: Mon, 2 Oct 2017 17:54:41 -0400 [thread overview]
Message-ID: <811dc65c73c3f38cd0222caf8db8154ca88b4abf.1506981281.git.leo@famulari.name> (raw)
* 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
next reply other threads:[~2017-10-02 21:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-02 21:54 Leo Famulari [this message]
2017-10-02 21:56 ` [bug#28675] Pulsemixer Leo Famulari
2017-10-03 7:51 ` [bug#28675] [PATCH] gnu: Add pulsemixer Oleg Pykhalov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=811dc65c73c3f38cd0222caf8db8154ca88b4abf.1506981281.git.leo@famulari.name \
--to=leo@famulari.name \
--cc=28675@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.