Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
Show All 13 Lines | 9 | set(xdg_desktop_portal_kde_SRCS | |||
---|---|---|---|---|---|
14 | appchooserdialog.cpp | 14 | appchooserdialog.cpp | ||
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 | screencast.cpp | | |||
23 | screencaststream.cpp | | |||
24 | screenchooserdialog.cpp | | |||
25 | session.cpp | 22 | session.cpp | ||
26 | ) | 23 | ) | ||
27 | 24 | | |||
25 | if (SCREENCAST_ENABLED) | ||||
26 | set (xdg_desktop_portal_kde_SRCS | ||||
27 | ${xdg_desktop_portal_kde_SRCS} | ||||
28 | screencast.cpp | ||||
29 | screencaststream.cpp | ||||
30 | screenchooserdialog.cpp) | ||||
31 | | ||||
32 | ki18n_wrap_ui(xdg_desktop_portal_kde_SRCS | ||||
Kanedias: Padding here | |||||
33 | screenchooserdialog.ui) | ||||
34 | endif() | ||||
35 | | ||||
28 | ki18n_wrap_ui(xdg_desktop_portal_kde_SRCS | 36 | ki18n_wrap_ui(xdg_desktop_portal_kde_SRCS | ||
29 | accessdialog.ui | 37 | accessdialog.ui | ||
30 | appchooserdialog.ui | 38 | appchooserdialog.ui | ||
31 | screenchooserdialog.ui | | |||
32 | ) | 39 | ) | ||
33 | 40 | | |||
34 | add_executable(xdg-desktop-portal-kde ${xdg_desktop_portal_kde_SRCS}) | 41 | add_executable(xdg-desktop-portal-kde ${xdg_desktop_portal_kde_SRCS}) | ||
35 | 42 | | |||
36 | target_link_libraries(xdg-desktop-portal-kde | 43 | target_link_libraries(xdg-desktop-portal-kde | ||
37 | Qt5::Core | 44 | Qt5::Core | ||
38 | Qt5::DBus | 45 | Qt5::DBus | ||
39 | Qt5::PrintSupport | 46 | Qt5::PrintSupport | ||
40 | Qt5::Widgets | 47 | Qt5::Widgets | ||
41 | KF5::CoreAddons | 48 | KF5::CoreAddons | ||
42 | KF5::I18n | 49 | KF5::I18n | ||
43 | KF5::Notifications | 50 | KF5::Notifications | ||
44 | KF5::WaylandClient | 51 | KF5::WaylandClient | ||
52 | ) | ||||
53 | | ||||
54 | if (SCREENCAST_ENABLED) | ||||
55 | target_link_libraries(xdg-desktop-portal-kde | ||||
45 | ${PIPEWIRE_LIBRARIES} | 56 | ${PIPEWIRE_LIBRARIES} | ||
46 | ${SPA_LIBRARIES} | 57 | ${SPA_LIBRARIES} | ||
47 | ${GLIB_LIBRARIES} | 58 | ${GLIB_LIBRARIES} | ||
48 | ${epoxy_LIBRARY} | 59 | ${epoxy_LIBRARY} | ||
49 | gbm::gbm | 60 | gbm::gbm) | ||
50 | ) | 61 | endif() | ||
51 | 62 | | |||
52 | install(TARGETS xdg-desktop-portal-kde DESTINATION ${KDE_INSTALL_LIBEXECDIR}) | 63 | install(TARGETS xdg-desktop-portal-kde DESTINATION ${KDE_INSTALL_LIBEXECDIR}) |
Padding here