mirror of
https://bitbucket.org/smil3y/kde-playground.git
synced 2025-02-23 10:22:50 +00:00
redshift-plasmoid: build fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
ebbf2d8876
commit
1755951fd3
6 changed files with 11 additions and 12 deletions
|
@ -1,2 +1 @@
|
||||||
kde4_install_icons(${ICON_INSTALL_DIR})
|
kde4_install_icons(${KDE4_ICON_INSTALL_DIR})
|
||||||
kde4_update_iconcache()
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ ELSE(NOT GETTEXT_MSGFMT_EXECUTABLE)
|
||||||
ADD_CUSTOM_COMMAND(TARGET translations
|
ADD_CUSTOM_COMMAND(TARGET translations
|
||||||
COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} --check -o ${_gmoFile} ${_poFile}
|
COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} --check -o ${_gmoFile} ${_poFile}
|
||||||
DEPENDS ${_poFile})
|
DEPENDS ${_poFile})
|
||||||
INSTALL(FILES ${_gmoFile} DESTINATION ${LOCALE_INSTALL_DIR}/${_langCode}/LC_MESSAGES/ RENAME ${catalogname}.mo)
|
INSTALL(FILES ${_gmoFile} DESTINATION ${KDE4_LOCALE_INSTALL_DIR}/${_langCode}/LC_MESSAGES/ RENAME ${catalogname}.mo)
|
||||||
ENDIF( _langCode )
|
ENDIF( _langCode )
|
||||||
|
|
||||||
ENDFOREACH(_poFile ${PO_FILES})
|
ENDFOREACH(_poFile ${PO_FILES})
|
||||||
|
|
|
@ -2,4 +2,4 @@ add_subdirectory(dataengine)
|
||||||
add_subdirectory(applet)
|
add_subdirectory(applet)
|
||||||
add_subdirectory(redshiftAutostartEnabler)
|
add_subdirectory(redshiftAutostartEnabler)
|
||||||
|
|
||||||
install(FILES redshift.kcfg DESTINATION ${KCFG_INSTALL_DIR})
|
install(FILES redshift.kcfg DESTINATION ${KDE4_KCFG_INSTALL_DIR})
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
set(redshiftapplet_SRCS
|
set(redshiftapplet_SRCS
|
||||||
redshiftapplet.cpp
|
redshiftapplet.cpp
|
||||||
redshiftosdwidget.cpp
|
redshiftosdwidget.cpp
|
||||||
|
redshift.ui
|
||||||
)
|
)
|
||||||
|
|
||||||
kde4_add_ui_files(redshiftapplet_SRCS redshift.ui)
|
|
||||||
kde4_add_kcfg_files(redshiftapplet_SRCS ../redshiftsettings.kcfgc)
|
kde4_add_kcfg_files(redshiftapplet_SRCS ../redshiftsettings.kcfgc)
|
||||||
kde4_add_plugin(plasma_applet_redshift ${redshiftapplet_SRCS})
|
kde4_add_plugin(plasma_applet_redshift ${redshiftapplet_SRCS})
|
||||||
|
|
||||||
target_link_libraries(plasma_applet_redshift ${KDE4_PLASMA_LIBS})
|
target_link_libraries(plasma_applet_redshift ${KDE4_PLASMA_LIBS})
|
||||||
|
|
||||||
install(TARGETS plasma_applet_redshift DESTINATION ${PLUGIN_INSTALL_DIR})
|
install(TARGETS plasma_applet_redshift DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
||||||
install(FILES plasma-applet-redshift.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|
install(FILES plasma-applet-redshift.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR})
|
||||||
|
|
|
@ -11,7 +11,7 @@ kde4_add_plugin(plasma_engine_redshift ${redshift_engine_SRCS})
|
||||||
|
|
||||||
target_link_libraries(plasma_engine_redshift ${KDE4_PLASMA_LIBS})
|
target_link_libraries(plasma_engine_redshift ${KDE4_PLASMA_LIBS})
|
||||||
|
|
||||||
install(TARGETS plasma_engine_redshift DESTINATION ${PLUGIN_INSTALL_DIR})
|
install(TARGETS plasma_engine_redshift DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
||||||
install(FILES plasma-dataengine-redshift.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
install(FILES plasma-dataengine-redshift.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR} )
|
||||||
install(FILES redshift.operations DESTINATION ${DATA_INSTALL_DIR}/plasma/services)
|
install(FILES redshift.operations DESTINATION ${KDE4_DATA_INSTALL_DIR}/plasma/services)
|
||||||
|
|
||||||
|
|
|
@ -3,9 +3,9 @@ set(redshiftautostart_SRCS
|
||||||
redshiftenabler.cpp
|
redshiftenabler.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
kde4_add_executable(redshiftautostart ${redshiftautostart_SRCS})
|
add_executable(redshiftautostart ${redshiftautostart_SRCS})
|
||||||
|
|
||||||
target_link_libraries(redshiftautostart ${KDE4_KDECORE_LIBS} )
|
target_link_libraries(redshiftautostart ${KDE4_KDECORE_LIBS} )
|
||||||
|
|
||||||
install(TARGETS redshiftautostart DESTINATION ${BIN_INSTALL_DIR})
|
install(TARGETS redshiftautostart DESTINATION ${KDE4_BIN_INSTALL_DIR})
|
||||||
install(FILES RedshiftAutostart.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/autostart)
|
install(FILES RedshiftAutostart.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/autostart)
|
||||||
|
|
Loading…
Add table
Reference in a new issue