Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
1 | add_definitions(-DTRANSLATION_DOMAIN="xdg-desktop-portal-kde") | 1 | add_definitions(-DTRANSLATION_DOMAIN="xdg-desktop-portal-kde") | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | include_directories( | 3 | include_directories( | ||
4 | ${Qt5PrintSupport_PRIVATE_INCLUDE_DIRS} | 4 | ${Qt5PrintSupport_PRIVATE_INCLUDE_DIRS} | ||
5 | ${PIPEWIRE_INCLUDE_DIRS} ${SPA_INCLUDE_DIRS} ${GLIB_INCLUDE_DIRS} | ||||
6 | ${gbm_INCLUDE_DIRS} | ||||
5 | ) | 7 | ) | ||
6 | 8 | | |||
7 | set(xdg_desktop_portal_kde_SRCS | 9 | set(xdg_desktop_portal_kde_SRCS | ||
8 | xdg-desktop-portal-kde.cpp | 10 | xdg-desktop-portal-kde.cpp | ||
9 | access.cpp | 11 | access.cpp | ||
10 | accessdialog.cpp | 12 | accessdialog.cpp | ||
11 | appchooser.cpp | 13 | appchooser.cpp | ||
12 | appchooserdialog.cpp | 14 | appchooserdialog.cpp | ||
13 | desktopportal.cpp | 15 | desktopportal.cpp | ||
14 | email.cpp | 16 | email.cpp | ||
15 | filechooser.cpp | 17 | filechooser.cpp | ||
16 | inhibit.cpp | 18 | inhibit.cpp | ||
17 | notification.cpp | 19 | notification.cpp | ||
18 | print.cpp | 20 | print.cpp | ||
19 | request.cpp | 21 | request.cpp | ||
22 | screencast.cpp | ||||
23 | screencaststream.cpp | ||||
24 | screenchooserdialog.cpp | ||||
25 | session.cpp | ||||
20 | ) | 26 | ) | ||
21 | 27 | | |||
22 | ki18n_wrap_ui(xdg_desktop_portal_kde_SRCS | 28 | ki18n_wrap_ui(xdg_desktop_portal_kde_SRCS | ||
23 | accessdialog.ui | 29 | accessdialog.ui | ||
24 | appchooserdialog.ui | 30 | appchooserdialog.ui | ||
31 | screenchooserdialog.ui | ||||
25 | ) | 32 | ) | ||
26 | 33 | | |||
27 | add_executable(xdg-desktop-portal-kde ${xdg_desktop_portal_kde_SRCS}) | 34 | add_executable(xdg-desktop-portal-kde ${xdg_desktop_portal_kde_SRCS}) | ||
28 | 35 | | |||
29 | target_link_libraries(xdg-desktop-portal-kde | 36 | target_link_libraries(xdg-desktop-portal-kde | ||
30 | Qt5::Core | 37 | Qt5::Core | ||
31 | Qt5::DBus | 38 | Qt5::DBus | ||
32 | Qt5::PrintSupport | 39 | Qt5::PrintSupport | ||
33 | Qt5::Widgets | 40 | Qt5::Widgets | ||
34 | KF5::CoreAddons | 41 | KF5::CoreAddons | ||
35 | KF5::I18n | 42 | KF5::I18n | ||
36 | KF5::Notifications | 43 | KF5::Notifications | ||
44 | KF5::WaylandClient | ||||
45 | ${PIPEWIRE_LIBRARIES} | ||||
46 | ${SPA_LIBRARIES} | ||||
47 | ${GLIB_LIBRARIES} | ||||
48 | ${epoxy_LIBRARY} | ||||
49 | gbm::gbm | ||||
37 | ) | 50 | ) | ||
38 | 51 | | |||
39 | install(TARGETS xdg-desktop-portal-kde DESTINATION ${KDE_INSTALL_LIBEXECDIR}) | 52 | install(TARGETS xdg-desktop-portal-kde DESTINATION ${KDE_INSTALL_LIBEXECDIR}) |