summaryrefslogtreecommitdiff
path: root/audio/pulseaudio/pulseaudio.SlackBuild
diff options
context:
space:
mode:
authorcrocket <crockabiscuit@gmail.com>2011-10-23 13:11:53 -0500
committerNiels Horn <niels.horn@slackbuilds.org>2011-11-04 22:02:24 -0200
commit4e19a2eb824353e0e397cbe4991d1c5b7215cc4a (patch)
treeac81d1043064d927c5e23ac1185bc5bd368839c6 /audio/pulseaudio/pulseaudio.SlackBuild
parent11c0915bd685f853331fc4c347c026acb0c32c61 (diff)
downloadslackbuilds-4e19a2eb824353e0e397cbe4991d1c5b7215cc4a.tar.gz
audio/pulseaudio: Updated for version 1.1.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'audio/pulseaudio/pulseaudio.SlackBuild')
-rw-r--r--audio/pulseaudio/pulseaudio.SlackBuild17
1 files changed, 10 insertions, 7 deletions
diff --git a/audio/pulseaudio/pulseaudio.SlackBuild b/audio/pulseaudio/pulseaudio.SlackBuild
index 127e3f6d89..3bb8d3b954 100644
--- a/audio/pulseaudio/pulseaudio.SlackBuild
+++ b/audio/pulseaudio/pulseaudio.SlackBuild
@@ -5,7 +5,7 @@
# Written by crocket (crockabiscuit@gmail.com)
PRGNAM=pulseaudio
-VERSION=0.9.23
+VERSION=1.1
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -52,7 +52,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -61,8 +61,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-patch -p1 < $CWD/pulseaudio-$VERSION.diff
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -71,10 +69,12 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --enable-tcpwrap \
+ --disable-tcpwrap \
+ --enable-orc=${ORC:-"no"} \
--disable-static \
- --disable-hal \
+ --disable-hal --disable-hal-compat \
--disable-solaris \
+ --disable-waveout \
--with-system-user=pulse \
--with-system-group=pulse \
--with-access-group=audio \
@@ -87,11 +87,14 @@ mv $PKG/etc/pulse/client.conf $PKG/etc/pulse/client.conf.new
mv $PKG/etc/pulse/default.pa $PKG/etc/pulse/default.pa.new
mv $PKG/etc/pulse/daemon.conf $PKG/etc/pulse/daemon.conf.new
+mkdir -p $PKG/etc/rc.d
+cp $CWD/rc.pulseaudio $PKG/etc/rc.d/rc.pulseaudio.new
+
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ABOUT-NLS *GPL LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a ABOUT-NLS *GPL LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install