aquamarine: fix build without x11

This commit is contained in:
Markus Volk
2026-02-02 14:45:51 +01:00
parent a4d223c29d
commit b9982e07c1
2 changed files with 16 additions and 16 deletions

View File

@@ -19,7 +19,7 @@ index 475c744..e5426dd 100644
set_target_properties(aquamarine PROPERTIES VERSION ${AQUAMARINE_VERSION} set_target_properties(aquamarine PROPERTIES VERSION ${AQUAMARINE_VERSION}
SOVERSION 9) SOVERSION 9)
-target_link_libraries(aquamarine OpenGL::EGL OpenGL::OpenGL PkgConfig::deps) -target_link_libraries(aquamarine OpenGL::EGL OpenGL::OpenGL PkgConfig::deps)
+target_link_libraries(aquamarine EGL GL PkgConfig::deps) +target_link_libraries(aquamarine EGL GLESv2 PkgConfig::deps)
check_include_file("sys/timerfd.h" HAS_TIMERFD) check_include_file("sys/timerfd.h" HAS_TIMERFD)
pkg_check_modules(epoll IMPORTED_TARGET epoll-shim) pkg_check_modules(epoll IMPORTED_TARGET epoll-shim)

View File

@@ -5,25 +5,25 @@ LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=778ddc598b3f2a2da3657dda514da983" LIC_FILES_CHKSUM = "file://LICENSE;md5=778ddc598b3f2a2da3657dda514da983"
DEPENDS = " \ DEPENDS = " \
hwdata \ hwdata \
hyprutils \ hyprutils \
hyprwayland-scanner-native \ hyprwayland-scanner-native \
libdrm \ libdrm \
libdisplay-info \ libdisplay-info \
libinput \ libinput \
seatd \ seatd \
pixman \ pixman \
virtual/egl \ virtual/egl \
virtual/libgbm \ virtual/libgbm \
virtual/libgles3 \ virtual/libgles3 \
wayland \ wayland \
wayland-native \ wayland-native \
wayland-protocols \ wayland-protocols \
" "
SRC_URI = "git://github.com/hyprwm/aquamarine.git;protocol=https;branch=main" SRC_URI = "git://github.com/hyprwm/aquamarine.git;protocol=https;branch=main"
SRC_URI += "file://0001-CMakeLists.txt-fix-linking-with-opengl.patch" SRC_URI += "file://0001-CMakeLists.txt-fix-linking-with-opengl.patch"
SRCREV = "b8a0c5ba5a9fbd2c660be7dd98bdde0ff3798556" SRCREV = "2455556b426fd82e119e4c98c57fcd7a54625478"
inherit cmake pkgconfig inherit cmake pkgconfig