You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdeio-locate/src/SConscript

41 lines
1013 B

#!/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')