ports/contrib (3.1): skype: update to allow use of pulseaudio-32 or apulse-32, se README for more details.
commit dd01de66e69dc89654ef79f21ec190bbdf0afc68 Author: Danny Rawlins <monster.romster@gmail.com> Date: Sun Oct 19 02:32:44 2014 +1100 skype: update to allow use of pulseaudio-32 or apulse-32, se README for more details. diff --git a/skype/Pkgfile b/skype/Pkgfile index e2905dd..82ba2d9 100644 --- a/skype/Pkgfile +++ b/skype/Pkgfile @@ -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 } diff --git a/skype/README b/skype/README index 7b0d766..2d9db9d 100644 --- a/skype/README +++ b/skype/README @@ -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.
participants (1)
-
crux@crux.nu