summaryrefslogtreecommitdiffstats
path: root/file-integration
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2020-11-19 15:34:21 +0100
committerMichele Calgaro <[email protected]>2020-11-22 11:59:10 +0800
commit43dcc7c7e53fb20eee883ecb8837f9c7cd43899d (patch)
tree874bd1313d9444c0aa661db4d2f3952a2a1d946e /file-integration
parent55522e2e3f762f435a97cf3bfc4d83df27be1002 (diff)
downloadbasket-43dcc7c7e53fb20eee883ecb8837f9c7cd43899d.tar.gz
basket-43dcc7c7e53fb20eee883ecb8837f9c7cd43899d.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]> (cherry picked from commit 039945bdcc926c6460cfb2c4372f370744b16d22)
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 $<)