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
19
src/wayland/screencopy/image_copy_capture/CMakeLists.txt
Normal file
19
src/wayland/screencopy/image_copy_capture/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
qt_add_library(quickshell-wayland-screencopy-icc STATIC
|
||||
image_copy_capture.cpp
|
||||
)
|
||||
|
||||
wl_proto(wlp-ext-foreign-toplevel ext-foreign-toplevel-list-v1 "${WAYLAND_PROTOCOLS}/staging/ext-foreign-toplevel-list")
|
||||
wl_proto(wlp-image-copy-capture ext-image-copy-capture-v1 "${WAYLAND_PROTOCOLS}/staging/ext-image-copy-capture")
|
||||
wl_proto(wlp-image-capture-source ext-image-capture-source-v1 "${WAYLAND_PROTOCOLS}/staging/ext-image-capture-source")
|
||||
|
||||
target_link_libraries(quickshell-wayland-screencopy-icc PRIVATE
|
||||
Qt::WaylandClient Qt::WaylandClientPrivate wayland-client
|
||||
Qt::Quick # for pch
|
||||
)
|
||||
|
||||
target_link_libraries(quickshell-wayland-screencopy-icc PUBLIC
|
||||
wlp-image-copy-capture wlp-image-capture-source
|
||||
wlp-ext-foreign-toplevel # required for capture source to build
|
||||
)
|
||||
|
||||
qs_pch(quickshell-wayland-screencopy-icc SET large)
|
||||
Loading…
Add table
Add a link
Reference in a new issue