summaryrefslogtreecommitdiffstats
path: root/file-integration
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2020-11-19 15:34:21 +0100
committergregory guy <[email protected]>2020-11-19 15:41:50 +0100
commit039945bdcc926c6460cfb2c4372f370744b16d22 (patch)
tree5dd94a6a1c8e0709037f43d3bba55c0a9c7ad7db /file-integration
parent316ef8542788dcdbd65616807955c59238a5d208 (diff)
downloadbasket-039945bdcc926c6460cfb2c4372f370744b16d22.tar.gz
basket-039945bdcc926c6460cfb2c4372f370744b16d22.zip
Drop automake build support.
Add basic cmake build instructions. Delete empty files ChangeLog, NEWS and TODO. Rework of the README file. Update some cmake files with latest macros. Signed-off-by: gregory guy <[email protected]>
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 7fde328..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_TQT) -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 $<)