skype: update to 4.2.0.13 and add x86_64 support via 32bit pkgs.

This commit is contained in:
Juan RP 2014-03-09 10:28:34 +01:00
parent 7c8e4581e0
commit 3d63d7cf12
2 changed files with 21 additions and 7 deletions

View file

@ -0,0 +1,8 @@
#!/bin/sh
MACHINE=$(uname -m)
if [ "$MACHINE" = "x86_64" ]; then
export LD_LIBRARY_PATH=/usr/lib32
fi
PULSE_LATENCY_MSEC=30 exec /usr/lib/skype/skype "$@"

View file

@ -1,24 +1,30 @@
# Template file for 'skype'
pkgname=skype
version=4.2.0.11
revision=2
version=4.2.0.13
revision=1
build_style=meta
short_desc="P2P software for high-quality voice communication"
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="http://www.skype.com"
license="skype"
distfiles="http://download.skype.com/linux/${pkgname}-${version}.tar.bz2"
checksum=87d30ab2ca219c1661c6497900da8fec5a30d8383f32240dc5a48f0aca35064e
checksum=a51616242b8b1202b936ac958024b793cc271fe9994372efb1e7930d98b9f38c
# XXX no multiarch for now.
only_for_archs="i686"
only_for_archs="i686 x86_64"
nonfree="yes"
nostrip="yes"
makedepends="qt>=4.8.4_4 hicolor-icon-theme desktop-file-utils"
makedepends="qt>=4.8.4_4 hicolor-icon-theme>=0"
depends="${makedepends}"
# Use explicit dependencies for 32bit pkg, otherwise they are wrong.
lib32mode="full"
lib32depends="v4l-utils>=0 libXv>=0 libXScrnSaver>=0 ${depends}"
do_install() {
# Executable
vinstall skype 755 usr/bin
vinstall ${FILESDIR}/skype.sh 755 usr/bin skype
vinstall skype 755 usr/lib/skype
# Data
vmkdir usr/share/skype