hyprtoolkit: add recipe

This commit is contained in:
Markus Volk
2025-09-29 18:25:47 +02:00
parent 0e17b215df
commit ed8d133d8a
2 changed files with 57 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
From 628c615bd108ceb04d7bda8db7c57fbcd47a0e52 Mon Sep 17 00:00:00 2001
From: Markus Volk <f_l_k@t-online.de>
Date: Mon, 29 Sep 2025 18:04:31 +0200
Subject: [PATCH] CMakeLists.txt: fix linking with opengl
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Upstream-Status: Pending
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 669dfcf..3cf9e7c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -72,7 +72,7 @@ target_include_directories(
PRIVATE "./src" "./src/include" "./protocols" "${CMAKE_BINARY_DIR}")
set_target_properties(hyprtoolkit PROPERTIES VERSION ${HYPRTOOLKIT_VERSION}
SOVERSION 1)
-target_link_libraries(hyprtoolkit OpenGL::EGL OpenGL::OpenGL PkgConfig::deps)
+target_link_libraries(hyprtoolkit EGL GL PkgConfig::deps)
check_include_file("sys/timerfd.h" HAS_TIMERFD)
pkg_check_modules(epoll IMPORTED_TARGET epoll-shim)
--
2.51.0

View File

@@ -0,0 +1,29 @@
SUMMARY = "A modern C++ Wayland-native GUI toolkit"
HOMEPAGE = "https:/github.com/hyprwm/hyprtoolkit"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=a0bf31bc487405beb07b19459ea85114"
DEPENDS = " \
aquamarine \
hyprgraphics \
hyprlang \
hyprutils \
hyprwayland-scanner-native \
libdrm \
libxkbcommon \
pango \
pixman \
virtual/egl \
virtual/libgbm \
virtual/libgles3 \
wayland \
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 = "fb6892c513470ee8b5e61e0b2c21f5876d013ddb"
inherit cmake pkgconfig