From 88073834d0052272dce61556b9508e66b84cd494 Mon Sep 17 00:00:00 2001 From: gregory guy Date: Sat, 11 Aug 2018 09:09:44 +0200 Subject: First bach of cmake files in order to convert tdeadmin from autotools to cmake building system. --- kpackage/CMakeLists.txt | 44 +++++++++++++++++++++++++++++++++++++++++ kpackage/icon/CMakeLists.txt | 4 ++++ kpackage/pics/CMakeLists.txt | 8 ++++++++ kpackage/toolbar/CMakeLists.txt | 5 +++++ 4 files changed, 61 insertions(+) create mode 100644 kpackage/CMakeLists.txt create mode 100644 kpackage/icon/CMakeLists.txt create mode 100644 kpackage/pics/CMakeLists.txt create mode 100644 kpackage/toolbar/CMakeLists.txt (limited to 'kpackage') 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 +) -- cgit v1.2.1