forked from quickshell/quickshell
wayland/screencopy: add screencopy
This commit is contained in:
parent
918dd2392d
commit
cd429142a4
37 changed files with 3149 additions and 3 deletions
18
src/wayland/buffer/CMakeLists.txt
Normal file
18
src/wayland/buffer/CMakeLists.txt
Normal file
|
@ -0,0 +1,18 @@
|
|||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(dmabuf-deps REQUIRED IMPORTED_TARGET libdrm gbm egl)
|
||||
|
||||
qt_add_library(quickshell-wayland-buffer STATIC
|
||||
manager.cpp
|
||||
dmabuf.cpp
|
||||
shm.cpp
|
||||
)
|
||||
|
||||
wl_proto(wlp-linux-dmabuf linux-dmabuf-v1 "${WAYLAND_PROTOCOLS}/stable/linux-dmabuf")
|
||||
|
||||
target_link_libraries(quickshell-wayland-buffer PRIVATE
|
||||
Qt::Quick Qt::WaylandClient Qt::WaylandClientPrivate wayland-client
|
||||
PkgConfig::dmabuf-deps
|
||||
wlp-linux-dmabuf
|
||||
)
|
||||
|
||||
qs_pch(quickshell-wayland-buffer SET large)
|
Loading…
Add table
Add a link
Reference in a new issue