summaryrefslogtreecommitdiffstats
path: root/file-integration
diff options
context:
space:
mode:
Diffstat (limited to 'file-integration')
-rw-r--r--file-integration/CMakeLists.txt8
-rw-r--r--file-integration/Makefile.am28
2 files changed, 4 insertions, 32 deletions
diff --git a/file-integration/CMakeLists.txt b/file-integration/CMakeLists.txt
index 1e3acb4..7825a78 100644
--- a/file-integration/CMakeLists.txt
+++ b/file-integration/CMakeLists.txt
@@ -51,12 +51,12 @@ install(
DESTINATION ${CONFIG_INSTALL_DIR}/magic
)
-install(
- FILES x-basket-archive.desktop x-basket-template.desktop
+tde_create_translated_desktop(
+ SOURCE x-basket-archive.desktop x-basket-template.desktop
DESTINATION ${MIME_INSTALL_DIR}/application
)
-install(
- FILES basketthumbcreator.desktop
+tde_create_translated_desktop(
+ SOURCE basketthumbcreator.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
)
diff --git a/file-integration/Makefile.am b/file-integration/Makefile.am
deleted file mode 100644
index f5e7774..0000000
--- a/file-integration/Makefile.am
+++ /dev/null
@@ -1,28 +0,0 @@
-# MIME Types Information:
-applicationmimedir = $(kde_mimedir)/application
-applicationmime_DATA = x-basket-archive.desktop x-basket-template.desktop
-
-# Magic MIME Types Discovery:
-magicdir = $(kde_confdir)/magic
-magic_DATA = basket.magic basket.magic.mgc
-
-# Thumbnail Creator:
-INCLUDES = $(all_includes)
-kde_module_LTLIBRARIES = basketthumbcreator.la
-basketthumbcreator_la_SOURCES = basketthumbcreator.cpp
-basketthumbcreator_la_LIBADD = $(LIB_TDEIO)
-basketthumbcreator_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx
-kde_services_DATA = basketthumbcreator.desktop
-
-# Icons:
-KDE_ICON = AUTO
-#kde_icon_KDEICON = \
-# cr128-mimetype-baskets.png cr16-mimetype-baskets.png cr22-mimetype-baskets.png \
-# cr32-mimetype-baskets.png cr48-mimetype-baskets.png cr64-mimetype-baskets.png \
-# cr128-mimetype-baskett.png cr16-mimetype-baskett.png cr22-mimetype-baskett.png \
-# cr32-mimetype-baskett.png cr48-mimetype-baskett.png cr64-mimetype-baskett.png
-
-SUFFIXES = .magic .magic.mgc
-
-.magic.magic.mgc:
- (cd `dirname $@` && file -C -m $<)