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