From bfee3c2dd39609982d335eef03fe25ad534de148 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Fri, 25 Nov 2022 15:33:28 +0800 Subject: [PATCH] rosenthal: Add libxkbcommon-minimal. * rosenthal/packages/xdisorg.scm (libxkbcommon-minimal): New variable. --- rosenthal/packages/xdisorg.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/rosenthal/packages/xdisorg.scm b/rosenthal/packages/xdisorg.scm index c8ed757..39e8645 100644 --- a/rosenthal/packages/xdisorg.scm +++ b/rosenthal/packages/xdisorg.scm @@ -38,3 +38,19 @@ (sha256 (base32 "0fbb2dyjvf71p42y2jmwdcylsvj03w52f5rb23c2d00rwahhfg4l")))))) + +(define-public libxkbcommon-minimal + (let ((base libxkbcommon-1.4.1)) + (package + (inherit base) + (name "libxkbcommon-minimal") + (arguments + (list #:configure-flags + #~(list "-Denable-x11=false" + "-Denable-wayland=false" + (string-append "-Dxkb-config-root=" + (search-input-directory + %build-inputs "/share/X11/xkb"))))) + (inputs + (modify-inputs (package-inputs base) + (delete "libx11" "libxcb" "wayland" "wayland-protocols"))))))