1 OBS-URL: https://build.opensuse.org/request/show/287410 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lxqt-panel?expand=0&rev=4
27 lines
970 B
Diff
27 lines
970 B
Diff
Index: lxqt-panel-0.9.0/CMakeLists.txt
|
|
===================================================================
|
|
--- lxqt-panel-0.9.0.orig/CMakeLists.txt
|
|
+++ lxqt-panel-0.9.0/CMakeLists.txt
|
|
@@ -163,6 +163,9 @@ endif()
|
|
|
|
setByDefault(SHOWDESKTOP_PLUGIN Yes)
|
|
if(SHOWDESKTOP_PLUGIN)
|
|
+ find_package(ECM 1.0.0 REQUIRED NO_MODULE)
|
|
+ set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${CMAKE_MODULE_PATH})
|
|
+ find_package(XCB REQUIRED COMPONENTS XCB)
|
|
set(ENABLED_PLUGINS ${ENABLED_PLUGINS} "Show Desktop")
|
|
add_subdirectory(plugin-showdesktop)
|
|
endif()
|
|
Index: lxqt-panel-0.9.0/plugin-showdesktop/CMakeLists.txt
|
|
===================================================================
|
|
--- lxqt-panel-0.9.0.orig/plugin-showdesktop/CMakeLists.txt
|
|
+++ lxqt-panel-0.9.0/plugin-showdesktop/CMakeLists.txt
|
|
@@ -16,6 +16,7 @@ set(LIBRARIES
|
|
${LIBRARIES}
|
|
${LXQT_GLOBALKEYS_LIBRARIES}
|
|
${QTXDG_LIBRARIES}
|
|
+ XCB::XCB
|
|
)
|
|
|
|
BUILD_LXQT_PLUGIN(${PLUGIN})
|