|
|
|
@ -82,7 +82,7 @@ def detect_kde(env):
|
|
|
|
|
datadir = getpath('datadir')
|
|
|
|
|
libdir = getpath('libdir')
|
|
|
|
|
kdeincludes = getpath('kdeincludes')
|
|
|
|
|
kdelibs = getpath('kdelibs')
|
|
|
|
|
tdelibs = getpath('tdelibs')
|
|
|
|
|
qtincludes = getpath('qtincludes')
|
|
|
|
|
qtlibs = getpath('qtlibs')
|
|
|
|
|
libsuffix = ''
|
|
|
|
@ -98,7 +98,7 @@ def detect_kde(env):
|
|
|
|
|
else:
|
|
|
|
|
print RED+"kde-config was NOT found in your PATH"+NORMAL
|
|
|
|
|
print "Make sure kde is installed properly"
|
|
|
|
|
print "(missing package kdebase-devel?)"
|
|
|
|
|
print "(missing package tdebase-devel?)"
|
|
|
|
|
env.Exit(1)
|
|
|
|
|
env['KDEDIR'] = os.popen('kde-config -prefix').read().strip()
|
|
|
|
|
|
|
|
|
@ -245,9 +245,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
|
|
|
|
@ -270,7 +270,7 @@ b[* libdir ]: install path for the libs, ie: /usr/lib
|
|
|
|
|
b[* libsuffix ]: suffix of libraries on amd64, ie: 64, 32
|
|
|
|
|
b[* kdeincludes]: path to the kde includes (/usr/include/kde on debian, ...)
|
|
|
|
|
b[* qtincludes ]: path to the for qt includes (/usr/include/qt on debian, ...)
|
|
|
|
|
b[* kdelibs ]: path to the kde libs, for linking the programs
|
|
|
|
|
b[* tdelibs ]: path to the kde libs, for linking the programs
|
|
|
|
|
b[* qtlibs ]: path to the qt libs, for linking the programs
|
|
|
|
|
|
|
|
|
|
ie: b[scons configure libdir=/usr/local/lib qtincludes=/usr/include/qt]
|
|
|
|
|