summaryrefslogtreecommitdiff
path: root/gnu/packages/pulseaudio.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-12-13 17:18:24 +0100
committerLudovic Courtès <ludo@gnu.org>2021-12-13 17:48:25 +0100
commit8394619baceb118df92e355377fd543bb1aa501a (patch)
tree504f07c2a9f88596a305b59ef45f941062426a52 /gnu/packages/pulseaudio.scm
parentaca2defe0172868295941fd9f0e97886f6e9b2d4 (diff)
gnu: Simplify package inputs.
This commit was obtained by running: ./pre-inst-env guix style without any additional argument.
Diffstat (limited to 'gnu/packages/pulseaudio.scm')
-rw-r--r--gnu/packages/pulseaudio.scm131
1 files changed, 55 insertions, 76 deletions
diff --git a/gnu/packages/pulseaudio.scm b/gnu/packages/pulseaudio.scm
index 66370a2dfb..57499920c1 100644
--- a/gnu/packages/pulseaudio.scm
+++ b/gnu/packages/pulseaudio.scm
@@ -103,13 +103,9 @@
#t))))
(build-system gnu-build-system)
(propagated-inputs
- `(("flac" ,flac)
- ("libogg" ,libogg)
- ("libvorbis" ,libvorbis)
- ("opus" ,opus)))
+ (list flac libogg libvorbis opus))
(native-inputs
- `(("pkg-config" ,pkg-config)
- ("python" ,python)))
+ (list pkg-config python))
(home-page "http://www.mega-nerd.com/libsndfile/")
(synopsis "Reading and writing files containing sampled sound")
(description
@@ -131,10 +127,7 @@ for reading and writing new sound file formats.")
(inherit libsndfile)
(inputs '())
(propagated-inputs
- `(("libvorbis" ,libvorbis)
- ("libogg" ,libogg)
- ("flac" ,flac)
- ("opus" ,opus)))))
+ (list libvorbis libogg flac opus))))
(define-public libsamplerate
(package
@@ -149,11 +142,9 @@ for reading and writing new sound file formats.")
"1ha46i0nbibq0pl0pjwcqiyny4hj8lp1bnl4dpxm64zjw9lb2zha"))))
(build-system gnu-build-system)
(native-inputs
- `(("pkg-config" ,pkg-config)
- ("automake" ,automake))) ;For up to date 'config.guess' and 'config.sub'.
+ (list pkg-config automake)) ;For up to date 'config.guess' and 'config.sub'.
(propagated-inputs
- `(("libsndfile" ,libsndfile)
- ("fftw" ,fftw)))
+ (list libsndfile fftw))
(arguments
`(#:phases
(modify-phases %standard-phases
@@ -240,27 +231,25 @@ rates.")
(setenv "CK_DEFAULT_TIMEOUT" "120")
#t)))))
(inputs
- `(("alsa-lib" ,alsa-lib)
- ("bluez" ,bluez)
- ("sbc" ,sbc)
- ("speexdsp" ,speexdsp)
- ("libsndfile" ,libsndfile)
- ("jack" ,jack-1) ; For routing the output to jack.
- ("dbus" ,dbus)
- ("glib" ,glib)
- ("libltdl" ,libltdl)
- ("fftwf" ,fftwf)
- ("avahi" ,avahi)
- ("webrtc-audio-processing", webrtc-audio-processing)
-
- ;; For the optional X11 modules.
- ("libice" ,libice)
- ("libsm" ,libsm)
- ("libxcb" ,libxcb)
- ("libxtst" ,libxtst)
-
- ("elogind" ,elogind)
- ("eudev" ,eudev))) ;for the detection of hardware audio devices
+ (list alsa-lib
+ bluez
+ sbc
+ speexdsp
+ libsndfile
+ jack-1 ; For routing the output to jack.
+ dbus
+ glib
+ libltdl
+ fftwf
+ avahi
+ webrtc-audio-processing
+ ;; For the optional X11 modules.
+ libice
+ libsm
+ libxcb
+ libxtst
+ elogind
+ eudev)) ;for the detection of hardware audio devices
(native-inputs
`(("check" ,check)
("doxygen" ,doxygen)
@@ -272,8 +261,7 @@ rates.")
("pkg-config" ,pkg-config)))
(propagated-inputs
;; 'libpulse*.la' contain `-ltdb' and `-lcap', so propagate them.
- `(("libcap" ,libcap)
- ("tdb" ,tdb)))
+ (list libcap tdb))
(home-page "http://www.pulseaudio.org/")
(synopsis "Sound server")
(description
@@ -304,14 +292,13 @@ sound server.")
"0yjfiwpaydh5s8v3l78dhwhbsmcl1xsq3p8rvz80m9zinp1p4ayf"))))
(build-system glib-or-gtk-build-system)
(inputs
- `(("adwaita-icon-theme" ,adwaita-icon-theme) ;hard-coded theme
- ("gtkmm" ,gtkmm-3)
- ("json-glib" ,json-glib)
- ("libcanberra" ,libcanberra)
- ("pulseaudio" ,pulseaudio)))
+ (list adwaita-icon-theme ;hard-coded theme
+ gtkmm-3
+ json-glib
+ libcanberra
+ pulseaudio))
(native-inputs
- `(("intltool" ,intltool)
- ("pkg-config" ,pkg-config)))
+ (list intltool pkg-config))
(home-page "https://www.freedesktop.org/software/pulseaudio/pavucontrol/")
(synopsis "PulseAudio volume control")
(description
@@ -346,9 +333,9 @@ easily control the volume of all clients, sinks, etc.")
(("/usr") ""))))
(delete 'configure)))) ; There's no configure phase.
(inputs
- `(("pulseaudio" ,pulseaudio)))
+ (list pulseaudio))
(native-inputs
- `(("pkg-config" ,pkg-config)))
+ (list pkg-config))
(home-page "https://github.com/falconindy/ponymix")
(synopsis "Console-based PulseAudio mixer")
(description "Ponymix is a PulseAudio mixer and volume controller with a
@@ -381,7 +368,7 @@ sinks.")
(string-append pulse "/lib/libpulse.so.0")))
#t))))))
(inputs
- `(("pulseaudio" ,pulseaudio)))
+ (list 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
@@ -408,20 +395,20 @@ curses-style interfaces.")
(build-system python-build-system)
(arguments `(#:python ,python-2))
(inputs
- `(("python2-chardet" ,python2-chardet)
- ("python2-dbus" ,python2-dbus)
- ("python2-docopt" ,python2-docopt)
- ("python2-futures" ,python2-futures)
- ("python2-pygobject" ,python2-pygobject)
- ("python2-lxml" ,python2-lxml)
- ("python2-netifaces" ,python2-netifaces)
- ("python2-notify2" ,python2-notify2)
- ("python2-protobuf" ,python2-protobuf)
- ("python2-psutil" ,python2-psutil)
- ("python2-requests" ,python2-requests)
- ("python2-pyroute2" ,python2-pyroute2)
- ("python2-setproctitle" ,python2-setproctitle)
- ("python2-zeroconf" ,python2-zeroconf)))
+ (list python2-chardet
+ python2-dbus
+ python2-docopt
+ python2-futures
+ python2-pygobject
+ python2-lxml
+ python2-netifaces
+ python2-notify2
+ python2-protobuf
+ python2-psutil
+ python2-requests
+ python2-pyroute2
+ python2-setproctitle
+ python2-zeroconf))
(home-page "https://github.com/masmu/pulseaudio-dlna")
(synopsis "Stream audio to DLNA/UPnP and Chromecast devices")
(description "This lightweight streaming server brings DLNA/UPnP and
@@ -465,8 +452,7 @@ install one or more of the following packages alongside pulseaudio-dlna:
(lambda _
(mkdir-p (string-append (assoc-ref %outputs "out") "/bin")))))))
(inputs
- `(("boost" ,boost)
- ("pulseaudio" ,pulseaudio)))
+ (list boost pulseaudio))
(home-page "https://github.com/cdemoulins/pamixer")
(synopsis "PulseAudio command line mixer")
(description
@@ -497,15 +483,9 @@ volume levels of the sinks (get, set, decrease, increase, toggle mute, etc).")
(delete-file "bootstrap.sh")
#t)))))
(native-inputs
- `(("autoconf" ,autoconf)
- ("automake" ,automake)
- ("pkg-config" ,pkg-config)))
+ (list autoconf automake pkg-config))
(inputs
- `(("avahi" ,avahi)
- ("gtk+" ,gtk+)
- ("libnotify" ,libnotify)
- ("libx11" ,libx11)
- ("pulseaudio" ,pulseaudio)))
+ (list avahi gtk+ libnotify libx11 pulseaudio))
(home-page "https://github.com/christophgysin/pasystray")
(synopsis "PulseAudio controller for the system tray")
(description "@command{pasystray} enables control of various
@@ -530,8 +510,7 @@ README.md for a detailed list of features.")
`(("gettext" ,gettext-minimal)
("pkg-config" ,pkg-config)))
(inputs
- `(("gtkmm" ,gtkmm-3)
- ("pulseaudio" ,pulseaudio)))
+ (list gtkmm-3 pulseaudio))
(home-page "https://freedesktop.org/software/pulseaudio/paprefs/")
(synopsis "Simple GTK based configuration dialog for the PulseAudio sound
server")
@@ -559,8 +538,8 @@ module-gsettings is loaded in the sound server.")
;; No tests.
'(#:tests? #f))
(inputs
- `(;; TODO: Package VST to build the corresponding plugin.
- ("pulseaudio" ,pulseaudio)))
+ (list ;; TODO: Package VST to build the corresponding plugin.
+ pulseaudio))
(home-page "https://github.com/werman/noise-suppression-for-voice")
(synopsis "Real-time Noise suppression plugin based on Xiph's RNNoise")
(description "The plugin is meant to suppress a wide range of noise
@@ -622,7 +601,7 @@ The plugin is made to work with 1 or 2 channels (ladspa plugin),
(with-directory-excursion "src/github.com/lawl/NoiseTorch"
(invoke "go" "generate")))))))
(inputs
- `(("rnnoise" ,rnnoise)))
+ (list rnnoise))
(home-page "https://github.com/lawl/NoiseTorch")
(synopsis "Real-time microphone noise suppression")
(description "NoiseTorch creates a virtual PulseAudio microphone that