aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/xorg.scm
diff options
context:
space:
mode:
authorLeo Prikler <leo.prikler@student.tugraz.at>2020-01-04 17:54:30 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-01-05 02:05:40 +0100
commitfe0686864dc57ecdda7ecbb318d2618ac46169ae (patch)
tree3e8b2183dc93b23ab1e9118a8c11b5545bff0779 /gnu/packages/xorg.scm
parent85ad4ffb25c941a2a37cb4af839de9ac141c8253 (diff)
downloadpatches-fe0686864dc57ecdda7ecbb318d2618ac46169ae.tar
patches-fe0686864dc57ecdda7ecbb318d2618ac46169ae.tar.gz
gnu: Add xcur2png.
* gnu/packages/xorg.scm (xcur2png): New variable.
Diffstat (limited to 'gnu/packages/xorg.scm')
-rw-r--r--gnu/packages/xorg.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index fda61aff67..022cb49c20 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -20,6 +20,7 @@
;;; Copyright © 2018 Benjamin Slade <slade@jnanam.net>
;;; Copyright © 2019 nee <nee@cock.li>
;;; Copyright © 2019 Yoshinori Arai <kumagusu08@gmail.com>
+;;; Copyright © 2020 Leo Prikler <leo.prikler@student.tugraz.at>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -6425,3 +6426,29 @@ Thai).")
;; by simple permissive licenses. See the 'COPYRIGHT' file.
(license (list license:gpl2+
license:expat))))
+
+(define-public xcur2png
+ (package
+ (name "xcur2png")
+ (version "0.7.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/eworm-de/xcur2png.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0858wn2p14bxpv9lvaz2bz1rk6zk0g8zgxf8iy595m8fqv4q2fya"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("libpng" ,libpng)
+ ("libxcursor" ,libxcursor)))
+ (synopsis "Decode X cursors")
+ (description
+ "xcur2png is a program decomposes an X cursor into a set of PNG images and
+a configuration file reusable by xcursorgen.")
+ (home-page "https://github.com/eworm-de/xcur2png")
+ (license license:gpl3+)))