initial sound feature

This replaces the many sets of the corresponding packages
wandering all over pkglists, features and configurations;
the interface should be rather well-defined by now.
This commit is contained in:
Michael Shigorin 2013-07-04 15:17:06 +04:00
parent ce8e2d2272
commit e59dca158e
3 changed files with 23 additions and 0 deletions

2
features.in/sound/README Normal file
View File

@ -0,0 +1,2 @@
Эта фича добавляет поддержку аудиоподсистемы (как ядерную,
если не включена в kernel-image, так и утилиты).

View File

@ -0,0 +1,15 @@
+pulse: use/sound/pulse; @:
# common ALSA based part
use/sound:
@$(call add_feature)
@$(call add,THE_KMODULES,alsa)
@$(call add,THE_PACKAGES,amixer alsa-utils aplay)
# "bare" ALSA (which is good enough for many of us) with persistent levels
use/sound/alsa: use/sound
@$(call add,THE_PACKAGES,udev-alsa)
# PulseAudio (useful for per-app levels, dynamic devices and networked sound)
use/sound/pulse: use/sound
@$(call add,THE_LISTS,pulseaudio)

6
pkg.in/lists/pulseaudio Normal file
View File

@ -0,0 +1,6 @@
pulseaudio-daemon
pulseaudio-utils
pavucontrol
alsa-plugins-pulse