diff options
author | Atemu <atemu.main@gmail.com> | 2023-05-19 20:16:07 +0200 |
---|---|---|
committer | Atemu <atemu.main@gmail.com> | 2023-05-19 20:16:07 +0200 |
commit | 7c428691d28b345cc4c7c3ad80a876ccad72f7bd (patch) | |
tree | 8ae76da7dec52eab728a365db78f40c5894385c2 /pkgs/applications | |
parent | 48a0fb7aab511df92a17cf239c37f2bd2ec9ae3a (diff) |
spotify: use ffmpeg_4
Fixes https://github.com/NixOS/nixpkgs/issues/232869
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/audio/spotify/linux.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/applications/audio/spotify/linux.nix b/pkgs/applications/audio/spotify/linux.nix index bd869cc543bc8..0a5e368384d93 100644 --- a/pkgs/applications/audio/spotify/linux.nix +++ b/pkgs/applications/audio/spotify/linux.nix @@ -1,6 +1,6 @@ { fetchurl, lib, stdenv, squashfsTools, xorg, alsa-lib, makeShellWrapper, wrapGAppsHook, openssl, freetype , glib, pango, cairo, atk, gdk-pixbuf, gtk3, cups, nspr, nss_latest, libpng, libnotify -, libgcrypt, systemd, fontconfig, dbus, expat, ffmpeg, curlWithGnuTls, zlib, gnome +, libgcrypt, systemd, fontconfig, dbus, expat, ffmpeg_4, curlWithGnuTls, zlib, gnome , at-spi2-atk, at-spi2-core, libpulseaudio, libdrm, mesa, libxkbcommon , pname, meta, harfbuzz # High-DPI support: Spotify's --force-device-scale-factor argument @@ -33,7 +33,7 @@ let curlWithGnuTls dbus expat - ffmpeg + ffmpeg_4 # Requires libavcodec < 59 as of 1.2.9.743.g85d9593d fontconfig freetype gdk-pixbuf @@ -135,8 +135,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.lib}/lib/libavcodec.so* $libdir - ln -s ${ffmpeg.lib}/lib/libavformat.so* $libdir + ln -s ${ffmpeg_4.lib}/lib/libavcodec.so* $libdir + ln -s ${ffmpeg_4.lib}/lib/libavformat.so* $libdir rpath="$out/share/spotify:$libdir" |