[banshee/gtk3] SoundMenu: Fix build with internal notify-sharp



commit 9f40f81ba70f2e582b1f05c6b1d6619eee33091c
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Mon Aug 1 21:19:12 2011 +0200

    SoundMenu: Fix build with internal notify-sharp
    
    In order to build with our internal notify-sharp, the SoundMenu
    extension needs a reference to the NotificationArea assembly that
    contains it.

 build/build.environment.mk                   |    1 +
 src/Extensions/Banshee.SoundMenu/Makefile.am |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/build/build.environment.mk b/build/build.environment.mk
index 4b97dec..fb2cb14 100644
--- a/build/build.environment.mk
+++ b/build/build.environment.mk
@@ -143,6 +143,7 @@ REF_EXTENSION_MPRIS = $(LINK_BANSHEE_THICKCLIENT_DEPS)
 REF_EXTENSION_MULTIMEDIAKEYS = $(LINK_BANSHEE_SERVICES_DEPS)
 REF_EXTENSION_FIXUP = $(LINK_BANSHEE_THICKCLIENT_DEPS) $(LINK_MUSICBRAINZ_DEPS) $(LINK_MIGO_DEPS)
 REF_EXTENSION_NOTIFICATIONAREA = $(LINK_BANSHEE_THICKCLIENT_DEPS)
+LINK_EXTENSION_NOTIFICATIONAREA = -r:$(DIR_BIN)/Banshee.NotificationArea.dll
 REF_EXTENSION_PLAYER_MIGRATION = $(LINK_BANSHEE_THICKCLIENT_DEPS)
 REF_EXTENSION_PLAYQUEUE = $(LINK_BANSHEE_THICKCLIENT_DEPS)
 LINK_EXTENSION_PLAYQUEUE = -r:$(DIR_BIN)/Banshee.PlayQueue.dll
diff --git a/src/Extensions/Banshee.SoundMenu/Makefile.am b/src/Extensions/Banshee.SoundMenu/Makefile.am
index 0c4e157..c7dcc3c 100644
--- a/src/Extensions/Banshee.SoundMenu/Makefile.am
+++ b/src/Extensions/Banshee.SoundMenu/Makefile.am
@@ -2,7 +2,7 @@ if EXTERNAL_NOTIFY_SHARP
 NOTIFY_SHARP_LIBS = $(NOTIFY_SHARP_LIBS)
 else
 GMCS_FLAGS+="-define:INTERNAL_NOTIFY_SHARP"
-NOTIFY_SHARP_LIBS = 
+NOTIFY_SHARP_LIBS = $(LINK_EXTENSION_NOTIFICATIONAREA)
 endif
 
 ASSEMBLY = Banshee.SoundMenu



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]