diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 46 | ||||
-rw-r--r-- | src/SConscript | 40 |
2 files changed, 46 insertions, 40 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..6677503 --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,46 @@ +################################################# +# +# (C) 2011 Timothy Pearson +# kb9vqf (AT) pearsoncomputing.net +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${TQT_INCLUDE_DIRS} + ${CMAKE_BINARY_DIR} + ${CMAKE_BINARY_DIR}/tdecore + ${CMAKE_SOURCE_DIR}/tdecore + ${CMAKE_SOURCE_DIR}/kio/kio +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES locate.protocol DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES locater.protocol DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES rlocate.protocol DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES locate.desktop DESTINATION ${SERVICES_INSTALL_DIR}/searchproviders ) + + +##### kbzip2filter ############################## + +set( target kio_locate ) + +set( ${target}_SRCS + klocateconfig.kcfgc klocateconfigwidget.ui klocateconfigfilterwidget.ui + klocateconfiglocatewidget.ui kio_locate.cpp locater.cpp pattern.cpp +) + +tde_add_kpart( ${target} AUTOMOC + SOURCES ${${target}_SRCS} + LINK kio-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +)
\ No newline at end of file diff --git a/src/SConscript b/src/SConscript deleted file mode 100644 index 4b27cee..0000000 --- a/src/SConscript +++ /dev/null @@ -1,40 +0,0 @@ -#!/usr/bin/python -# kio-locate -# -# Copyright (C) 2005 by Tobi Vollebregt -# tobivollebregt@gmail.com -# -# Thanks to Google's Summer Of Code Program! -# -# Copyright (C) 2005 by Armin Straub -# linux@arminstraub.de -# -# Adapted from the example shipping with bksys. -# Thomas Nagy, 2004, 2005 -# Thanks for this great tool! - -Import('env') - -# The kioslave library is kio_test5.so and not libkio_test5.so (empty string) -obj=env.kobject('kioslave') -obj.target='kio_locate' -obj.source=""" - klocateconfig.kcfgc - klocateconfigwidget.ui - klocateconfigfilterwidget.ui - klocateconfiglocatewidget.ui - kio_locate.cpp - locater.cpp - pattern.cpp -""" -obj.libs='tqt kio' -obj.linkflags='-module' # add more link flags -obj.execute() - -# Install the protocol files -env.KDEinstall('KDESERV', '', 'locate.protocol') -env.KDEinstall('KDESERV', '', 'locater.protocol') -env.KDEinstall('KDESERV', '', 'rlocate.protocol') - -# Install the searchprovider file -env.KDEinstall('KDESERV', '/searchproviders', 'locate.desktop') |