mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
libraries/libflashsupport: Miscellaneous cleanups.
The notes about pulseaudio support were removed from the README since we don't have pulseaudio in our repo any more.
This commit is contained in:
parent
006014d7b8
commit
d69b52378f
2 changed files with 13 additions and 7 deletions
|
@ -2,9 +2,3 @@ libflashsupport is an additional library for Adobe Flash Player adding
|
|||
support for TLS, OSS and optionally PulseAudio.
|
||||
This library is known to solve problems about missing audio from Flash
|
||||
content, like videos embedded into web pages.
|
||||
|
||||
To build with PulseAudio support, start the script with PULSE=yes, as
|
||||
in:
|
||||
PULSE=yes ./libflashsupport.SlackBuild
|
||||
This requires that you have already installed pulseaudio, available
|
||||
from SlackBuilds.org.
|
||||
|
|
|
@ -26,10 +26,19 @@
|
|||
|
||||
PRGNAM=libflashsupport
|
||||
VERSION=${VERSION:-20080328}
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
# Automatically determine the architecture we're building on:
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) export ARCH=i486 ;;
|
||||
arm*) export ARCH=arm ;;
|
||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
||||
*) export ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
|
@ -47,6 +56,9 @@ elif [ "$ARCH" = "i686" ]; then
|
|||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
else
|
||||
SLKCFLAGS="-O2"
|
||||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
|
Loading…
Reference in a new issue