Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
Show All 14 Lines | 9 | set(xdg_desktop_portal_kde_SRCS | |||
---|---|---|---|---|---|
15 | desktopportal.cpp | 15 | desktopportal.cpp | ||
16 | email.cpp | 16 | email.cpp | ||
17 | filechooser.cpp | 17 | filechooser.cpp | ||
18 | inhibit.cpp | 18 | inhibit.cpp | ||
19 | notification.cpp | 19 | notification.cpp | ||
20 | print.cpp | 20 | print.cpp | ||
21 | request.cpp | 21 | request.cpp | ||
22 | session.cpp | 22 | session.cpp | ||
23 | screenshot.cpp | ||||
24 | screenshotdialog.cpp | ||||
23 | ) | 25 | ) | ||
24 | 26 | | |||
25 | if (SCREENCAST_ENABLED) | 27 | if (SCREENCAST_ENABLED) | ||
26 | set (xdg_desktop_portal_kde_SRCS | 28 | set (xdg_desktop_portal_kde_SRCS | ||
27 | ${xdg_desktop_portal_kde_SRCS} | 29 | ${xdg_desktop_portal_kde_SRCS} | ||
28 | screencast.cpp | 30 | screencast.cpp | ||
29 | screencaststream.cpp | 31 | screencaststream.cpp | ||
30 | screenchooserdialog.cpp) | 32 | screenchooserdialog.cpp) | ||
31 | 33 | | |||
32 | ki18n_wrap_ui(xdg_desktop_portal_kde_SRCS | 34 | ki18n_wrap_ui(xdg_desktop_portal_kde_SRCS | ||
33 | screenchooserdialog.ui) | 35 | screenchooserdialog.ui) | ||
34 | endif() | 36 | endif() | ||
35 | 37 | | |||
36 | ki18n_wrap_ui(xdg_desktop_portal_kde_SRCS | 38 | ki18n_wrap_ui(xdg_desktop_portal_kde_SRCS | ||
37 | accessdialog.ui | 39 | accessdialog.ui | ||
38 | appchooserdialog.ui | 40 | appchooserdialog.ui | ||
41 | screenshotdialog.ui | ||||
39 | ) | 42 | ) | ||
40 | 43 | | |||
41 | add_executable(xdg-desktop-portal-kde ${xdg_desktop_portal_kde_SRCS}) | 44 | add_executable(xdg-desktop-portal-kde ${xdg_desktop_portal_kde_SRCS}) | ||
42 | 45 | | |||
43 | target_link_libraries(xdg-desktop-portal-kde | 46 | target_link_libraries(xdg-desktop-portal-kde | ||
44 | Qt5::Core | 47 | Qt5::Core | ||
45 | Qt5::DBus | 48 | Qt5::DBus | ||
46 | Qt5::PrintSupport | 49 | Qt5::PrintSupport | ||
47 | Qt5::Widgets | 50 | Qt5::Widgets | ||
48 | KF5::CoreAddons | 51 | KF5::CoreAddons | ||
49 | KF5::I18n | 52 | KF5::I18n | ||
50 | KF5::Notifications | 53 | KF5::Notifications | ||
51 | KF5::WaylandClient | 54 | KF5::WaylandClient | ||
55 | KF5::WidgetsAddons | ||||
52 | ) | 56 | ) | ||
53 | 57 | | |||
54 | if (SCREENCAST_ENABLED) | 58 | if (SCREENCAST_ENABLED) | ||
55 | target_link_libraries(xdg-desktop-portal-kde | 59 | target_link_libraries(xdg-desktop-portal-kde | ||
56 | ${PIPEWIRE_LIBRARIES} | 60 | ${PIPEWIRE_LIBRARIES} | ||
57 | ${SPA_LIBRARIES} | 61 | ${SPA_LIBRARIES} | ||
58 | ${GLIB_LIBRARIES} | 62 | ${GLIB_LIBRARIES} | ||
59 | ${epoxy_LIBRARY} | 63 | ${epoxy_LIBRARY} | ||
60 | gbm::gbm) | 64 | gbm::gbm) | ||
61 | endif() | 65 | endif() | ||
62 | 66 | | |||
63 | install(TARGETS xdg-desktop-portal-kde DESTINATION ${KDE_INSTALL_LIBEXECDIR}) | 67 | install(TARGETS xdg-desktop-portal-kde DESTINATION ${KDE_INSTALL_LIBEXECDIR}) |