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