summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kirsch <jakob.kirsch@web.de>2025-01-01 14:24:55 -0500
committerJohn Kehayias <john.kehayias@protonmail.com>2025-01-01 15:15:14 -0500
commitc3ab9a16b746c9f8e10ec3721b3555f10efd1ab0 (patch)
treed9ef83c0203de7a8682c6f072342267312774672
parentd43f2386383b1428c3b79e8a1443986a75341ad5 (diff)
gnu: Add hyprgraphics.
* gnu/packages/cpp.scm (hyprgraphics): New variable. Signed-off-by: John Kehayias <john.kehayias@protonmail.com> Change-Id: I592fdb92f136f2d05c09897fea7c554c30131bec
-rw-r--r--gnu/packages/cpp.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index f56314757d..c8cc2910a9 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -41,6 +41,7 @@
;;; Copyright © 2023-2024 Paul A. Patience <paul@apatience.com>
;;; Copyright © 2024 dan <i@dan.games>
;;; Copyright © 2024 Peepo Froggings <peepofroggings@tutanota.de>
+;;; Copyright © 2024 Jakob Kirsch <jakob.kirsch@web.de>
;;; This file is part of GNU Guix.
;;;
@@ -95,6 +96,7 @@
#:use-module (gnu packages gl)
#:use-module (gnu packages glib)
#:use-module (gnu packages gtk)
+ #:use-module (gnu packages image)
#:use-module (gnu packages libevent)
#:use-module (gnu packages libffi)
#:use-module (gnu packages libunwind)
@@ -665,6 +667,37 @@ operating on batches.")
library for SIMD (Single Instruction, Multiple Data) with runtime dispatch.")
(license license:asl2.0)))
+(define-public hyprgraphics
+ (package
+ (name "hyprgraphics")
+ (version "0.1.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hyprwm/hyprgraphics")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (modules '((guix build utils)))
+ (snippet #~(substitute* "CMakeLists.txt" (("libjxl_cms") "")))
+ (sha256
+ (base32
+ "19vk1c1hli5921ai3ik6pbyixih7fhn1010injxi8dpjak6cjlhl"))))
+ (build-system cmake-build-system)
+ (native-inputs (list gcc-14 pkg-config))
+ (arguments (list #:cmake cmake-3.30))
+ (inputs (list cairo
+ hyprutils
+ libjpeg-turbo
+ libjxl
+ libwebp
+ pixman))
+ (home-page "https://wiki.hyprland.org/Hypr-Ecosystem/hyprgraphics/")
+ (synopsis "Hyprland graphics/resource utilities")
+ (description
+ "Hyprgraphics is a small C++ library with graphics/resource related
+utilities used across the hypr* ecosystem.")
+ (license license:bsd-3)))
+
(define-public hyprlang
(package
(name "hyprlang")