summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/pulseaudio/README6
-rw-r--r--audio/pulseaudio/pulseaudio.SlackBuild6
2 files changed, 9 insertions, 3 deletions
diff --git a/audio/pulseaudio/README b/audio/pulseaudio/README
index a7e36ca57a..ee9416b5ff 100644
--- a/audio/pulseaudio/README
+++ b/audio/pulseaudio/README
@@ -7,6 +7,6 @@ Pulseaudio will need a pulse group/user to run. You can add one with
# useradd -u 214 -g pulse -d /var/lib/pulse pulse
or something similar. See http://slackbuilds.org/uid_gid.txt
-Pulseaudio requires liboil, libatomic_ops, libsamplerate and libsndfile,
-and libcap. It will also make use of jack-audio-connection-kit. All of
-these dependencies are available at SlackBuilds.org.
+Pulseaudio requires libatomic_ops, libsamplerate, and libsndfile.
+It will also make use of jack-audio-connection-kit. All of these
+dependencies are available at SlackBuilds.org.
diff --git a/audio/pulseaudio/pulseaudio.SlackBuild b/audio/pulseaudio/pulseaudio.SlackBuild
index f3d37cd74d..71ee977245 100644
--- a/audio/pulseaudio/pulseaudio.SlackBuild
+++ b/audio/pulseaudio/pulseaudio.SlackBuild
@@ -47,8 +47,13 @@ fi
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -66,6 +71,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \