guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/04: gnu: Add hyprgraphics.


From: guix-commits
Subject: 01/04: gnu: Add hyprgraphics.
Date: Wed, 1 Jan 2025 15:15:57 -0500 (EST)

podiki pushed a commit to branch master
in repository guix.

commit c3ab9a16b746c9f8e10ec3721b3555f10efd1ab0
Author: Jakob Kirsch <jakob.kirsch@web.de>
AuthorDate: Wed Jan 1 14:24:55 2025 -0500

    gnu: Add hyprgraphics.
    
    * gnu/packages/cpp.scm (hyprgraphics): New variable.
    
    Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
    Change-Id: I592fdb92f136f2d05c09897fea7c554c30131bec
---
 gnu/packages/cpp.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]