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

14 lines
646 B
Diff
Raw Normal View History

2017-08-03 03:54:50 +01: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 03:07:56 +01:00
system_blob_path_ = QCoreApplication::applicationDirPath() +
2017-08-03 03:54:50 +01:00
"/../PlugIns/clementine-spotifyblob";
2015-05-05 03:07:56 +01:00
#else
- system_blob_path_ = QCoreApplication::applicationDirPath() +
+ system_blob_path_ = qgetenv("CLEMENTINE_SPOTIFYBLOB") +
2017-08-03 03:54:50 +01:00
"/clementine-spotifyblob" CMAKE_EXECUTABLE_SUFFIX;
2015-05-05 03:07:56 +01:00
#endif