Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
chore: some X11 files were being included in wayland-only builds
  • Loading branch information
Almamu committed Oct 12, 2024
1 parent c400f49 commit 1c12951
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion src/WallpaperEngine/Application/CWallpaperApplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1c12951

Please sign in to comment.