Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
Show All 18 Lines | 5 | set(xdg_desktop_portal_kde_SRCS | |||
---|---|---|---|---|---|
19 | request.cpp | 19 | request.cpp | ||
20 | session.cpp | 20 | session.cpp | ||
21 | screenshot.cpp | 21 | screenshot.cpp | ||
22 | screenshotdialog.cpp | 22 | screenshotdialog.cpp | ||
23 | settings.cpp | 23 | settings.cpp | ||
24 | utils.cpp | 24 | utils.cpp | ||
25 | userinfodialog.cpp | 25 | userinfodialog.cpp | ||
26 | waylandintegration.cpp | 26 | waylandintegration.cpp | ||
27 | ) | | |||
28 | | ||||
29 | if(HAVE_PIPEWIRE_SUPPORT) | | |||
30 | set (xdg_desktop_portal_kde_SRCS | | |||
31 | ${xdg_desktop_portal_kde_SRCS} | | |||
32 | screencast.cpp | 27 | screencast.cpp | ||
33 | screencaststream.cpp | | |||
34 | screencastwidget.cpp | 28 | screencastwidget.cpp | ||
35 | screenchooserdialog.cpp | 29 | screenchooserdialog.cpp | ||
36 | remotedesktop.cpp | 30 | remotedesktop.cpp | ||
37 | remotedesktopdialog.cpp) | 31 | remotedesktopdialog.cpp | ||
38 | 32 | ) | |||
39 | ki18n_wrap_ui(xdg_desktop_portal_kde_SRCS | | |||
40 | screenchooserdialog.ui | | |||
41 | remotedesktopdialog.ui) | | |||
42 | endif() | | |||
43 | 33 | | |||
44 | ki18n_wrap_ui(xdg_desktop_portal_kde_SRCS | 34 | ki18n_wrap_ui(xdg_desktop_portal_kde_SRCS | ||
45 | accessdialog.ui | 35 | accessdialog.ui | ||
46 | appchooserdialog.ui | 36 | appchooserdialog.ui | ||
47 | screenshotdialog.ui | 37 | screenshotdialog.ui | ||
48 | userinfodialog.ui | 38 | userinfodialog.ui | ||
39 | screenchooserdialog.ui | ||||
40 | remotedesktopdialog.ui | ||||
49 | ) | 41 | ) | ||
50 | 42 | | |||
51 | set_source_files_properties(../data/org.freedesktop.Accounts.User.xml PROPERTIES NO_NAMESPACE TRUE) | 43 | set_source_files_properties(../data/org.freedesktop.Accounts.User.xml PROPERTIES NO_NAMESPACE TRUE) | ||
52 | 44 | | |||
53 | qt5_add_dbus_interface(xdg_desktop_portal_kde_SRCS ../data/org.freedesktop.Accounts.User.xml user_interface) | 45 | qt5_add_dbus_interface(xdg_desktop_portal_kde_SRCS ../data/org.freedesktop.Accounts.User.xml user_interface) | ||
54 | 46 | | |||
55 | add_executable(xdg-desktop-portal-kde ${xdg_desktop_portal_kde_SRCS}) | 47 | add_executable(xdg-desktop-portal-kde ${xdg_desktop_portal_kde_SRCS}) | ||
56 | 48 | | |||
Show All 10 Lines | 49 | target_link_libraries(xdg-desktop-portal-kde | |||
67 | KF5::I18n | 59 | KF5::I18n | ||
68 | KF5::KIOFileWidgets | 60 | KF5::KIOFileWidgets | ||
69 | KF5::Notifications | 61 | KF5::Notifications | ||
70 | KF5::WaylandClient | 62 | KF5::WaylandClient | ||
71 | KF5::WidgetsAddons | 63 | KF5::WidgetsAddons | ||
72 | KF5::WindowSystem | 64 | KF5::WindowSystem | ||
73 | ) | 65 | ) | ||
74 | 66 | | |||
75 | if (HAVE_PIPEWIRE_SUPPORT) | | |||
76 | target_link_libraries(xdg-desktop-portal-kde | | |||
77 | PipeWire::PipeWire | | |||
78 | ${Epoxy_LIBRARIES} | | |||
79 | GBM::GBM) | | |||
80 | endif() | | |||
81 | | ||||
82 | install(TARGETS xdg-desktop-portal-kde DESTINATION ${KDE_INSTALL_LIBEXECDIR}) | 67 | install(TARGETS xdg-desktop-portal-kde DESTINATION ${KDE_INSTALL_LIBEXECDIR}) | ||
83 | 68 | | |||
84 | install(FILES | 69 | install(FILES | ||
85 | qml/AppChooserDialog.qml | 70 | qml/AppChooserDialog.qml | ||
86 | qml/UserInfoDialog.qml | 71 | qml/UserInfoDialog.qml | ||
87 | DESTINATION ${KDE_INSTALL_DATADIR}/xdg-desktop-portal-kde/qml) | 72 | DESTINATION ${KDE_INSTALL_DATADIR}/xdg-desktop-portal-kde/qml) | ||
88 | 73 | | |||
89 | install(FILES | 74 | install(FILES | ||
90 | xdg-desktop-portal-kde.notifyrc | 75 | xdg-desktop-portal-kde.notifyrc | ||
91 | DESTINATION ${KNOTIFYRC_INSTALL_DIR}) | 76 | DESTINATION ${KNOTIFYRC_INSTALL_DIR}) | ||
92 | No newline at end of file | |