2 include_directories(${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )
5 ########### next target ###############
7 set(basketthumbcreator_PART_SRCS basketthumbcreator.cpp)
9 kde4_add_plugin(basketthumbcreator ${basketthumbcreator_PART_SRCS})
11 target_link_libraries(basketthumbcreator ${KDE4_KDECORE_LIBS} ${KDE4_KIO_LIBS})
13 install(TARGETS basketthumbcreator DESTINATION ${PLUGIN_INSTALL_DIR})
16 ########### install files ###############
18 install(FILES basketthumbcreator.desktop DESTINATION ${SERVICES_INSTALL_DIR})
19 install(FILES basket.magic DESTINATION ${CONFIG_INSTALL_DIR}/magic)
20 install(FILES x-basket-archive.desktop x-basket-template.desktop DESTINATION ${MIME_INSTALL_DIR}/application)
22 kde4_install_icons(${ICON_INSTALL_DIR})
26 #original Makefile.am contents follow:
28 ## MIME Types Information:
29 #applicationmimedir = $(kde_mimedir)/application
30 #applicationmime_DATA = x-basket-archive.desktop x-basket-template.desktop
32 ## Magic MIME Types Discovery:
33 #magicdir = $(kde_confdir)/magic
34 #magic_DATA = basket.magic
37 #INCLUDES = $(all_includes)
38 #kde_module_LTLIBRARIES = basketthumbcreator.la
39 #basketthumbcreator_la_SOURCES = basketthumbcreator.cpp
40 #basketthumbcreator_la_LIBADD = $(LIB_KIO)
41 #basketthumbcreator_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
42 #kde_services_DATA = basketthumbcreator.desktop
46 ##kde_icon_KDEICON = \
47 ## cr128-mimetype-baskets.png cr16-mimetype-baskets.png cr22-mimetype-baskets.png \
48 ## cr32-mimetype-baskets.png cr48-mimetype-baskets.png cr64-mimetype-baskets.png \
49 ## cr128-mimetype-baskett.png cr16-mimetype-baskett.png cr22-mimetype-baskett.png \
50 ## cr32-mimetype-baskett.png cr48-mimetype-baskett.png cr64-mimetype-baskett.png