summaryrefslogtreecommitdiffstats
path: root/src/SConscript
blob: 4b27cee3055826f2afd5991f10a0170038cbb0cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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='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')