skype: Update to 4.0.0.8
Also, use $out/libexec/skype rather than $out/opt/skype.
This commit is contained in:
parent
a668efbae2
commit
5d6860ec5b
@ -5,11 +5,11 @@
|
|||||||
assert stdenv.system == "i686-linux";
|
assert stdenv.system == "i686-linux";
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "skype-4.0.0.7";
|
name = "skype-4.0.0.8";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://download.skype.com/linux/${name}.tar.bz2";
|
url = "http://download.skype.com/linux/${name}.tar.bz2";
|
||||||
sha256 = "0mrswawqsv53mfghqlj1bzq0jfswha6b0c06px7snd85pd4gn5fn";
|
sha256 = "0gq24rbmjd05ihraarn45rwr79gidnwgllvprzrh5zqx02xll17p";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
@ -36,8 +36,8 @@ stdenv.mkDerivation rec {
|
|||||||
phases = "unpackPhase installPhase";
|
phases = "unpackPhase installPhase";
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/{opt/skype/,bin}
|
mkdir -p $out/{libexec/skype/,bin}
|
||||||
cp -r * $out/opt/skype/
|
cp -r * $out/libexec/skype/
|
||||||
|
|
||||||
fullPath=
|
fullPath=
|
||||||
for i in $buildNativeInputs; do
|
for i in $buildNativeInputs; do
|
||||||
@ -49,14 +49,14 @@ stdenv.mkDerivation rec {
|
|||||||
cat > $out/bin/skype << EOF
|
cat > $out/bin/skype << EOF
|
||||||
#!${stdenv.shell}
|
#!${stdenv.shell}
|
||||||
export LD_LIBRARY_PATH=$fullPath:$LD_LIBRARY_PATH
|
export LD_LIBRARY_PATH=$fullPath:$LD_LIBRARY_PATH
|
||||||
$dynlinker $out/opt/skype/skype --resources=$out/opt/skype "\$@"
|
$dynlinker $out/libexec/skype/skype --resources=$out/libexec/skype "\$@"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
chmod +x $out/bin/skype
|
chmod +x $out/bin/skype
|
||||||
|
|
||||||
# Fixup desktop file
|
# Fixup desktop file
|
||||||
substituteInPlace skype.desktop --replace \
|
substituteInPlace skype.desktop --replace \
|
||||||
"Icon=skype.png" "Icon=$out/opt/skype/icons/SkypeBlue_48x48.png"
|
"Icon=skype.png" "Icon=$out/libexec/skype/icons/SkypeBlue_48x48.png"
|
||||||
substituteInPlace skype.desktop --replace \
|
substituteInPlace skype.desktop --replace \
|
||||||
"Terminal=0" "Terminal=false"
|
"Terminal=0" "Terminal=false"
|
||||||
mkdir -p $out/share/applications
|
mkdir -p $out/share/applications
|
||||||
@ -64,8 +64,8 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A P2P-VoiceIP client";
|
description = "A proprietary voice-over-IP (VoIP) client";
|
||||||
homepage = http://www.skype.com;
|
homepage = http://www.skype.com/;
|
||||||
license = "skype-eula";
|
license = "unfree";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -7667,7 +7667,7 @@ let
|
|||||||
|
|
||||||
siproxd = callPackage ../applications/networking/siproxd { };
|
siproxd = callPackage ../applications/networking/siproxd { };
|
||||||
|
|
||||||
skype_linux = callPackage_i686 ../applications/networking/instant-messengers/skype {
|
skype = callPackage_i686 ../applications/networking/instant-messengers/skype {
|
||||||
usePulseAudio = config.pulseaudio or false; # disabled by default (the 100% cpu bug)
|
usePulseAudio = config.pulseaudio or false; # disabled by default (the 100% cpu bug)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user