From aa20c2b226d140b508e44d96c9264094fc73bb69 Mon Sep 17 00:00:00 2001 From: John Maguire Date: Mon, 9 Jan 2012 11:24:34 +0000 Subject: [PATCH] Deploy clementine-tagreader on mac. --- dist/macdeploy.py | 5 +++-- src/CMakeLists.txt | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dist/macdeploy.py b/dist/macdeploy.py index 797dabebe..667630980 100755 --- a/dist/macdeploy.py +++ b/dist/macdeploy.py @@ -369,8 +369,9 @@ FixPlugin(FindGstreamerPlugin('gst-plugin-scanner'), '.') try: FixPlugin('clementine-spotifyblob', '.') -except: - print 'Failed to find spotify blob' + FixPlugin('clementine-tagreader', '.') +except Exception, e: + print 'Failed to find spotify blob: %s' % e for plugin in QT_PLUGINS: FixPlugin(FindQtPlugin(plugin), os.path.dirname(plugin)) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6b8c6bc19..d29e87729 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1127,6 +1127,7 @@ target_link_libraries(clementine if(HAVE_SPOTIFY_BLOB) add_dependencies(clementine clementine-spotifyblob) endif(HAVE_SPOTIFY_BLOB) +add_dependencies(clementine clementine-tagreader) set_target_properties(clementine PROPERTIES MACOSX_BUNDLE_INFO_PLIST "../dist/Info.plist"