mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
Copy libspotify to app bundle when creating
This commit is contained in:
@@ -27,6 +27,8 @@ FRAMEWORK_SEARCH_PATH=[
|
|||||||
|
|
||||||
LIBRARY_SEARCH_PATH=['/usr/local/lib', '/usr/local/Cellar/gettext/0.18.1.1/lib', '.']
|
LIBRARY_SEARCH_PATH=['/usr/local/lib', '/usr/local/Cellar/gettext/0.18.1.1/lib', '.']
|
||||||
|
|
||||||
|
LIBSPOTIFY_VERSION = subprocess.check_output("brew ls -version libspotify | tr -s \" \" \"\\\\012\" | tail -n 1", shell=True).strip()
|
||||||
|
LIBSPOTIFY_PATH = "/usr/local/lib/libspotify.%s.dylib" % LIBSPOTIFY_VERSION
|
||||||
|
|
||||||
VLC_PLUGINS=[
|
VLC_PLUGINS=[
|
||||||
'libaccess_attachment_plugin.dylib',
|
'libaccess_attachment_plugin.dylib',
|
||||||
@@ -509,6 +511,11 @@ try:
|
|||||||
except:
|
except:
|
||||||
print 'Failed to find tomahawk_crash_reporter'
|
print 'Failed to find tomahawk_crash_reporter'
|
||||||
|
|
||||||
|
try:
|
||||||
|
FixPlugin(LIBSPOTIFY_PATH, "../MacOS")
|
||||||
|
except:
|
||||||
|
print "Failed to copy libspotify from os: %s" % LIBSPOTIFY_PATH
|
||||||
|
|
||||||
for plugin in QT_PLUGINS:
|
for plugin in QT_PLUGINS:
|
||||||
FixPlugin(FindQtPlugin(plugin), os.path.dirname(plugin))
|
FixPlugin(FindQtPlugin(plugin), os.path.dirname(plugin))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user