kde-workspace/plasma/scriptengines/python/CMakeLists.txt

34 lines
1.4 KiB
Text
Raw Normal View History

2014-11-13 19:30:51 +02:00
project(plasma-python)
include(PythonMacros)
# install the library, .desktop, and plasma.py
python_install(pyappletscript.py ${DATA_INSTALL_DIR}/plasma_scriptengine_python)
python_install(plasma_importer.py ${DATA_INSTALL_DIR}/plasma_scriptengine_python)
python_install(pydataengine.py ${DATA_INSTALL_DIR}/plasma_scriptengine_python)
python_install(pyrunner.py ${DATA_INSTALL_DIR}/plasma_scriptengine_python)
python_install(pywallpaper.py ${DATA_INSTALL_DIR}/plasma_scriptengine_python)
2015-09-04 23:20:01 +00:00
python_install(plasmascript.py ${PYTHON_SITE_PACKAGES_DIR}/PyKDE4)
2014-11-13 19:30:51 +02:00
install(FILES plasma-scriptengine-applet-python.desktop
DESTINATION ${SERVICES_INSTALL_DIR})
install(FILES plasma-scriptengine-dataengine-python.desktop
DESTINATION ${SERVICES_INSTALL_DIR})
install(FILES plasma-scriptengine-runner-python.desktop
DESTINATION ${SERVICES_INSTALL_DIR})
install(FILES plasma-scriptengine-wallpaper-python.desktop
DESTINATION ${SERVICES_INSTALL_DIR})
###########################################################################
# Test plasmoids
option(INSTALL_PYTHON_TEST_PLASMA "Install test python applet" OFF)
if(INSTALL_PYTHON_TEST_PLASMA )
2015-09-04 23:20:01 +00:00
install(DIRECTORY test/plasma-applet-pyclock DESTINATION ${DATA_INSTALL_DIR}/plasma/plasmoids)
2014-11-13 19:30:51 +02:00
2015-09-04 23:20:01 +00:00
#TODO where install it ?
#install(DIRECTORY test/plasma-dataengine-pytime DESTINATION ${DATA_INSTALL_DIR}/plasma/engines)
2014-11-13 19:30:51 +02:00
endif(INSTALL_PYTHON_TEST_PLASMA)