aboutsummaryrefslogtreecommitdiff
path: root/games/pcsxr/pcsxr.SlackBuild
diff options
context:
space:
mode:
authorM.Dinslage <daedra1980@gmail.com>2016-07-30 07:05:31 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-30 07:06:40 +0700
commit6f13769ffe40164bb499035491b801730378abb7 (patch)
tree809b93811c08e089296e4440095884c8b99a234b /games/pcsxr/pcsxr.SlackBuild
parent5d0aa4b4cb6f70014bc645c0a2747bfd8259e407 (diff)
games/pcsxr: Use PulseAudio.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/pcsxr/pcsxr.SlackBuild')
-rw-r--r--games/pcsxr/pcsxr.SlackBuild24
1 files changed, 12 insertions, 12 deletions
diff --git a/games/pcsxr/pcsxr.SlackBuild b/games/pcsxr/pcsxr.SlackBuild
index ca62de5e5740..49eba2744740 100644
--- a/games/pcsxr/pcsxr.SlackBuild
+++ b/games/pcsxr/pcsxr.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for pcsxr
# Copyright 2013 Matt Dinslage (daedra1980@gmail.com), Springfield, MO, USA
-# All rights reserved.
+# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -22,10 +22,9 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
PRGNAM=pcsxr
VERSION=${VERSION:-1.9.93}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -65,22 +64,22 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
LDFLAGS="$SLKLDFLAGS" \
-./autogen.sh
+./autogen.sh
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --enable-sound=alsa \
+ --enable-sound=pulseaudio \
--enable-opengl \
--enable-libcdio \
--build=$ARCH-slackware-linux
@@ -88,11 +87,12 @@ LDFLAGS="$SLKLDFLAGS" \
make
make install DESTDIR=$PKG
-gzip -9 $PKG/usr/man/man?/*.?
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+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 AUTHORS COPYING ChangeLog INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild