gnu: Add pasystray.

* gnu/packages/pulseaudio.scm (pasystray): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
Amin Bandali 2020-02-04 20:31:49 -05:00 committed by Leo Famulari
parent 3c32ef7ae1
commit d9e2f7b284
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -42,6 +42,7 @@ (define-module (gnu packages pulseaudio)
#:use-module (gnu packages check) #:use-module (gnu packages check)
#:use-module (gnu packages dbm) #:use-module (gnu packages dbm)
#:use-module (gnu packages glib) #:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gtk) #:use-module (gnu packages gtk)
#:use-module (gnu packages libcanberra) #:use-module (gnu packages libcanberra)
#:use-module (gnu packages web) #:use-module (gnu packages web)
@ -402,3 +403,42 @@ (define-public pamixer
"pamixer is like amixer but for PulseAudio, allowing easy control of the "pamixer is like amixer but for PulseAudio, allowing easy control of the
volume levels of the sinks (get, set, decrease, increase, toggle mute, etc).") volume levels of the sinks (get, set, decrease, increase, toggle mute, etc).")
(license l:gpl3+))) (license l:gpl3+)))
(define-public pasystray
(package
(name "pasystray")
(version "0.7.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/christophgysin/pasystray.git")
(commit (string-append name "-" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0xx1bm9kimgq11a359ikabdndqg5q54pn1d1dyyjnrj0s41168fk"))))
(build-system gnu-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'bootstrap 'remove-bootstrap.sh
(lambda _
;; Interferes with the bootstrap phase.
(delete-file "bootstrap.sh")
#t)))))
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)
("pkg-config" ,pkg-config)))
(inputs
`(("avahi" ,avahi)
("gtk+" ,gtk+)
("libnotify" ,libnotify)
("libx11" ,libx11)
("pulseaudio" ,pulseaudio)))
(home-page "https://github.com/christophgysin/pasystray")
(synopsis "PulseAudio controller for the system tray")
(description "@command{pasystray} enables control of various
PulseAudio server settings from the X11 system tray. See the project
README.md for a detailed list of features.")
(license l:lgpl2.1+)))