summary refs log tree commit diff
path: root/pkgs/applications/audio/clementine/clementine-spotify-blob.patch
blob: d41720c90215ea59980af4670fa7e76f601e981f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From d9ebe7ec09a48b1ea505ccc33686b72642f083f4 Mon Sep 17 00:00:00 2001
From: Thomas Tuegel <ttuegel@gmail.com>
Date: Mon, 4 May 2015 19:59:38 -0500
Subject: [PATCH] Runtime selection of Spotify blob

---
 src/internet/spotifyservice.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/internet/spotifyservice.cpp b/src/internet/spotifyservice.cpp
index 543744e..d987a36 100644
--- a/src/internet/spotifyservice.cpp
+++ b/src/internet/spotifyservice.cpp
@@ -65,7 +65,7 @@ SpotifyService::SpotifyService(Application* app, InternetModel* parent)
   system_blob_path_ = QCoreApplication::applicationDirPath() +
       "/../PlugIns/clementine-spotifyblob";
 #else
-  system_blob_path_ = QCoreApplication::applicationDirPath() +
+  system_blob_path_ = qgetenv("CLEMENTINE_SPOTIFYBLOB") +
       "/clementine-spotifyblob" CMAKE_EXECUTABLE_SUFFIX;
 #endif
 
-- 
2.3.6