summaryrefslogtreecommitdiffstats
path: root/kgpg
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-11-10 20:47:02 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2012-11-10 20:47:02 -0600
commitc1a8ee04fbfe9851c1f788bcdcf3a5339ce1e478 (patch)
treeb60bf0191b08974e1ad29fd808d298aaeb29ef5a /kgpg
parent42177b2709de3eb2ef8ecde7d2a027fbb05a218c (diff)
downloadtdeutils-c1a8ee04fbfe9851c1f788bcdcf3a5339ce1e478.tar.gz
tdeutils-c1a8ee04fbfe9851c1f788bcdcf3a5339ce1e478.zip
Initial conversion to cmake.
Thanks to Fat-Zer.
Diffstat (limited to 'kgpg')
-rw-r--r--kgpg/CMakeLists.txt81
-rw-r--r--kgpg/icons/CMakeLists.txt13
2 files changed, 94 insertions, 0 deletions
diff --git a/kgpg/CMakeLists.txt b/kgpg/CMakeLists.txt
new file mode 100644
index 0000000..4d976df
--- /dev/null
+++ b/kgpg/CMakeLists.txt
@@ -0,0 +1,81 @@
+#################################################
+#
+# (C) 2012 Golubev Alexander
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( icons )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### kgpg (executable) #########################
+
+tde_add_executable( kgpg AUTOMOC
+ SOURCES kgpgoptions.cpp listkeys.cpp
+ popuppublic.cpp kgpgview.cpp kgpg.cpp
+ main.cpp keygener.cpp kgpginterface.cpp
+ keyservers.cpp keyserver.ui searchres.ui
+ kgpgeditor.cpp detailedconsole.cpp
+ kgpglibrary.cpp kgpgwizard.ui
+ keyproperties.ui conf_encryption.ui
+ conf_decryption.ui conf_gpg.ui dcopiface.skel
+ keyinfowidget.cpp groupedit.ui
+ kgpgrevokewidget.ui newkey.ui adduid.ui
+ keyexport.ui sourceselect.ui
+ kgpgsettings.kcfgc conf_servers.ui
+ conf_ui2.ui conf_misc.ui
+ LINK kabc-shared kutils-shared tdeprint-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### icons #####################################
+
+tde_install_icons( kgpg )
+
+
+##### other data ################################
+
+install( FILES kgpg_anim.gif kgpg_docked.png
+ kgpg_docked.gif kgpg_blank.png kgpg_fill.png
+ DESTINATION ${DATA_INSTALL_DIR}/kgpg/pics
+)
+
+install( FILES kgpg.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
+)
+
+install( FILES kgpg.desktop
+ DESTINATION ${AUTOSTART_INSTALL_DIR}
+)
+
+install( FILES kgpg.rc listkeys.rc tips
+ DESTINATION ${DATA_INSTALL_DIR}/kgpg
+)
+
+install( FILES encryptfile.desktop
+ encryptfolder.desktop
+ DESTINATION
+ ${DATA_INSTALL_DIR}/konqueror/servicemenus
+)
+
+install( FILES kgpg.kcfg
+ DESTINATION ${KCFG_INSTALL_DIR}
+)
+
diff --git a/kgpg/icons/CMakeLists.txt b/kgpg/icons/CMakeLists.txt
new file mode 100644
index 0000000..8b4239f
--- /dev/null
+++ b/kgpg/icons/CMakeLists.txt
@@ -0,0 +1,13 @@
+#################################################
+#
+# (C) 2012 Golubev Alexander
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_install_icons(
+ DESTINATION ${DATA_INSTALL_DIR}/kgpg/icons )