spotify: remove/update gnome2 references

Part of #39976
This commit is contained in:
Patrick Hilhorst 2018-05-07 14:04:15 +02:00
parent ce0be6a725
commit fcb6a0a56e
No known key found for this signature in database
GPG Key ID: 589BB0A8DAFEF2B2
2 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,8 @@
{ fetchurl, stdenv, dpkg, xorg, alsaLib, makeWrapper, openssl, freetype { fetchurl, stdenv, dpkg, xorg, alsaLib, makeWrapper, openssl, freetype
, glib, pango, cairo, atk, gdk_pixbuf, gtk2, cups, nspr, nss, libpng, GConf , glib, pango, cairo, atk, gdk_pixbuf, gtk2, cups, nspr, nss, libpng
, libgcrypt, systemd, fontconfig, dbus, expat, ffmpeg_0_10, curl, zlib, gnome2 }: , libgcrypt, systemd, fontconfig, dbus, expat, ffmpeg_0_10, curl, zlib, gnome3 }:
assert stdenv.system == "x86_64-linux";
let let
# Please update the stable branch! # Please update the stable branch!
@ -20,7 +22,6 @@ let
ffmpeg_0_10 ffmpeg_0_10
fontconfig fontconfig
freetype freetype
GConf
gdk_pixbuf gdk_pixbuf
glib glib
gtk2 gtk2
@ -93,7 +94,7 @@ stdenv.mkDerivation {
librarypath="${stdenv.lib.makeLibraryPath deps}:$libdir" librarypath="${stdenv.lib.makeLibraryPath deps}:$libdir"
wrapProgram $out/share/spotify/spotify \ wrapProgram $out/share/spotify/spotify \
--prefix LD_LIBRARY_PATH : "$librarypath" \ --prefix LD_LIBRARY_PATH : "$librarypath" \
--prefix PATH : "${gnome2.zenity}/bin" --prefix PATH : "${gnome3.zenity}/bin"
# Desktop file # Desktop file
mkdir -p "$out/share/applications/" mkdir -p "$out/share/applications/"

View File

@ -17925,7 +17925,6 @@ with pkgs;
}; };
spotify = callPackage ../applications/audio/spotify { spotify = callPackage ../applications/audio/spotify {
inherit (gnome2) GConf;
libgcrypt = libgcrypt_1_5; libgcrypt = libgcrypt_1_5;
libpng = libpng12; libpng = libpng12;
curl = curl.override { curl = curl.override {