summaryrefslogtreecommitdiffstats
path: root/kpackage
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2018-08-11 09:09:44 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-09-01 19:02:09 +0200
commitd9576addaa0ca9588e484dba09dacc236b41a332 (patch)
tree2bc59dfe549facc5db3e355b7c328404b72b5ed8 /kpackage
parent5a68382903e8a21e43a50fa9f87b1968d3cb00b9 (diff)
downloadtdeadmin-d9576addaa0ca9588e484dba09dacc236b41a332.tar.gz
tdeadmin-d9576addaa0ca9588e484dba09dacc236b41a332.zip
First bach of cmake files in order to convert tdeadmin
from autotools to cmake building system. (cherry picked from commit 88073834d0052272dce61556b9508e66b84cd494)
Diffstat (limited to 'kpackage')
-rw-r--r--kpackage/CMakeLists.txt44
-rw-r--r--kpackage/icon/CMakeLists.txt4
-rw-r--r--kpackage/pics/CMakeLists.txt8
-rw-r--r--kpackage/toolbar/CMakeLists.txt5
4 files changed, 61 insertions, 0 deletions
diff --git a/kpackage/CMakeLists.txt b/kpackage/CMakeLists.txt
new file mode 100644
index 0000000..5853e6d
--- /dev/null
+++ b/kpackage/CMakeLists.txt
@@ -0,0 +1,44 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+add_subdirectory( pics )
+add_subdirectory( toolbar )
+add_subdirectory( icon )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### kpackage (executable) #####################
+
+tde_add_executable( kpackage AUTOMOC
+ SOURCES kpackage.cpp managementWidget.cpp packageDisplay.cpp
+ packageProperties.cpp findf.cpp search.cpp options.cpp pkgOptions.cpp
+ packageInfo.cpp cache.cpp main.cpp utils.cpp tdeio.cpp debInterface.cpp
+ debDpkgInterface.cpp debAptInterface.cpp updateLoc.cpp procbuf.cpp
+ kplview.cpp pkgInterface.cpp rpmInterface.cpp kissInterface.cpp
+ slackInterface.cpp fbsdInterface.cpp gentooInterface.cpp kpPty.cpp
+ kpTerm.cpp
+ LINK tdecore-shared tdeui-shared tdeio-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### other data ################################
+
+install( FILES kpackageui.rc
+ DESTINATION ${DATA_INSTALL_DIR}/kpackage
+)
+
+install( FILES kpackage.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
+)
diff --git a/kpackage/icon/CMakeLists.txt b/kpackage/icon/CMakeLists.txt
new file mode 100644
index 0000000..495bca5
--- /dev/null
+++ b/kpackage/icon/CMakeLists.txt
@@ -0,0 +1,4 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+tde_install_icons( kpackage )
+
diff --git a/kpackage/pics/CMakeLists.txt b/kpackage/pics/CMakeLists.txt
new file mode 100644
index 0000000..e0baad9
--- /dev/null
+++ b/kpackage/pics/CMakeLists.txt
@@ -0,0 +1,8 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+install( FILES cross.png dbad.png deb.png dnew.png dupdated.png ptick.png
+ question.png rnew.png rpm.png rupdated.png kiss.png knew.png kupdated.png
+ slack.png snew.png supdated.png bsd.png bnew.png bupdated.png tick.png
+ noball.png
+ DESTINATION ${DATA_INSTALL_DIR}/kpackage/pics
+)
diff --git a/kpackage/toolbar/CMakeLists.txt b/kpackage/toolbar/CMakeLists.txt
new file mode 100644
index 0000000..4a927db
--- /dev/null
+++ b/kpackage/toolbar/CMakeLists.txt
@@ -0,0 +1,5 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+install( FILES ftin.xpm ftout.xpm
+ DESTINATION ${DATA_INSTALL_DIR}/kpackage/pics
+)