mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-16 05:30:58 +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:
+5
-3
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user