2
########### sources ###############
4
SET(cd-musicPlayer_LIB_SRCS
12
applet-notifications.c
13
applet-notifications.h
56
add_library(${PACKAGE_MUSICPLAYER} SHARED ${cd-musicPlayer_LIB_SRCS})
58
########### compil ###############
59
add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${musicplayerdatadir}")
60
add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg")
61
add_definitions (-DMY_APPLET_CONF_FILE="musicPlayer.conf")
62
add_definitions (-DMY_APPLET_USER_DATA_DIR="musicPlayer")
63
add_definitions (-DMY_APPLET_VERSION="${VERSION_MUSICPLAYER}")
64
add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_MUSICPLAYER}")
65
add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
66
add_definitions (-DMY_APPLET_ICON_FILE="icon.png")
69
${PACKAGE_INCLUDE_DIRS})
72
${PACKAGE_LIBRARY_DIRS})
74
target_link_libraries (${PACKAGE_MUSICPLAYER}
77
########### install files ###############
79
install(TARGETS ${PACKAGE_MUSICPLAYER} DESTINATION ${pluginsdir})
82
#original Makefile.am contents follow:
84
# #dnl Process this file with automake to produce Makefile.in
87
# libcd-musicPlayer.la
90
#libcd_musicPlayer_la_SOURCES =
98
# applet-notifications.c
99
# applet-notifications.h
104
# applet-musicplayer.c
105
# applet-musicplayer.h
136
#dock_version = `pkg-config --modversion cairo-dock`
138
#libcd_musicPlayer_la_CFLAGS =
139
# -I$(top_srcdir)/src
141
# -DMY_APPLET_SHARE_DATA_DIR=""${musicplayerdatadir)""
142
# -DMY_APPLET_PREVIEW_FILE=""preview.jpg""
143
# -DMY_APPLET_CONF_FILE=""musicPlayer.conf""
144
# -DMY_APPLET_USER_DATA_DIR=""musicPlayer""
145
# -DMY_APPLET_VERSION=""${VERSION_MUSICPLAYER)""
146
# -DMY_APPLET_GETTEXT_DOMAIN=""${GETTEXT_MUSICPLAYER)""
147
# -DMY_APPLET_DOCK_VERSION=""${dock_version)""
148
# -DMY_APPLET_ICON_FILE=""icon.png""
150
# -Werror-implicit-function-declaration
154
#libcd_musicPlayer_la_LIBADD =
155
# $(PACKAGE_LIBS) -lm
158
#libcd_musicPlayer_la_LDFLAGS =
159
# -avoid-version -module