spotify: use ffmpeg_4
Fixes https://github.com/NixOS/nixpkgs/issues/232869
This commit is contained in:
parent
48a0fb7aab
commit
7c428691d2
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue