Subject: [PATCH] gnu: Add skippy-xd

From: Jaft <[email-masked]>
Date: Thu, 25 Nov 2021 19:43:01 +0000 (UTC)

* gnu/packages/xdisorg.scm (skippy-xd): Add skippy-xd
---
gnu/packages/xdisorg.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index bf82db5823..e5b7950ab1 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -50,6 +50,7 @@
 ;;; Copyright © 2021 Nikita Domnitskii <[email-masked]>
 ;;; Copyright © 2021 ikasero <[email-masked]>
 ;;; Copyright © 2021 jgart <[email-masked]>
+;;; Copyright © 2021 Wamm K. D. <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3095,3 +3096,47 @@ (define-public wlsunset
 that support @samp{wlr-gamma-control-unstable-v1}.  It is also known as a blue
 light filter or night light.")
     (license license:expat)))
+
+(define-public skippy-xd
+  (let ((commit "397216ca67074c71314f5e9a6e3f1710ccabc29e")
+        (revision "0"))
+    (package
+      (name "skippy-xd")
+      (version (git-version "1.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/richardgv/skippy-xd/")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256 (base32
+                         "0zcjacilmsv69rv85j6nfr6pxy8z36w1sjz0dbjg6s5m4kga1zl8"))
+                (modules '((guix build utils)))))
+      (build-system  gnu-build-system)
+      (arguments `(#:phases (modify-phases %standard-phases
+                              (delete 'configure)
+                              (delete 'check))
+                   #:make-flags (list "PREFIX=/"
+                                      (string-append "CC=" ,(cc-for-target))
+                                      (string-append "DESTDIR=" (assoc-ref
+                                                                  %outputs
+                                                                  "out")))))
+      (native-inputs `(("pkg-config" ,pkg-config)
+                       ("libx11" ,libx11)
+                       ("libxft" ,libxft)
+                       ("libxcomposite" ,libxcomposite)
+                       ("libxdamage" ,libxdamage)
+                       ("libxext" ,libxext)
+                       ("libxinerama" ,libxinerama)
+                       ("libjpeg-turbo" ,libjpeg-turbo)
+                       ("giflib" ,giflib)))
+      (home-page "https://github.com/richardgv/skippy-xd/")
+      (synopsis "Full-screen Exposé-style standalone task switcher for X11")
+      (description "Skippy-XD is a fullscreen composited task-switcher for X11.
+
+Skippy-XD is a program that provides Exposé-like features such as found on the
+MacOS X operating system.  It is a standalone application for providing a window
+picker with live previews (including live video) on Linux desktops that run an X
+server with compositing support.  Thus, it is not part of the window manager and
+the compositing is not being used all the time.")
+      (license license:gpl2))))