From 298326a1be40a2e2fea4bce2f0d3bd0070f7c579 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Fri, 13 Jun 2025 19:14:33 +0200 Subject: [PATCH] aquamarine: update --- ...akeLists.txt-fix-linking-with-opengl.patch | 37 +++++++++++++++++++ .../hyprland/aquamarine/aquamarine_git.bb | 5 ++- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 recipes-support/hyprland/aquamarine/aquamarine/0001-CMakeLists.txt-fix-linking-with-opengl.patch diff --git a/recipes-support/hyprland/aquamarine/aquamarine/0001-CMakeLists.txt-fix-linking-with-opengl.patch b/recipes-support/hyprland/aquamarine/aquamarine/0001-CMakeLists.txt-fix-linking-with-opengl.patch new file mode 100644 index 0000000..666e17e --- /dev/null +++ b/recipes-support/hyprland/aquamarine/aquamarine/0001-CMakeLists.txt-fix-linking-with-opengl.patch @@ -0,0 +1,37 @@ +From 014ae5e2f9775213e231d4a02530e2d38a2ef5fc Mon Sep 17 00:00:00 2001 +From: Markus Volk +Date: Fri, 13 Jun 2025 19:22:18 +0200 +Subject: [PATCH] CMakeLists.txt: fix linking with opengl + +Signed-off-by: Markus Volk + +Upstream-Status: Pending +--- + CMakeLists.txt | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index be79bb4..416c792 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -19,7 +19,7 @@ set(INCLUDE ${CMAKE_INSTALL_FULL_INCLUDEDIR}) + set(LIBDIR ${CMAKE_INSTALL_FULL_LIBDIR}) + + find_package(PkgConfig REQUIRED) +-find_package(OpenGL REQUIRED COMPONENTS "GLES3") ++find_package(OpenGL REQUIRED COMPONENTS EGL GLES3) + find_package(hyprwayland-scanner 0.4.0 REQUIRED) + pkg_check_modules( + deps +@@ -66,7 +66,7 @@ target_include_directories( + PRIVATE "./src" "./src/include" "./protocols" "${CMAKE_BINARY_DIR}") + set_target_properties(aquamarine PROPERTIES VERSION ${AQUAMARINE_VERSION} + SOVERSION 7) +-target_link_libraries(aquamarine OpenGL::EGL OpenGL::OpenGL PkgConfig::deps) ++target_link_libraries(aquamarine OpenGL::EGL OpenGL::GLES3 PkgConfig::deps) + + check_include_file("sys/timerfd.h" HAS_TIMERFD) + pkg_check_modules(epoll IMPORTED_TARGET epoll-shim) +-- +2.49.0 + diff --git a/recipes-support/hyprland/aquamarine/aquamarine_git.bb b/recipes-support/hyprland/aquamarine/aquamarine_git.bb index 4b2e243..2320be9 100644 --- a/recipes-support/hyprland/aquamarine/aquamarine_git.bb +++ b/recipes-support/hyprland/aquamarine/aquamarine_git.bb @@ -13,16 +13,19 @@ DEPENDS = " \ libinput \ seatd \ pixman \ + virtual/egl \ virtual/libgbm \ + virtual/libgles3 \ wayland \ wayland-native \ wayland-protocols \ " SRC_URI = "git://github.com/hyprwm/aquamarine.git;protocol=https;branch=main" +SRC_URI += "file://0001-CMakeLists.txt-fix-linking-with-opengl.patch" S = "${WORKDIR}/git" -SRCREV = "1c8fa0bf04d706698311cf595e80bbd6d3697956" +SRCREV = "94981cf75a9f11da0b6dd6a1abbd7c50a36ab2d3" PV = "0.8.0" inherit cmake pkgconfig