summaryrefslogtreecommitdiffstats
path: root/kcontrol/ebrowsing
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-23 23:42:11 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-23 23:42:11 +0000
commitb6fc43ccd522dfbc1e215b12adb8208c156bbd31 (patch)
treeb6d14378dd6c3d2f74ea8acf515cef7f4a024cb2 /kcontrol/ebrowsing
parentd53bf360906757a36588588fb0286d3b4784ffcb (diff)
downloadtdebase-b6fc43ccd522dfbc1e215b12adb8208c156bbd31.tar.gz
tdebase-b6fc43ccd522dfbc1e215b12adb8208c156bbd31.zip
[kdebase] initial cmake support
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1216551 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/ebrowsing')
-rw-r--r--kcontrol/ebrowsing/CMakeLists.txt35
-rw-r--r--kcontrol/ebrowsing/plugins/CMakeLists.txt14
-rw-r--r--kcontrol/ebrowsing/plugins/ikws/CMakeLists.txt51
-rw-r--r--kcontrol/ebrowsing/plugins/ikws/searchproviders/CMakeLists.txt38
-rw-r--r--kcontrol/ebrowsing/plugins/localdomain/CMakeLists.txt43
-rw-r--r--kcontrol/ebrowsing/plugins/shorturi/CMakeLists.txt34
6 files changed, 215 insertions, 0 deletions
diff --git a/kcontrol/ebrowsing/CMakeLists.txt b/kcontrol/ebrowsing/CMakeLists.txt
new file mode 100644
index 000000000..47ebb7e64
--- /dev/null
+++ b/kcontrol/ebrowsing/CMakeLists.txt
@@ -0,0 +1,35 @@
+#################################################
+#
+# (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( plugins )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES ebrowsing.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_kurifilt (module) #####################
+
+tde_add_kpart( kcm_kurifilt AUTOMOC
+ SOURCES filteropts.cpp main.cpp
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/ebrowsing/plugins/CMakeLists.txt b/kcontrol/ebrowsing/plugins/CMakeLists.txt
new file mode 100644
index 000000000..fb64453e1
--- /dev/null
+++ b/kcontrol/ebrowsing/plugins/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
+#
+#################################################
+
+add_subdirectory( ikws )
+add_subdirectory( shorturi )
+add_subdirectory( localdomain )
diff --git a/kcontrol/ebrowsing/plugins/ikws/CMakeLists.txt b/kcontrol/ebrowsing/plugins/ikws/CMakeLists.txt
new file mode 100644
index 000000000..b5c470483
--- /dev/null
+++ b/kcontrol/ebrowsing/plugins/ikws/CMakeLists.txt
@@ -0,0 +1,51 @@
+#################################################
+#
+# (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( searchproviders )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES kuriikwsfilter.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
+install( FILES kuriikwsfilter.desktop kurisearchfilter.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES searchprovider.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+
+
+##### libkuriikwsfilter (module) ################
+
+tde_add_kpart( libkuriikwsfilter AUTOMOC
+ SOURCES
+ kuriikwsfiltereng.cpp kuriikwsfilter.skel
+ kuriikwsfilter.cpp searchprovider.cpp
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### libkurisearchfilter (module) ##############
+
+tde_add_kpart( libkurisearchfilter AUTOMOC
+ SOURCES
+ kurisearchfilter.cpp kurisearchfilter.skel
+ kuriikwsfiltereng.cpp ikwsopts.cpp searchproviderdlg.cpp
+ searchprovider.cpp searchproviderdlg_ui.ui ikwsopts_ui.ui
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+) \ No newline at end of file
diff --git a/kcontrol/ebrowsing/plugins/ikws/searchproviders/CMakeLists.txt b/kcontrol/ebrowsing/plugins/ikws/searchproviders/CMakeLists.txt
new file mode 100644
index 000000000..ae9ab5775
--- /dev/null
+++ b/kcontrol/ebrowsing/plugins/ikws/searchproviders/CMakeLists.txt
@@ -0,0 +1,38 @@
+#################################################
+#
+# (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
+ acronym.desktop alexa.desktop alexa_url.desktop
+ alltheweb.desktop altavista.desktop amg.desktop
+ appsy.desktop austronaut.desktop backports.desktop
+ bugft.desktop bugno.desktop call.desktop cia.desktop
+ citeseer.desktop cpan.desktop ctan_cat.desktop
+ ctan.desktop dbug.desktop de2en.desktop de2fr.desktop
+ deb.desktop dmoz.desktop docbook.desktop doi.desktop
+ en2de.desktop en2es.desktop en2fr.desktop en2it.desktop
+ es2en.desktop excite.desktop feedster.desktop foldoc.desktop
+ fr2de.desktop fr2en.desktop freedb.desktop freshmeat.desktop
+ froogle.desktop fsd.desktop google_advanced.desktop
+ google.desktop google_groups.desktop google_images.desktop
+ google_lucky.desktop google_movie.desktop google_news.desktop
+ gracenote.desktop grec.desktop hotbot.desktop hyperdictionary.desktop
+ hyperdictionary_thesaurus.desktop imdb.desktop it2en.desktop
+ jeeves.desktop kde.desktop kde_websvn.desktop katatudo.desktop
+ leo.desktop lycos.desktop mamma.desktop metacrawler.desktop
+ msdn.desktop netcraft.desktop nl-telephone.desktop
+ nl-teletekst.desktop pgpkeys.desktop php.desktop python.desktop
+ qt.desktop qt3.desktop rae.desktop rfc.desktop rpmfind.desktop
+ ruby_application_archive.desktop seek.desktop sourceforge.desktop
+ technorati.desktop technoratitags.desktop thesaurus.desktop
+ tvtome.desktop uspto.desktop vivisimo.desktop voila.desktop
+ webster.desktop whatis.desktop wikipedia.desktop wiktionary.desktop
+ wordref.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}/searchproviders )
diff --git a/kcontrol/ebrowsing/plugins/localdomain/CMakeLists.txt b/kcontrol/ebrowsing/plugins/localdomain/CMakeLists.txt
new file mode 100644
index 000000000..df8d0eefa
--- /dev/null
+++ b/kcontrol/ebrowsing/plugins/localdomain/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
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES localdomainurifilter.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### liblocaldomainurifilter (module) ##########
+
+tde_add_kpart( liblocaldomainurifilter AUTOMOC
+ SOURCES localdomainurifilter.cpp localdomainurifilter.skel
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### klocaldomainurifilterhelper (executable ) #
+
+tde_add_executable( klocaldomainurifilterhelper
+ SOURCES klocaldomainurifilterhelper.c
+ LINK
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/kcontrol/ebrowsing/plugins/shorturi/CMakeLists.txt b/kcontrol/ebrowsing/plugins/shorturi/CMakeLists.txt
new file mode 100644
index 000000000..c8d25b1bf
--- /dev/null
+++ b/kcontrol/ebrowsing/plugins/shorturi/CMakeLists.txt
@@ -0,0 +1,34 @@
+#################################################
+#
+# (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}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES kshorturifilter.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES kshorturifilterrc DESTINATION ${CONFIG_INSTALL_DIR} )
+
+
+##### libkshorturifilter (module) ###############
+
+tde_add_kpart( libkshorturifilter AUTOMOC
+ SOURCES kshorturifilter.cpp kshorturifilter.skel
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)