summaryrefslogtreecommitdiff
path: root/gui-libs/hyprcursor
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-11-23 18:49:03 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-11-23 18:49:03 +0000
commitb26ecb9f3ad29cef0fb2a543c117094beba1b057 (patch)
treea7d70221e1456e463c2977354179c76ed484e44a /gui-libs/hyprcursor
parent2192265bf68cb7383759a6296f267e6c6807749a (diff)
downloadbaldeagleos-repo-b26ecb9f3ad29cef0fb2a543c117094beba1b057.tar.gz
baldeagleos-repo-b26ecb9f3ad29cef0fb2a543c117094beba1b057.tar.xz
baldeagleos-repo-b26ecb9f3ad29cef0fb2a543c117094beba1b057.zip
Adding metadata
Diffstat (limited to 'gui-libs/hyprcursor')
-rw-r--r--gui-libs/hyprcursor/files/0.1.10-llvm-fix.patch27
-rw-r--r--gui-libs/hyprcursor/hyprcursor-0.1.10-r1.ebuild30
2 files changed, 57 insertions, 0 deletions
diff --git a/gui-libs/hyprcursor/files/0.1.10-llvm-fix.patch b/gui-libs/hyprcursor/files/0.1.10-llvm-fix.patch
new file mode 100644
index 000000000000..9c8661221b4a
--- /dev/null
+++ b/gui-libs/hyprcursor/files/0.1.10-llvm-fix.patch
@@ -0,0 +1,27 @@
+From f8e8455e998e0ff8b4708220006a479d1d7e4e8b Mon Sep 17 00:00:00 2001
+From: Jan Beich <jbeich@FreeBSD.org>
+Date: Tue, 1 Oct 2024 01:01:47 +0200
+Subject: [PATCH] lib: add missing header for libc++ after 5a95d8512b3e
+
+libhyprcursor/hyprcursor.cpp:23:27: error: implicit instantiation of undefined template 'std::basic_stringstream<char>'
+ 23 | std::stringstream envXdgStream(envXdgData);
+ | ^
+/usr/include/c++/v1/__fwd/sstream.h:29:28: note: template is declared here
+ 29 | class _LIBCPP_TEMPLATE_VIS basic_stringstream;
+ | ^
+---
+ libhyprcursor/hyprcursor.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/libhyprcursor/hyprcursor.cpp b/libhyprcursor/hyprcursor.cpp
+index 3a83a26..f7fb82c 100644
+--- a/libhyprcursor/hyprcursor.cpp
++++ b/libhyprcursor/hyprcursor.cpp
+@@ -2,6 +2,7 @@
+ #include "internalSharedTypes.hpp"
+ #include "internalDefines.hpp"
+ #include <array>
++#include <sstream>
+ #include <cstdio>
+ #include <filesystem>
+ #include <zip.h>
diff --git a/gui-libs/hyprcursor/hyprcursor-0.1.10-r1.ebuild b/gui-libs/hyprcursor/hyprcursor-0.1.10-r1.ebuild
new file mode 100644
index 000000000000..c61d5311a6d8
--- /dev/null
+++ b/gui-libs/hyprcursor/hyprcursor-0.1.10-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="The hyprland cursor format, library and utilities"
+HOMEPAGE="https://github.com/hyprwm/hyprcursor"
+SRC_URI="https://github.com/hyprwm/hyprcursor/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+# Disable tests since as per upstream, tests require a theme to be installed
+# See also https://github.com/hyprwm/hyprcursor/commit/94361fd8a75178b92c4bb24dcd8c7fac8423acf3
+RESTRICT="test"
+
+RDEPEND="
+ dev-cpp/tomlplusplus
+ >=dev-libs/hyprlang-0.4.2
+ dev-libs/libzip
+ gnome-base/librsvg:2
+ x11-libs/cairo
+"
+
+PATCHES=(
+ "${FILESDIR}"/0.1.10-llvm-fix.patch
+)