storj-uplink: 1.119.15 -> 1.120.4 (#375732)
[NixPkgs.git] / pkgs / by-name / li / lightdm-enso-os-greeter / fix-paths.patch
blobab3ad2b10e4117f0428e206591f333d659096afb
1 diff --git a/greeter/CMakeLists.txt b/greeter/CMakeLists.txt
2 index 57aebb0..ab50bff 100644
3 --- a/greeter/CMakeLists.txt
4 +++ b/greeter/CMakeLists.txt
5 @@ -9,7 +9,6 @@ list (APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
6 set (CONF_DIR "/etc/lightdm")
7 set (DATADIR "${CMAKE_INSTALL_PREFIX}/share")
8 set (PKGDATADIR "${DATADIR}/enso/greeter")
9 -set (CMAKE_INSTALL_PREFIX /usr)
10 set (VERSION "1.0.6")
13 @@ -94,9 +93,9 @@ glib_compile_resources (GLIB_RESOURCES_CSS SOURCE data/css.gresource.xml)
14 add_executable (pantheon-greeter ${VALA_C} ${GLIB_RESOURCES_CSS})
15 target_link_libraries(pantheon-greeter m)
17 -install (TARGETS pantheon-greeter RUNTIME DESTINATION sbin)
18 +install (TARGETS pantheon-greeter RUNTIME DESTINATION bin)
19 install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/pantheon-greeter.desktop DESTINATION share/xgreeters)
20 -install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/greeter.conf DESTINATION ${CONF_DIR})
21 +install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/greeter.conf DESTINATION etc/lightdm)
22 install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/fingerprint.svg DESTINATION ${PKGDATADIR})
23 install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/power.svg DESTINATION ${PKGDATADIR})
24 install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/checked.svg DESTINATION ${PKGDATADIR})