From 7edc70ee2707ddf7822f5023a462a91debcbce4c Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Sat, 1 Jan 2022 03:35:32 +0300 Subject: gnu: Add libxpresent. * gnu/packages/xorg.scm (libxpresent): New variable. --- gnu/packages/xorg.scm | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index b09d95f770..fcaae30664 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -16,7 +16,7 @@ ;;; Copyright © 2017, 2020 Arun Isaac ;;; Copyright © 2018–2021 Tobias Geerinckx-Rice ;;; Copyright © 2018 Kei Kebreau -;;; Copyright © 2018, 2020 Oleg Pykhalov +;;; Copyright © 2018, 2020, 2022 Oleg Pykhalov ;;; Copyright © 2018 Benjamin Slade ;;; Copyright © 2019 nee ;;; Copyright © 2019 Yoshinori Arai @@ -6002,6 +6002,27 @@ (define-public libxaw3d Intrinsics (Xt) Library.") (license license:x11))) +(define-public libxpresent + (package + (name "libxpresent") + (version "1.0.0") + (source (origin + (method url-fetch) + (uri "mirror://xorg/individual/lib/libXpresent-1.0.0.tar.bz2") + (sha256 + (base32 + "12kvvar3ihf6sw49h6ywfdiwmb8i1gh8wasg1zhzp6hs2hay06n1")))) + (inputs + (list libx11 xorgproto libxext libxfixes libxrandr)) + (native-inputs + (list pkg-config)) + (build-system gnu-build-system) + (home-page "https://gitlab.freedesktop.org/xorg/lib/libxpresent") + (synopsis "Xlib-compatible API for the Present extension") + (description "This package provides a Xlib-based library for the X Present +Extension.") + (license license:x11))) + (define-public xclock (package (name "xclock") -- cgit v1.2.3