gnu: Add wmamixer.

* gnu/packages/gnustep.scm (wmamixer): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Jessica Tallon 2022-08-26 22:06:20 +02:00 committed by Ludovic Courtès
parent 9c5a952818
commit aae98c2972
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -36,6 +36,7 @@ (define-module (gnu packages gnustep)
#:use-module (gnu packages gcc)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gtk)
#:use-module (gnu packages linux)
#:use-module (gnu packages llvm)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages autotools)
@ -335,3 +336,37 @@ (define-public wmfire
symbols to represent the current monitor are \"burnt\" onscreen. The flame
colour can also be changed.")
(license license:gpl2+)))
(define-public wmamixer
(package
(name "wmamixer")
(version "1.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/gryf/wmamixer")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"04vv4kr4mj1nwri6zqgdg4yzbbmmng73qd4h0azliril75m7sldf"))))
(inputs (list libx11 libxpm libxext alsa-lib))
(build-system gnu-build-system)
(arguments
(list #:phases #~(modify-phases %standard-phases
(delete 'configure)
(delete 'check)
(replace 'install
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin")))
(install-file "wmamixer" bin)))))))
(synopsis "Window maker applet to display the current volume")
(description
"wmamixer is an applet for window maker which displays the
current volume level both numerically and visiaully with a volume bar. It
includes the ability to toggle through different outputs to show their
respective volume level.")
(home-page "https://github.com/gryf/wmamixer")
(license license:gpl2+)))