hyprtoolkit: update

This commit is contained in:
Markus Volk
2025-11-03 04:08:07 +01:00
parent 09781dfd07
commit 8a55a0cb2c
2 changed files with 16 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ Upstream-Status: Pending
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 92fafef..f78da37 100644
index b47f0b0..55e9176 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -77,7 +77,7 @@ target_include_directories(
@@ -23,6 +23,15 @@ index 92fafef..f78da37 100644
check_include_file("sys/timerfd.h" HAS_TIMERFD)
pkg_check_modules(epoll IMPORTED_TARGET epoll-shim)
@@ -111,7 +111,7 @@ if (NOT DISABLE_TESTS)
target_compile_options(hyprtoolkit_inline_tests PRIVATE --coverage)
target_link_options(hyprtoolkit_inline_tests PRIVATE --coverage)
target_include_directories(hyprtoolkit_inline_tests PUBLIC "./include" PRIVATE "./src" "./src/include" "./protocols" "${CMAKE_BINARY_DIR}")
- target_link_libraries(hyprtoolkit_inline_tests PRIVATE GTest::gtest_main OpenGL::EGL OpenGL::OpenGL PkgConfig::deps)
+ target_link_libraries(hyprtoolkit_inline_tests PRIVATE GTest::gtest_main EGL GL PkgConfig::deps)
gtest_discover_tests(hyprtoolkit_inline_tests)
endif()
--
2.51.0

View File

@@ -20,12 +20,17 @@ DEPENDS = " \
virtual/libgbm \
virtual/libgles3 \
wayland \
wayland-native \
wayland-protocols \
"
SRC_URI = "git://github.com/hyprwm/hyprtoolkit.git;protocol=https;branch=main"
SRC_URI += "file://0001-CMakeLists.txt-fix-linking-with-opengl.patch"
SRCREV = "0d1c886d5f7d0864b4c67c9dbfe460e821aecb3c"
SRCREV = "d670521e247241ac5a5240ef013c9e7f414e5af2"
inherit cmake pkgconfig
PACKAGECONFIG ?= ""
PACKAGECONFIG[tests] = ",-DDISABLE_TESTS=ON,gtest"