You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
add_subdirectory( parsers )
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
${CMAKE_BINARY_DIR}
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/parsers
|
|
|
|
${TDE_INCLUDE_DIR}
|
|
|
|
${TQT_INCLUDE_DIRS}
|
|
|
|
)
|
|
|
|
|
|
|
|
link_directories(
|
|
|
|
${TQT_LIBRARY_DIRS}
|
|
|
|
${TDE_LIB_DIR}
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/parsers
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
##### tdeio_apt (kpart)
|
|
|
|
|
|
|
|
tde_add_kpart( tdeio_apt MODULE AUTOMOC
|
|
|
|
|
|
|
|
SOURCES
|
|
|
|
aptcache.cpp
|
|
|
|
apt.cpp
|
|
|
|
regexps.cpp
|
|
|
|
packagemanager.cpp
|
|
|
|
dpkg.cpp
|
|
|
|
LINK
|
|
|
|
tdecore-shared
|
|
|
|
tdeui-shared
|
|
|
|
parsers-static
|
|
|
|
|
|
|
|
DESTINATION ${PLUGIN_INSTALL_DIR}
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
##### other data
|
|
|
|
|
|
|
|
foreach( _protocol apt.protocol apt+http.protocol )
|
|
|
|
tde_create_translated_desktop(
|
|
|
|
SOURCE ${_protocol}
|
|
|
|
DESTINATION ${SERVICES_INSTALL_DIR}
|
|
|
|
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files
|
|
|
|
)
|
|
|
|
endforeach( )
|
|
|
|
|
|
|
|
foreach( _desktop apt-file.desktop apt-files.desktop apt-search.desktop )
|
|
|
|
tde_create_translated_desktop(
|
|
|
|
SOURCE ${_desktop}
|
|
|
|
DESTINATION ${SERVICES_INSTALL_DIR}/searchproviders
|
|
|
|
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files
|
|
|
|
)
|
|
|
|
endforeach( )
|
|
|
|
|
|
|
|
install(
|
|
|
|
FILES tdeio_apt.css tdedeb_logo.png
|
|
|
|
DESTINATION ${DATA_INSTALL_DIR}/tdeio_apt/
|
|
|
|
)
|