wok-4.x rev 12365

get-skype: use dynamic version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 23 13:46:48 2012 +0100 (2012-12-23)
parents cf9ff16cc7cb
children 0eefa06c6e29
files get-skype/stuff/get-skype
line diff
     1.1 --- a/get-skype/stuff/get-skype	Thu Dec 20 14:58:37 2012 +0100
     1.2 +++ b/get-skype/stuff/get-skype	Sun Dec 23 13:46:48 2012 +0100
     1.3 @@ -22,7 +22,7 @@
     1.4  
     1.5  # Download tarball
     1.6  WEB_SITE="http://www.skype.com/"
     1.7 -TARBALL="getskype-linux-beta-static"
     1.8 +TARBALL="getskype-linux-beta-dynamic"
     1.9  wget ${WEB_SITE}go/$TARBALL
    1.10  if [ ! -f $TARBALL ]; then
    1.11  	echo "Could not download $TARBALL. Exiting."
    1.12 @@ -32,14 +32,14 @@
    1.13  # Extract
    1.14  TARBALL=$(ls $TARBALL skype*.tar.bz2 2> /dev/null || true)
    1.15  tar xjf $TARBALL
    1.16 -VERSION=$(ls -d skype_static*-*/)
    1.17 +VERSION=$(ls -d skype-*)
    1.18  VERSION=${VERSION%/}
    1.19 -VERSION=${VERSION#skype_static*-}
    1.20 +VERSION=${VERSION#skype-*}
    1.21  
    1.22  # extracted pkg can be removed: Save RAM
    1.23  rm -f $TARBALL
    1.24  
    1.25 -cd skype_static*-$VERSION
    1.26 +cd skype-$VERSION
    1.27  
    1.28  # Install files
    1.29  mkdir -p skype-$VERSION/fs/usr/share/skype skype-$VERSION/fs/usr/bin
    1.30 @@ -64,7 +64,8 @@
    1.31  CATEGORY="non-free"
    1.32  SHORT_DESC="Skype Internet Telephony."
    1.33  WEB_SITE="$WEB_SITE"
    1.34 -DEPENDS="libsigc++ xorg-libXv xorg-libXss libv4l bzip2 tiff"
    1.35 +DEPENDS="libsigc++ xorg-libXv xorg-libXss libv4l bzip2 tiff \
    1.36 +libQTDBus libQTWebkit qt4-phonon"
    1.37  CONFIG_FILES="/etc/skype.conf"
    1.38  
    1.39  post_install()