summaryrefslogtreecommitdiffstats
path: root/tdeioslave/audiocd/CMakeLists.txt
blob: 822a2934f56161ee030011a6445c6f485d57d768 (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
#################################################
#
#  (C) 2017 Slávek Banko
#  slavek (DOT) banko (AT) axis.cz
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

add_subdirectory( kcmaudiocd )
add_subdirectory( plugins )


include_directories(
  ${CMAKE_BINARY_DIR}
  ${CMAKE_BINARY_DIR}/libkcddb
  ${CMAKE_SOURCE_DIR}/libkcddb
  ${CMAKE_SOURCE_DIR}/kscd
  ${TQT_INCLUDE_DIRS}
  ${TDE_INCLUDE_DIR}
  ${CDPARANOIA_INCLUDE_DIR}
)

link_directories(
  ${TQT_LIBRARY_DIRS}
  ${ARTSC_LIBRARY_DIRS}
)


##### tdeio_audiocd (module) ####################

tde_add_kpart( tdeio_audiocd
  SOURCES
    audiocd.cpp
  LINK
    tdeio-shared ${CDPARANOIA_LIBRARIES}
    kcddb-shared kcompactdisc-static workman-static
    audiocdplugins-shared
  DESTINATION ${PLUGIN_INSTALL_DIR}
)


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

install( FILES audiocd.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES audiocd.upd DESTINATION ${DATA_INSTALL_DIR}/tdeconf_update )
install( PROGRAMS upgrade-metadata.sh DESTINATION ${DATA_INSTALL_DIR}/tdeconf_update )