mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-10-26 11:19:26 +00:00
Add CONFIG+=disable-masterhooks QMake option
This allows disabling the DRM master hooks for environments where getting DRM master is impossible (such as sandboxes like Flatpak), but leave the DRM renderer itself enabled for usecases like V4L2 which require the DRM renderer to export DMA-BUFs to EGL.
This commit is contained in:
parent
1144dbccb3
commit
579ad25a01
@ -325,9 +325,11 @@ libdrm {
|
||||
HEADERS += streaming/video/ffmpeg-renderers/drm.h
|
||||
|
||||
linux {
|
||||
message(Master hooks enabled)
|
||||
SOURCES += masterhook.c masterhook_internal.c
|
||||
LIBS += -ldl -pthread
|
||||
!disable-masterhooks {
|
||||
message(Master hooks enabled)
|
||||
SOURCES += masterhook.c masterhook_internal.c
|
||||
LIBS += -ldl -pthread
|
||||
}
|
||||
}
|
||||
}
|
||||
cuda {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user