From 3d63d7cf12570b6910ac1a488e956758828b84c1 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 9 Mar 2014 10:28:34 +0100 Subject: [PATCH] skype: update to 4.2.0.13 and add x86_64 support via 32bit pkgs. --- srcpkgs/skype/files/skype.sh | 8 ++++++++ srcpkgs/skype/template | 20 +++++++++++++------- 2 files changed, 21 insertions(+), 7 deletions(-) create mode 100644 srcpkgs/skype/files/skype.sh diff --git a/srcpkgs/skype/files/skype.sh b/srcpkgs/skype/files/skype.sh new file mode 100644 index 0000000000..69020009d9 --- /dev/null +++ b/srcpkgs/skype/files/skype.sh @@ -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 "$@" diff --git a/srcpkgs/skype/template b/srcpkgs/skype/template index cf56a6837f..3f182f3ab6 100644 --- a/srcpkgs/skype/template +++ b/srcpkgs/skype/template @@ -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 " 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