skype: update to allow use of pulseaudio-32 or apulse-32, se README for more details.

This commit is contained in:
Danny Rawlins 2014-10-19 02:32:44 +11:00
parent 5cbaf38137
commit dd01de66e6
2 changed files with 10 additions and 6 deletions

View File

@ -6,7 +6,7 @@
name=skype
version=4.3.0.37
release=1
release=2
source=(http://download.skype.com/linux/$name-$version.tar.bz2)
build() {
@ -31,7 +31,12 @@ build() {
cat <<- EOF > $PKG/usr/bin/skype
#!/bin/bash
exec apulse-32 skype-bin "$@"
if [ -e '/usr/lib32/libpulse.so' ]; then
export PULSE_LATENCY_MSEC=60
exec /usr/bin/skype-bin "\$@"
else
exec apulse-32 /usr/bin/skype-bin "\$@"
fi
EOF
chmod 0775 $PKG/usr/bin/skype
}

View File

@ -21,8 +21,7 @@ INSTALL:
NOTES:
/usr/bin/skype is now a wrapper script to run
/usr/bin/skype is now a wrapper script to default topulseaudio-32
else it will run with apulse-32.
apulse-32 skype-bin
As this allows us to avoid packaging pulseaudio-32
pulseaudio-32 is not in compat-32 at this stage.