Debian Codegraph @

musicPlayer/src/CMakeLists.txt

raw
1
2 ########### sources ###############
3
4 SET(cd-musicPlayer_LIB_SRCS
5 applet-struct.h
6 applet-init.c applet-init.h
7 applet-config.c applet-config.h
8 applet-notifications.c applet-notifications.h
9 applet-dbus.c applet-dbus.h
10 applet-musicplayer.c applet-musicplayer.h
11 applet-cover.c applet-cover.h
12 applet-amazon.c applet-amazon.h
13 applet-draw.c applet-draw.h
14 3dcover-draw.c 3dcover-draw.h
15 # backends
16 applet-mpris.c applet-mpris.h
17 applet-mpris2.c applet-mpris2.h
18 applet-amarok2.c applet-amarok2.h
19 applet-banshee.c applet-banshee.h
20 applet-clementine.c applet-clementine.h
21 applet-exaile.c applet-exaile.h
22 applet-exaile3.c applet-exaile3.h
23 applet-gmusicbrowser.c applet-gmusicbrowser.h
24 applet-guayadeque.c applet-guayadeque.h
25 applet-listen.c applet-listen.h
26 applet-qmmp.c applet-qmmp.h
27 applet-quodlibet.c applet-quodlibet.h
28 applet-rhythmbox.c applet-rhythmbox.h
29 applet-songbird.c applet-songbird.h
30 applet-audacious.c applet-audacious.h
31 applet-xmms2.c applet-xmms2.h
32 )
33
34 add_library(${PACKAGE_MUSICPLAYER} SHARED ${cd-musicPlayer_LIB_SRCS})
35
36 ########### compil ###############
37 add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${musicplayerdatadir}")
38 add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg")
39 add_definitions (-DMY_APPLET_CONF_FILE="musicPlayer.conf")
40 add_definitions (-DMY_APPLET_USER_DATA_DIR="musicPlayer")
41 add_definitions (-DMY_APPLET_VERSION="${VERSION_MUSICPLAYER}")
42 add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_MUSICPLAYER}")
43 add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
44 add_definitions (-DMY_APPLET_ICON_FILE="icon.png")
45
46 include_directories (
47 ${PACKAGE_INCLUDE_DIRS})
48
49 link_directories (
50 ${PACKAGE_LIBRARY_DIRS})
51
52 target_link_libraries (${PACKAGE_MUSICPLAYER}
53 ${PACKAGE_LIBRARIES})
54
55 ########### install files ###############
56
57 install(TARGETS ${PACKAGE_MUSICPLAYER} DESTINATION ${pluginsdir})