From e59dca158e1299ef02a7efd2484b7b1185db1d7a Mon Sep 17 00:00:00 2001 From: Michael Shigorin Date: Thu, 4 Jul 2013 15:17:06 +0400 Subject: [PATCH] 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. --- features.in/sound/README | 2 ++ features.in/sound/config.mk | 15 +++++++++++++++ pkg.in/lists/pulseaudio | 6 ++++++ 3 files changed, 23 insertions(+) create mode 100644 features.in/sound/README create mode 100644 features.in/sound/config.mk create mode 100644 pkg.in/lists/pulseaudio diff --git a/features.in/sound/README b/features.in/sound/README new file mode 100644 index 00000000..eef907a3 --- /dev/null +++ b/features.in/sound/README @@ -0,0 +1,2 @@ +Эта фича добавляет поддержку аудиоподсистемы (как ядерную, +если не включена в kernel-image, так и утилиты). diff --git a/features.in/sound/config.mk b/features.in/sound/config.mk new file mode 100644 index 00000000..fe4a7d55 --- /dev/null +++ b/features.in/sound/config.mk @@ -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) diff --git a/pkg.in/lists/pulseaudio b/pkg.in/lists/pulseaudio new file mode 100644 index 00000000..ac5c52a7 --- /dev/null +++ b/pkg.in/lists/pulseaudio @@ -0,0 +1,6 @@ +pulseaudio-daemon + +pulseaudio-utils +pavucontrol + +alsa-plugins-pulse