mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-07-13 21:02:34 +08:00
chore: update readme
chore: some X11 files were being included in wayland-only builds
This commit is contained in:
parent
c400f49275
commit
1c12951a6a
@ -94,7 +94,6 @@ add_subdirectory(${CEF_LIBCEF_DLL_WRAPPER_PATH} libcef_dll_wrapper)
|
||||
|
||||
include_directories(
|
||||
${MPV_INCLUDE_DIR}
|
||||
${XRANDR_INCLUDE_DIR}
|
||||
${GLEW_INCLUDE_DIR}
|
||||
${LZ4_INCLUDE_DIR}
|
||||
${SDL2_INCLUDE_DIRS}
|
||||
@ -171,7 +170,7 @@ if(X11_FOUND)
|
||||
endif()
|
||||
|
||||
if(X11_SUPPORT_FOUND)
|
||||
include_directories(${X11_INCLUDE_DIR})
|
||||
include_directories(${X11_INCLUDE_DIR} ${XRANDR_INCLUDE_DIR})
|
||||
add_compile_definitions(ENABLE_X11)
|
||||
|
||||
set(X11_SOURCES
|
||||
|
@ -20,13 +20,13 @@ Wallpaper Engine is a software designed by [Kristjan Skutta](https://store.steam
|
||||
|
||||
# 4. Compilation requirements
|
||||
## linux-wallpaperengine
|
||||
- OpenGL 2.1 support
|
||||
- OpenGL 3.3 support
|
||||
- CMake
|
||||
- LZ4
|
||||
- ZLIB
|
||||
- SDL
|
||||
- SDL2
|
||||
- FFmpeg
|
||||
- X11 (with libxxf86vm)
|
||||
- X11 (with libxxf86vm) or Wayland
|
||||
- Xrandr
|
||||
- GLFW3
|
||||
- GLM
|
||||
|
@ -6,14 +6,18 @@
|
||||
#include "WallpaperEngine/Assets/CDirectory.h"
|
||||
#include "WallpaperEngine/Assets/CVirtualContainer.h"
|
||||
#include "WallpaperEngine/Audio/Drivers/Detectors/CPulseAudioPlayingDetector.h"
|
||||
#include "WallpaperEngine/Core/Wallpapers/CVideo.h"
|
||||
#include "WallpaperEngine/Input/Drivers/CGLFWMouseInput.h"
|
||||
#include "WallpaperEngine/Logging/CLog.h"
|
||||
#include "WallpaperEngine/Render/CRenderContext.h"
|
||||
|
||||
#ifdef ENABLE_WAYLAND
|
||||
#include "WallpaperEngine/Input/Drivers/CWaylandMouseInput.h"
|
||||
#include "WallpaperEngine/Render/Drivers/CWaylandOpenGLDriver.h"
|
||||
#endif /* ENABLE_WAYLAND */
|
||||
|
||||
#ifdef ENABLE_X11
|
||||
#include "WallpaperEngine/Render/Drivers/Detectors/CX11FullScreenDetector.h"
|
||||
#endif /* ENABLE_X11 */
|
||||
|
||||
#include <unistd.h>
|
||||
#define STB_IMAGE_WRITE_IMPLEMENTATION
|
||||
|
Loading…
Reference in New Issue
Block a user