summaryrefslogtreecommitdiffstats
path: root/juk/CMakeLists.txt
blob: aed153f55cb069fd7dfb5f2c96fe7647dfd8c785 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
#################################################
#
#  (C) 2017 Slávek Banko
#  slavek (DOT) banko (AT) axis.cz
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

include( ConfigureChecks.cmake )

add_subdirectory( pics )
tde_install_icons( )

include_directories(
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_BINARY_DIR}
  ${AKODE_INCLUDE_DIRS}
  ${ARTS_INCLUDE_DIRS}
  ${GST_INCLUDE_DIRS}
  ${TAGLIB_INCLUDE_DIRS}
  ${TQT_INCLUDE_DIRS}
  ${TDE_INCLUDE_DIR}
)

link_directories(
  ${TQT_LIBRARY_DIRS}
  ${AKODE_LIBRARY_DIRS}
  ${ARTS_LIBRARY_DIRS}
)


##### juk (executable) ##########################

tde_add_executable( juk AUTOMOC
  SOURCES
    advancedsearchdialog.cpp
    actioncollection.cpp
    akodeplayer.cpp
    artsplayer.cpp
    cache.cpp
    categoryreaderinterface.cpp
    collectionlist.cpp
    coverdialog.cpp
    coverdialogbase.ui
    covericonview.cpp
    coverinfo.cpp
    covermanager.cpp
    deletedialog.cpp
    deletedialogbase.ui
    directorylist.cpp
    directorylistbase.ui
    dynamicplaylist.cpp
    exampleoptions.cpp
    exampleoptionsbase.ui
    folderplaylist.cpp
    filehandle.cpp
    filerenamer.cpp
    filerenamerbase.ui
    filerenameroptions.cpp
    filerenameroptionsbase.ui
    filerenamerconfigdlg.cpp
    gstreamerplayer.cpp
    webimagefetcher.cpp
    webimagefetcherdialog.cpp
    historyplaylist.cpp
    juk.cpp
    jukIface.skel
    k3bexporter.cpp
    keydialog.cpp
    main.cpp
    mediafiles.cpp
    musicbrainzquery.cpp
    nowplaying.cpp
    playermanager.cpp
    playlist.cpp
    playlistbox.cpp
    playlistcollection.cpp
    playlistinterface.cpp
    playlistitem.cpp
    playlistsearch.cpp
    playlistsplitter.cpp
    searchplaylist.cpp
    searchwidget.cpp
    slideraction.cpp
    sortedstringlist.cpp
    splashscreen.cpp
    statuslabel.cpp
    stringshare.cpp
    systemtray.cpp
    tag.cpp
    tageditor.cpp
    tagguesser.cpp
    tagguesserconfigdlg.cpp
    tagguesserconfigdlgwidget.ui
    tagrenameroptions.cpp
    tagtransactionmanager.cpp
    trackpickerdialog.cpp
    trackpickerdialogbase.ui
    tracksequenceiterator.cpp
    tracksequencemanager.cpp
    treeviewitemplaylist.cpp
    upcomingplaylist.cpp
    ktrm.cpp
    viewmode.cpp
  LINK
    DCOP-shared tdecore-shared tdeui-shared tdefx-shared tdeio-shared tdehtml-shared tdetexteditor-shared
    mcop kmedia2_idl soundserver_idl artsflow_idl artskde-shared ${ARTS_LIBRARIES} ${AKODE_LIBRARIES}
    ${GST_LIBRARIES} ${TAGLIB_LIBRARIES} ${MB_LIBRARIES} m
  DESTINATION ${BIN_INSTALL_DIR}
)


##### tagguessertest (check program) ############

tde_add_check_executable( tagguessertest AUTOMOC
  SOURCES
    tagguessertest.cpp tagguesser.cpp
  LINK
    DCOP tdecore-shared tdeui-shared tdefx-shared tdeio-shared tdetexteditor-shared
    mcop kmedia2_idl soundserver_idl artsflow_idl
)


##### other data ################################

install( FILES juk.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( FILES jukui.rc jukui-rtl.rc DESTINATION ${DATA_INSTALL_DIR}/juk )
install( FILES jukservicemenu.desktop DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus )