about summary refs log tree commit diff
path: root/pkgs/applications/audio/spotify
diff options
context:
space:
mode:
authorTimo Kaufmann <timokau@zoho.com>2019-03-17 13:54:39 +0100
committerTimo Kaufmann <timokau@zoho.com>2019-03-17 15:31:06 +0100
commit4be712b9e1c70ab24430ec52628b8a5082ad9a69 (patch)
treefbf0fc59106b9638ee6ef4cf548cadb7f43adcb9 /pkgs/applications/audio/spotify
parent7669144a27fa523618b47fe322f42a9859e4eef7 (diff)
downloadnixlib-4be712b9e1c70ab24430ec52628b8a5082ad9a69.tar
nixlib-4be712b9e1c70ab24430ec52628b8a5082ad9a69.tar.gz
nixlib-4be712b9e1c70ab24430ec52628b8a5082ad9a69.tar.bz2
nixlib-4be712b9e1c70ab24430ec52628b8a5082ad9a69.tar.lz
nixlib-4be712b9e1c70ab24430ec52628b8a5082ad9a69.tar.xz
nixlib-4be712b9e1c70ab24430ec52628b8a5082ad9a69.tar.zst
nixlib-4be712b9e1c70ab24430ec52628b8a5082ad9a69.zip
spotify: update ffmpeg version
Needed for spotify 1.1.x. The update itself is blocked on alsa issues:
https://community.spotify.com/t5/Desktop-Linux/spotify-client-1-1-0-98-78-gb45d2a6b-10-from-Ubuntu-package/td-p/4675676
https://community.spotify.com/t5/Desktop-Linux/1-0-98-1-1-0-Crash-when-using-ALSA/td-p/4680398
Diffstat (limited to 'pkgs/applications/audio/spotify')
-rw-r--r--pkgs/applications/audio/spotify/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/applications/audio/spotify/default.nix b/pkgs/applications/audio/spotify/default.nix
index 6afd8f2dff87..76c10fdef6ce 100644
--- a/pkgs/applications/audio/spotify/default.nix
+++ b/pkgs/applications/audio/spotify/default.nix
@@ -1,6 +1,6 @@
 { fetchurl, stdenv, squashfsTools, xorg, alsaLib, makeWrapper, openssl, freetype
 , glib, pango, cairo, atk, gdk_pixbuf, gtk2, cups, nspr, nss, libpng
-, libgcrypt, systemd, fontconfig, dbus, expat, ffmpeg, curl, zlib, gnome3
+, libgcrypt, systemd, fontconfig, dbus, expat, ffmpeg_3, curl, zlib, gnome3
 , at-spi2-atk
 }:
 
@@ -26,7 +26,7 @@ let
     curl
     dbus
     expat
-    ffmpeg
+    ffmpeg_3
     fontconfig
     freetype
     gdk_pixbuf
@@ -118,8 +118,8 @@ stdenv.mkDerivation {
       ln -s ${nspr.out}/lib/libnspr4.so $libdir/libnspr4.so
       ln -s ${nspr.out}/lib/libplc4.so $libdir/libplc4.so
 
-      ln -s ${ffmpeg.out}/lib/libavcodec.so.56 $libdir/libavcodec-ffmpeg.so.56
-      ln -s ${ffmpeg.out}/lib/libavformat.so.56 $libdir/libavformat-ffmpeg.so.56
+      ln -s ${ffmpeg_3.out}/lib/libavcodec.so* $libdir
+      ln -s ${ffmpeg_3.out}/lib/libavformat.so* $libdir
 
       rpath="$out/share/spotify:$libdir"