|
|
|
@ -70,7 +70,7 @@ def detect_kde(env):
|
|
|
|
|
|
|
|
|
|
kdedir = getstr('kdedir')
|
|
|
|
|
kdeincludes = getpath('kdeincludes')
|
|
|
|
|
kdelibs = getpath('kdelibs')
|
|
|
|
|
tdelibs = getpath('tdelibs')
|
|
|
|
|
|
|
|
|
|
qtdir = getstr('qtdir')
|
|
|
|
|
qtincludes = getpath('qtincludes')
|
|
|
|
@ -92,7 +92,7 @@ def detect_kde(env):
|
|
|
|
|
if kdedir: p('RED','kde-config was NOT found in the folder given '+kdedir)
|
|
|
|
|
else: p('RED','kde-config was NOT found in your PATH')
|
|
|
|
|
print "Make sure kde is installed properly"
|
|
|
|
|
print "(missing package kdebase-devel?)"
|
|
|
|
|
print "(missing package tdebase-devel?)"
|
|
|
|
|
env.Exit(1)
|
|
|
|
|
if kdedir: env['KDEDIR']=kdedir
|
|
|
|
|
else: env['KDEDIR'] = os.popen(kde_config+' -prefix').read().strip()
|
|
|
|
@ -236,9 +236,9 @@ def detect_kde(env):
|
|
|
|
|
|
|
|
|
|
## kde libs and includes
|
|
|
|
|
env['KDEINCLUDEPATH']=kdeincludes
|
|
|
|
|
if not kdelibs:
|
|
|
|
|
kdelibs=os.popen(kde_config+' --expandvars --install lib').read().strip()
|
|
|
|
|
env['KDELIBPATH']=kdelibs
|
|
|
|
|
if not tdelibs:
|
|
|
|
|
tdelibs=os.popen(kde_config+' --expandvars --install lib').read().strip()
|
|
|
|
|
env['KDELIBPATH']=tdelibs
|
|
|
|
|
|
|
|
|
|
## qt libs and includes
|
|
|
|
|
env['QTINCLUDEPATH']=qtincludes
|
|
|
|
@ -276,7 +276,7 @@ def generate(env):
|
|
|
|
|
p('BOLD','* libsuffix ','suffix of libraries on amd64, ie: 64, 32')
|
|
|
|
|
p('BOLD','* kdeincludes','kde includes path (/usr/include/kde on debian, ..)')
|
|
|
|
|
p('BOLD','* qtincludes ','qt includes path (/usr/include/qt on debian, ..)')
|
|
|
|
|
p('BOLD','* kdelibs ','kde libraries path, for linking the programs')
|
|
|
|
|
p('BOLD','* tdelibs ','kde libraries path, for linking the programs')
|
|
|
|
|
p('BOLD','* qtlibs ','qt libraries path, for linking the program')
|
|
|
|
|
|
|
|
|
|
p('BOLD','* scons configure libdir=/usr/local/lib qtincludes=/usr/include/qt\n')
|
|
|
|
|