diff options
author | drhouse <housegregory299@gmail.com> | 2012-08-07 21:23:03 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-08-07 21:23:03 -0500 |
commit | 515bdc2a88260b4fdbe7beb804fb2c93faf76bb2 (patch) | |
tree | bf11a870677be93e5465821d1ca1be358fe8e09e /audio/pulseaudio/pulseaudio.SlackBuild | |
parent | bcf034dd33f1310c317b7eba932789cb9c295a01 (diff) | |
download | slackbuilds-515bdc2a88260b4fdbe7beb804fb2c93faf76bb2.tar.gz |
audio/pulseaudio: Updated for version 2.0 (+new maintainer)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'audio/pulseaudio/pulseaudio.SlackBuild')
-rw-r--r-- | audio/pulseaudio/pulseaudio.SlackBuild | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/audio/pulseaudio/pulseaudio.SlackBuild b/audio/pulseaudio/pulseaudio.SlackBuild index 3bb8d3b954..299bb3c318 100644 --- a/audio/pulseaudio/pulseaudio.SlackBuild +++ b/audio/pulseaudio/pulseaudio.SlackBuild @@ -5,7 +5,7 @@ # Written by crocket (crockabiscuit@gmail.com) PRGNAM=pulseaudio -VERSION=1.1 +VERSION=${VERSION:-2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -46,7 +46,7 @@ elif ! grep -q ^pulse: /etc/passwd ; then exit 1 fi -set -e +set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -61,6 +61,12 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +if pkg-config --exists orc-0.4 ; then + ORC=yes +else + ORC=no +fi + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -70,9 +76,10 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --mandir=/usr/man \ --disable-tcpwrap \ - --enable-orc=${ORC:-"no"} \ + --enable-orc=${ORC} \ --disable-static \ - --disable-hal --disable-hal-compat \ + --disable-hal \ + --enable-hal-compat \ --disable-solaris \ --disable-waveout \ --with-system-user=pulse \ @@ -94,7 +101,7 @@ 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 *GPL LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |