3
0
Fork 0
forked from mirrors/nixpkgs

* Fix kpythonpluginfactory.

svn path=/nixpkgs/branches/kde-4.7/; revision=27899
This commit is contained in:
Eelco Dolstra 2011-07-22 01:54:04 +00:00
parent 9379248ef3
commit a5a9f1fb2e

View file

@ -15,6 +15,10 @@ kde.package {
substituteInPlace CMakeLists.txt \
--replace '{SIP_DEFAULT_SIP_DIR}' '{CMAKE_INSTALL_PREFIX}/share/sip'
# Use an absolute path to open libpython.so.
substituteInPlace kpythonpluginfactory/kpythonpluginfactory.cpp \
--replace LIB_PYTHON \"$(echo ${python}/lib/libpython*.so.*)\"
# Symlink PyQt into PyKDE. This is necessary because PyQt looks
# in its PyQt4/uic/widget-plugins directory for plugins, and KDE
# needs to install a plugin.