Skip to content

Commit

Permalink
data: CMakeLists.txt edited as in appmenu.
Browse files Browse the repository at this point in the history
  • Loading branch information
rilian-la-te committed Mar 4, 2018
1 parent 672ebf1 commit b2d06b2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions data/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
if (ENABLE_XFCE)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/sntray.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/xfce4/panel/plugins)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/sntray.desktop DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/xfce4/panel/plugins)
endif()
if (ENABLE_MATE)
add_schema("org.valapanel.toplevel.sntray.gschema.xml")
configure_file(${CMAKE_SOURCE_DIR}/data/sntray-mate.desktop.plugin.in ${CMAKE_SOURCE_DIR}/data/sntray-mate.desktop.in)
configure_file(${CMAKE_SOURCE_DIR}/data/sntray-mate.service.in ${CMAKE_BINARY_DIR}/data/sntray-mate.serivce)
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/sntray-mate.serivce DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/dbus-1/services/ RENAME org.mate.panel.applet.SNTrayAppletFactory.service)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/sntray-mate.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/mate-panel/applets/ RENAME org.vala-panel.SNTray.mate-panel-applet)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/sntray-mate.serivce DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/dbus-1/services/ RENAME org.mate.panel.applet.SNTrayAppletFactory.service)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/sntray-mate.desktop DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/mate-panel/applets/ RENAME org.vala-panel.SNTray.mate-panel-applet)
endif()
if (ENABLE_VALAPANEL)
add_schema("org.valapanel.toplevel.sntray.gschema.xml")
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/sntray.plugin DESTINATION ${CMAKE_INSTALL_LIBDIR}/vala-panel/applets)
endif()
if (ENABLE_BUDGIE)
add_schema("org.valapanel.toplevel.sntray.gschema.xml")
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/sntray-budgie.plugin DESTINATION ${CMAKE_INSTALL_LIBDIR}/budgie-desktop/plugins)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/sntray-budgie.plugin DESTINATION ${CMAKE_INSTALL_LIBDIR}/budgie-desktop/plugins/budgie-sntray-plugin)
endif()

0 comments on commit b2d06b2

Please sign in to comment.