From 8861047922636a8a7cb10ca4a753c16c896b1ff9 Mon Sep 17 00:00:00 2001 From: Rutger Helling Date: Mon, 31 Dec 2018 11:07:05 +0100 Subject: [PATCH] gnu: sdl2: Fix Wayland support. * gnu/packages/sdl.scm (sdl2)[propagated-inputs]: Add "wayland-protocols". [inputs]: Remove "wayland-protocols". --- gnu/packages/sdl.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm index 619892572..e272c0f8d 100644 --- a/gnu/packages/sdl.scm +++ b/gnu/packages/sdl.scm @@ -116,6 +116,9 @@ joystick, and graphics hardware.") ((#:configure-flags flags) `(append '("--disable-wayland-shared") ,flags)))) + (propagated-inputs + (append `(("wayland-protocols" ,wayland-protocols)) + (package-propagated-inputs sdl))) (inputs ;; SDL2 needs to be built with ibus support otherwise some systems ;; experience a bug where input events are doubled. @@ -126,8 +129,7 @@ joystick, and graphics hardware.") ("glib" ,glib) ("ibus" ,ibus) ("libxkbcommon" ,libxkbcommon) - ("wayland" ,wayland) - ("wayland-protocols" ,wayland-protocols)) + ("wayland" ,wayland)) (package-inputs sdl))) (license bsd-3))) -- 2.20.1