[Lunar-commits] <moonbase> pulseaudio: A little tweaking here on the BUILD. On a fresh install it
Dennis 'stumbles' Veatch
stumbles at lunar-linux.org
Mon Jul 6 18:24:37 CEST 2009
commit e77f7a3d6d93732443372eacab427d5b6045f351
Author: Dennis 'stumbles' Veatch <stumbles at lunar-linux.org>
Date: Mon Jul 6 12:24:37 2009 -0400
pulseaudio: A little tweaking here on the BUILD. On a fresh install it
was saying it could not install a .a into /usr/lib/pulseaudio-0.9.15/modules.
Adding the with module dir got around this. While fiddling around with that,
came across a wiki saying to use pulse-access group if wanting mpd to use
pulse... so there it is. Tested on x86_64.
---
audio/pulseaudio/BUILD | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/audio/pulseaudio/BUILD b/audio/pulseaudio/BUILD
index 16e3c59..2f486cb 100644
--- a/audio/pulseaudio/BUILD
+++ b/audio/pulseaudio/BUILD
@@ -3,21 +3,17 @@
libtoolize --copy --force --automake &&
autoreconf &&
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --localstatedir=/var \
- $OPTS &&
- make &&
+ OPTS="--with-module-dir=/usr/lib/$MODULE-$VERSION/$MODULE"
+
if [ -f /usr/bin/parec ]; then
rm /usr/bin/parec
fi &&
- prepare_install &&
- make install &&
+ default_build &&
add_priv_group pulse &&
+ add_priv_group pulse-access &&
add_priv_user pulse -d /var/run/pulse -g pulse
) > $C_FIFO 2>&1
More information about the Lunar-commits
mailing list