nixpkgs/pkgs/applications/audio/clementine/clementine-spotify-blob.patch

14 lines
646 B
Diff
Raw Normal View History

2017-08-03 05:54:50 +03:00
diff --git a/src/internet/spotify/spotifyservice.cpp b/src/internet/spotify/spotifyservice.cpp
index 88c7383..6e0893c 100644
--- a/src/internet/spotify/spotifyservice.cpp
+++ b/src/internet/spotify/spotifyservice.cpp
@@ -94,7 +94,7 @@ SpotifyService::SpotifyService(Application* app, InternetModel* parent)
2015-05-05 05:07:56 +03:00
system_blob_path_ = QCoreApplication::applicationDirPath() +
2017-08-03 05:54:50 +03:00
"/../PlugIns/clementine-spotifyblob";
2015-05-05 05:07:56 +03:00
#else
- system_blob_path_ = QCoreApplication::applicationDirPath() +
+ system_blob_path_ = qgetenv("CLEMENTINE_SPOTIFYBLOB") +
2017-08-03 05:54:50 +03:00
"/clementine-spotifyblob" CMAKE_EXECUTABLE_SUFFIX;
2015-05-05 05:07:56 +03:00
#endif