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( mplayerthumbsconfig )
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
${CMAKE_BINARY_DIR}
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
${TDE_INCLUDE_DIR}
|
|
|
|
${TQT_INCLUDE_DIRS}
|
|
|
|
)
|
|
|
|
|
|
|
|
link_directories(
|
|
|
|
${TQT_LIBRARY_DIRS}
|
|
|
|
${TDE_LIB_DIR}
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
##### videopreview (kpart)
|
|
|
|
|
|
|
|
tde_add_kpart( videopreview AUTOMOC
|
|
|
|
|
|
|
|
SOURCES
|
|
|
|
videopreview.cpp
|
|
|
|
LINK
|
|
|
|
tdecore-shared
|
|
|
|
mplayerthumbscfg-static
|
|
|
|
|
|
|
|
DESTINATION ${PLUGIN_INSTALL_DIR}
|
|
|
|
)
|
|
|
|
|
|
|
|
set_property(
|
|
|
|
SOURCE videopreview.cpp
|
|
|
|
APPEND PROPERTY
|
|
|
|
OBJECT_DEPENDS ${CMAKE_BINARY_DIR}/src/mplayerthumbs.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
##### mplayerthumbscfg (static)
|
|
|
|
|
|
|
|
tde_add_library( mplayerthumbscfg STATIC_PIC AUTOMOC
|
|
|
|
|
|
|
|
SOURCES
|
|
|
|
mplayerthumbs.kcfgc
|
|
|
|
LINK
|
|
|
|
tdecore-shared
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
##### other data
|
|
|
|
|
|
|
|
tde_create_translated_desktop(
|
|
|
|
SOURCE videopreview.desktop
|
|
|
|
DESTINATION ${SERVICES_INSTALL_DIR}
|
|
|
|
)
|
|
|
|
|
|
|
|
install(
|
|
|
|
FILES
|
|
|
|
sprocket-small.png
|
|
|
|
sprocket-medium.png
|
|
|
|
sprocket-large.png
|
|
|
|
|
|
|
|
DESTINATION ${DATA_INSTALL_DIR}/videopreview
|
|
|
|
)
|
|
|
|
|
|
|
|
install(
|
|
|
|
FILES mplayerthumbs.kcfg
|
|
|
|
DESTINATION ${KCFG_INSTALL_DIR}
|
|
|
|
)
|