@@ -2,6 +2,7 @@ include(FindPkgConfig)
2pkg_check_modules(LAUNCHER_API REQUIRED unity-shell-launcher=3)
2pkg_check_modules(LAUNCHER_API REQUIRED unity-shell-launcher=3)
3pkg_check_modules(APPLICATION_API REQUIRED unity-shell-application=1)
3pkg_check_modules(APPLICATION_API REQUIRED unity-shell-application=1)
4pkg_check_modules(GSETTINGS_QT REQUIRED gsettings-qt)
4pkg_check_modules(GSETTINGS_QT REQUIRED gsettings-qt)
5+pkg_check_modules(UPSTART_APP_LAUNCH REQUIRED upstart-app-launch-2)
6add_definitions(-DSM_BUSNAME=systemBus)
7add_definitions(-DSM_BUSNAME=systemBus)
@@ -9,6 +10,7 @@ include_directories(
9 ${CMAKE_CURRENT_SOURCE_DIR}
10 ${CMAKE_CURRENT_SOURCE_DIR}
10 ${CMAKE_SOURCE_DIR}/plugins/AccountsService
11 ${CMAKE_SOURCE_DIR}/plugins/AccountsService
11 ${GSETTINGS_QT_INCLUDE_DIRS}
12 ${GSETTINGS_QT_INCLUDE_DIRS}
13+ ${UPSTART_APP_LAUNCH_INCLUDE_DIRS}
14set(QMLLAUNCHERPLUGIN_SRC
16set(QMLLAUNCHERPLUGIN_SRC
@@ -28,8 +30,10 @@ add_library(UnityLauncher-qml MODULE
28 ${QMLLAUNCHERPLUGIN_SRC}
30 ${QMLLAUNCHERPLUGIN_SRC}
31−target_link_libraries(UnityLauncher-qml ${GSETTINGS_QT_LDFLAGS})
33+target_link_libraries(UnityLauncher-qml
32−
34+ ${GSETTINGS_QT_LDFLAGS}
35+ ${UPSTART_APP_LAUNCH_LDFLAGS}
33qt5_use_modules(UnityLauncher-qml DBus Qml)
37qt5_use_modules(UnityLauncher-qml DBus Qml)
35add_unity8_plugin(Unity.Launcher 0.1 Unity/Launcher TARGETS UnityLauncher-qml)
39add_unity8_plugin(Unity.Launcher 0.1 Unity/Launcher TARGETS UnityLauncher-qml)