New commits:
commit bca00fd39ac114d38f62e2efaa4e47de1bc0d80d
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>
pulseaudio: Optionally depends on policykit
commit 020767e83259a14d95b3a19551a6da7546dfe52b
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>
alsa-plugins: Setup pulse as an ALSA device if enabled
diff --git a/audio-drivers/alsa-plugins/HISTORY
b/audio-drivers/alsa-plugins/HISTORY
index 90d7f40..5e81c2e 100644
--- a/audio-drivers/alsa-plugins/HISTORY
+++ b/audio-drivers/alsa-plugins/HISTORY
@@ -1,5 +1,7 @@
2008-10-13 Pol Vinogradov <vin.public AT gmail.com>
* DETAILS: updated to 1.0.18rc3
+ * INSTALL: Install asound.conf if pulseaudio is enabled
+ * asound.conf: Setup pulse as an ALSA device
2008-07-15 Pol Vinogradov <vin.public AT gmail.com>
* DETAILS: updated to 1.0.17
diff --git a/audio-drivers/alsa-plugins/INSTALL
b/audio-drivers/alsa-plugins/INSTALL
new file mode 100755
index 0000000..170795d
--- /dev/null
+++ b/audio-drivers/alsa-plugins/INSTALL
@@ -0,0 +1,6 @@
+default_install &&
+
+if is_depends_enabled $SPELL pulseaudio; then
+ install_config_file $SCRIPT_DIRECTORY/asound.conf \
+ $INSTALL_ROOT/etc/asound.conf
+fi
diff --git a/audio-drivers/alsa-plugins/asound.conf
b/audio-drivers/alsa-plugins/asound.conf
new file mode 100644
index 0000000..036b73f
--- /dev/null
+++ b/audio-drivers/alsa-plugins/asound.conf
@@ -0,0 +1,7 @@
+pcm.pulse {
+ type pulse
+}
+
+ctl.pulse {
+ type pulse
+}
diff --git a/audio-drivers/pulseaudio/DEPENDS
b/audio-drivers/pulseaudio/DEPENDS
index d59184d..a417699 100755
--- a/audio-drivers/pulseaudio/DEPENDS
+++ b/audio-drivers/pulseaudio/DEPENDS
@@ -39,4 +39,8 @@ optional_depends libcap \
optional_depends xorg-libs \
"--with-x" \
"--without-x" \
- "Enable X support?"
+ "Enable X support?" &&
+optional_depends policykit \
+ "--enable-polkit" \
+ "--disable-polkit" \
+ "for PolicyKit authentication support"
diff --git a/audio-drivers/pulseaudio/HISTORY
b/audio-drivers/pulseaudio/HISTORY
index 44dd951..3276a7b 100644
--- a/audio-drivers/pulseaudio/HISTORY
+++ b/audio-drivers/pulseaudio/HISTORY
@@ -1,5 +1,6 @@
2008-10-06 Ladislav Hagara <hgr AT vabo.cz>
* DETAILS: 0.9.13
+ * DEPENDS: Optionally depends on policykit
2008-10-02 Pieter Lenaerts <e-type AT sourcemage.org>
* DEPENDS: depends gdbm and speex
[SM-Commit] GIT changes to master grimoire by Eric Sandall (bca00fd39ac114d38f62e2efaa4e47de1bc0d80d),
Eric Sandall, 10/31/2008