1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 03:10:12 +02:00

Copy libspotify to app bundle when creating

This commit is contained in:
Leo Franchi
2012-06-21 12:47:39 -04:00
parent d46889706b
commit b6545f7d5c

View File

@@ -27,6 +27,8 @@ FRAMEWORK_SEARCH_PATH=[
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=[
'libaccess_attachment_plugin.dylib',
@@ -509,6 +511,11 @@ try:
except:
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:
FixPlugin(FindQtPlugin(plugin), os.path.dirname(plugin))