void-packages/srcpkgs/skype/files/skype.sh
Dominik Honnef 5d5f66fed0 skype: use 32 bit Qt plugins
Without this, Qt looks for plugins in /usr/lib/qt/plugins, which are 64
bit. In turn, Skype can't display profile pictures.
2015-10-04 21:45:26 +02:00

9 lines
205 B
Bash

#!/bin/sh
MACHINE=$(uname -m)
if [ "$MACHINE" = "x86_64" ]; then
export LD_LIBRARY_PATH=/usr/lib32
export QT_PLUGIN_PATH=/usr/lib32/qt/plugins
fi
PULSE_LATENCY_MSEC=30 exec /usr/lib32/skype/skype "$@"