diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-12 18:09:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-12 18:09:55 +0000 |
commit | 630b7196d93786595546565329160ff26332704b (patch) | |
tree | 16f570c8f65cf789945d96ab7c4c7c9a46c10e2f /src/SConscript | |
download | tdeio-locate-630b7196d93786595546565329160ff26332704b.tar.gz tdeio-locate-630b7196d93786595546565329160ff26332704b.zip |
Added KDE3 version of kio-locate
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kio-locate@1089224 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/SConscript')
-rw-r--r-- | src/SConscript | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/SConscript b/src/SConscript new file mode 100644 index 0000000..141cd59 --- /dev/null +++ b/src/SConscript @@ -0,0 +1,40 @@ +#!/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='qt-mt kio' +obj.linkflags='-module -avoid-version' # 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') |