mirror of
https://github.com/KDE/latte-dock.git
synced 2024-12-23 01:33:50 +03:00
1f0acbc3b5
--by default now Latte supports the KWin Edges mechanism, this way the following issues are fixed: fix #935, fix #721, fix #687, fix #512, fix #514 --improve dock behavior when the user user touch gestures --fix #144, support KWin bright placeholders --this behavior can be disabled if the user prefers the old one from the Tweaks page --in !compositing no more is shown a 1px line at the screen edge when the dock is hidden --support KWin Edges in Multiple Layouts state under X11
82 lines
2.3 KiB
CMake
82 lines
2.3 KiB
CMake
set(lattedock-app_SRCS
|
|
../liblattedock/dock.cpp
|
|
windowinfowrap.cpp
|
|
abstractwindowinterface.cpp
|
|
xwindowinterface.cpp
|
|
waylandinterface.cpp
|
|
windowinfowrap.cpp
|
|
screenpool.cpp
|
|
packageplugins/shell/dockpackage.cpp
|
|
alternativeshelper.cpp
|
|
dockcorona.cpp
|
|
globalshortcuts.cpp
|
|
sortedactivitiesmodel.cpp
|
|
universalsettings.cpp
|
|
layoutmanager.cpp
|
|
layout.cpp
|
|
settingsdialog.cpp
|
|
importer.cpp
|
|
infoview.cpp
|
|
launcherssignals.cpp
|
|
layoutsDelegates/checkboxdelegate.cpp
|
|
layoutsDelegates/colorcmbboxdelegate.cpp
|
|
layoutsDelegates/colorcmbboxitemdelegate.cpp
|
|
layoutsDelegates/activitycmbboxdelegate.cpp
|
|
dock/dockmenumanager.cpp
|
|
dock/dockview.cpp
|
|
dock/dockconfigview.cpp
|
|
dock/docksecconfigview.cpp
|
|
dock/panelshadows.cpp
|
|
dock/visibilitymanager.cpp
|
|
dock/screenedgeghostwindow.cpp
|
|
main.cpp
|
|
)
|
|
|
|
set(latte_dbusXML dbus/org.kde.LatteDock.xml)
|
|
qt5_add_dbus_adaptor(lattedock-app_SRCS ${latte_dbusXML} dockcorona.h Latte::DockCorona lattedockadaptor)
|
|
ki18n_wrap_ui(lattedock-app_SRCS settingsdialog.ui)
|
|
|
|
add_executable(latte-dock ${lattedock-app_SRCS})
|
|
|
|
include(FakeTarget.cmake)
|
|
|
|
target_link_libraries(latte-dock
|
|
Qt5::DBus
|
|
Qt5::Quick
|
|
Qt5::Qml
|
|
KF5::I18n
|
|
KF5::DBusAddons
|
|
KF5::Declarative
|
|
KF5::CoreAddons
|
|
KF5::GlobalAccel
|
|
KF5::Archive
|
|
KF5::Crash
|
|
KF5::XmlGui
|
|
KF5::Plasma
|
|
KF5::PlasmaQuick
|
|
KF5::Activities
|
|
KF5::Notifications
|
|
KF5::NewStuff
|
|
KF5::QuickAddons
|
|
KF5::WaylandClient
|
|
)
|
|
|
|
if(HAVE_X11)
|
|
target_link_libraries(latte-dock
|
|
Qt5::X11Extras
|
|
KF5::WindowSystem
|
|
${X11_LIBRARIES}
|
|
${XCB_LIBRARIES}
|
|
)
|
|
endif()
|
|
|
|
configure_file(org.kde.latte-dock.desktop.cmake org.kde.latte-dock.desktop)
|
|
configure_file(org.kde.latte-dock.appdata.xml.cmake org.kde.latte-dock.appdata.xml)
|
|
|
|
install(TARGETS latte-dock ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
|
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.latte-dock.desktop DESTINATION ${KDE_INSTALL_APPDIR})
|
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.latte-dock.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
|
|
install(FILES dbus/org.kde.LatteDock.xml DESTINATION ${KDE_INSTALL_DBUSINTERFACEDIR})
|
|
install(FILES lattedock.notifyrc DESTINATION ${KNOTIFYRC_INSTALL_DIR})
|
|
install(FILES latte-layouts.knsrc DESTINATION ${CONFIG_INSTALL_DIR})
|