* [bug#28675] [PATCH] gnu: Add pulsemixer.
@ 2017-10-02 21:54 Leo Famulari
2017-10-02 21:56 ` [bug#28675] Pulsemixer Leo Famulari
2017-10-03 7:51 ` [bug#28675] [PATCH] gnu: Add pulsemixer Oleg Pykhalov
0 siblings, 2 replies; 3+ messages in thread
From: Leo Famulari @ 2017-10-02 21:54 UTC (permalink / raw)
To: 28675
* 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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#28675] Pulsemixer
2017-10-02 21:54 [bug#28675] [PATCH] gnu: Add pulsemixer Leo Famulari
@ 2017-10-02 21:56 ` Leo Famulari
2017-10-03 7:51 ` [bug#28675] [PATCH] gnu: Add pulsemixer Oleg Pykhalov
1 sibling, 0 replies; 3+ messages in thread
From: Leo Famulari @ 2017-10-02 21:56 UTC (permalink / raw)
To: 28675
[-- Attachment #1: Type: text/plain, Size: 114 bytes --]
I left the module import of (gnu build-system python) out of this patch
accidentally. It works when you add that.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [bug#28675] [PATCH] gnu: Add pulsemixer.
2017-10-02 21:54 [bug#28675] [PATCH] gnu: Add pulsemixer Leo Famulari
2017-10-02 21:56 ` [bug#28675] Pulsemixer Leo Famulari
@ 2017-10-03 7:51 ` Oleg Pykhalov
1 sibling, 0 replies; 3+ messages in thread
From: Oleg Pykhalov @ 2017-10-03 7:51 UTC (permalink / raw)
To: Leo Famulari; +Cc: 28675
[-- Attachment #1: Type: text/plain, Size: 105 bytes --]
Hello Leo,
Leo Famulari <leo@famulari.name> writes:
[...]
Thanks for patch!
LGTM with minor change.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 463 bytes --]
diff --git a/gnu/packages/pulseaudio.scm b/gnu/packages/pulseaudio.scm
index a119ef9f4..a2ba4613c 100644
--- a/gnu/packages/pulseaudio.scm
+++ b/gnu/packages/pulseaudio.scm
@@ -27,6 +27,7 @@
#:use-module (guix download)
#:use-module ((guix licenses) #:prefix l:)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system python)
#:use-module (gnu packages)
#:use-module (gnu packages algebra)
#:use-module (gnu packages autotools)
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-10-03 14:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-02 21:54 [bug#28675] [PATCH] gnu: Add pulsemixer Leo Famulari
2017-10-02 21:56 ` [bug#28675] Pulsemixer Leo Famulari
2017-10-03 7:51 ` [bug#28675] [PATCH] gnu: Add pulsemixer Oleg Pykhalov
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).