summaryrefslogtreecommitdiffstats
path: root/akregator
diff options
context:
space:
mode:
Diffstat (limited to 'akregator')
-rw-r--r--akregator/CMakeLists.txt12
-rw-r--r--akregator/src/CMakeLists.txt122
-rw-r--r--akregator/src/about/CMakeLists.txt14
-rw-r--r--akregator/src/librss/CMakeLists.txt26
-rw-r--r--akregator/src/mk4storage/CMakeLists.txt43
-rw-r--r--akregator/src/mk4storage/metakit/CMakeLists.txt12
-rw-r--r--akregator/src/mk4storage/metakit/src/CMakeLists.txt27
-rw-r--r--akregator/src/pics/CMakeLists.txt16
8 files changed, 272 insertions, 0 deletions
diff --git a/akregator/CMakeLists.txt b/akregator/CMakeLists.txt
new file mode 100644
index 000000000..7356f2217
--- /dev/null
+++ b/akregator/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( src )
diff --git a/akregator/src/CMakeLists.txt b/akregator/src/CMakeLists.txt
new file mode 100644
index 000000000..f039f3769
--- /dev/null
+++ b/akregator/src/CMakeLists.txt
@@ -0,0 +1,122 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_import( libkmime)
+tde_import( ktnef )
+tde_import( libkcal )
+tde_import( libkdepim )
+
+add_subdirectory( librss )
+add_subdirectory( about )
+add_subdirectory( mk4storage )
+add_subdirectory( pics )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES
+ plugin.h articleinterceptor.h akregator_export.h storage.h
+ feedstorage.h storagefactory.h storagefactoryregistry.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/akregator )
+
+
+##### other data ################################
+
+tde_install_icons( )
+
+install( FILES
+ akregator.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+install( FILES
+ akregator.kcfg
+ DESTINATION ${KCFG_INSTALL_DIR} )
+
+install( FILES
+ akregator_part.desktop feed.protocol
+ DESTINATION ${SERVICES_INSTALL_DIR} )
+
+install( FILES
+ akregator_plugin.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+
+install( FILES
+ akregator_shell.rc articleviewer.rc eventsrc
+ pageviewer.rc akregator_part.rc
+ DESTINATION ${DATA_INSTALL_DIR}/akregator )
+
+
+##### akregatorprivate (shared) #################
+
+tde_add_library( akregatorprivate SHARED AUTOMOC
+ SOURCES
+ aboutdata.cpp akregatorconfig.kcfgc article.cpp
+ articlefilter.cpp articleinterceptor.cpp dragobjects.cpp
+ feed.cpp feediconmanager.cpp feediconmanager.skel
+ feedlist.cpp feedstoragedummyimpl.cpp fetchqueue.cpp
+ folder.cpp nodelist.cpp plugin.cpp pluginmanager.cpp
+ simplenodeselector.cpp storage.cpp storagedummyimpl.cpp
+ storagefactorydummyimpl.cpp storagefactoryregistry.cpp
+ tag.cpp tagfolder.cpp tagnode.cpp tagnodelist.cpp
+ tagset.cpp trayicon.cpp treenode.cpp treenodevisitor.cpp
+ utils.cpp
+ VERSION 0.0.0
+ LINK rsslocal-static kio-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+
+##### akregator (executable) ####################
+
+tde_add_executable( akregator AUTOMOC
+ SOURCES main.cpp mainwindow.cpp
+ LINK akregatorprivate-shared kdepim-shared kparts-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### libakregatorpart (module) #################
+
+tde_add_kpart( libakregatorpart AUTOMOC
+ SOURCES
+ actionmanager.cpp actionmanagerimpl.cpp
+ addfeeddialog.cpp addfeedwidgetbase.ui
+ akregator_part.cpp akregator_partiface.skel
+ akregator_run.cpp akregator_view.cpp articlelistview.cpp
+ articleviewer.cpp configdialog.cpp feeditem.cpp
+ feedlistview.cpp folderitem.cpp frame.cpp kernel.cpp
+ notificationmanager.cpp pageviewer.cpp progressmanager.cpp
+ propertiesdialog.cpp propertieswidgetbase.ui searchbar.cpp
+ settings_advancedbase.ui settings_advanced.cpp
+ settings_appearance.ui settings_archive.ui
+ settings_browser.ui settings_general.ui speechclient.cpp
+ tabwidget.cpp tagaction.cpp tagfolderitem.cpp
+ tagnodeitem.cpp tagpropertiesdialog.cpp
+ tagpropertieswidgetbase.ui treenodeitem.cpp
+ viewer.cpp ${TDE_INCLUDE_DIR}/kspeechsink.skel
+ ${TDE_INCLUDE_DIR}/kspeech.stub listtabwidget.cpp
+ LINK akregatorprivate-shared kdepim-shared khtml-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/akregator/src/about/CMakeLists.txt b/akregator/src/about/CMakeLists.txt
new file mode 100644
index 000000000..6bd6bdf81
--- /dev/null
+++ b/akregator/src/about/CMakeLists.txt
@@ -0,0 +1,14 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ top-right-akregator.png main.html akregator.css
+ DESTINATION ${DATA_INSTALL_DIR}/akregator/about )
diff --git a/akregator/src/librss/CMakeLists.txt b/akregator/src/librss/CMakeLists.txt
new file mode 100644
index 000000000..79e3b560a
--- /dev/null
+++ b/akregator/src/librss/CMakeLists.txt
@@ -0,0 +1,26 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### rsslocal (static) #########################
+
+tde_add_library( rsslocal STATIC_PIC AUTOMOC
+ SOURCES
+ article.cpp document.cpp image.cpp textinput.cpp
+ tools_p.cpp loader.cpp enclosure.cpp category.cpp
+ feeddetector.cpp
+)
diff --git a/akregator/src/mk4storage/CMakeLists.txt b/akregator/src/mk4storage/CMakeLists.txt
new file mode 100644
index 000000000..01795d996
--- /dev/null
+++ b/akregator/src/mk4storage/CMakeLists.txt
@@ -0,0 +1,43 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( metakit )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/akregator/src
+ ${CMAKE_SOURCE_DIR}/akregator/src/mk4storage/metakit/include
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES akregator_mk4storage_plugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES mk4config.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
+
+
+##### libakregator_mk4storage_plugin (module) ##
+
+tde_add_kpart( libakregator_mk4storage_plugin AUTOMOC
+ SOURCES
+ feedstoragemk4impl.cpp mk4plugin.cpp storagemk4impl.cpp
+ storagefactorymk4impl.cpp
+ LINK
+ rsslocal-static metakitlocal-static
+ akregatorprivate-shared kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/akregator/src/mk4storage/metakit/CMakeLists.txt b/akregator/src/mk4storage/metakit/CMakeLists.txt
new file mode 100644
index 000000000..7356f2217
--- /dev/null
+++ b/akregator/src/mk4storage/metakit/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( src )
diff --git a/akregator/src/mk4storage/metakit/src/CMakeLists.txt b/akregator/src/mk4storage/metakit/src/CMakeLists.txt
new file mode 100644
index 000000000..dd5a9abde
--- /dev/null
+++ b/akregator/src/mk4storage/metakit/src/CMakeLists.txt
@@ -0,0 +1,27 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}/../include
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### metakitlocal (static) #####################
+
+tde_add_library( metakitlocal STATIC_PIC
+ SOURCES
+ column.cpp custom.cpp derived.cpp field.cpp fileio.cpp
+ format.cpp handler.cpp persist.cpp remap.cpp std.cpp
+ store.cpp string.cpp table.cpp univ.cpp view.cpp viewx.cpp
+)
diff --git a/akregator/src/pics/CMakeLists.txt b/akregator/src/pics/CMakeLists.txt
new file mode 100644
index 000000000..fd2c9a866
--- /dev/null
+++ b/akregator/src/pics/CMakeLists.txt
@@ -0,0 +1,16 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_install_icons( )
+
+install( FILES
+ akregator_flag.png kmmsgflag.png kmmsgnew.png kmmsgunseen.png
+ DESTINATION ${DATA_INSTALL_DIR}/akregator/pics )