From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:49263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3iux-0007Cv-O3 for guix-patches@gnu.org; Tue, 12 Mar 2019 11:02:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h3iuo-0001jI-0M for guix-patches@gnu.org; Tue, 12 Mar 2019 11:02:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55133) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h3iun-0001iw-Px for guix-patches@gnu.org; Tue, 12 Mar 2019 11:02:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h3iun-0002KA-Kf for guix-patches@gnu.org; Tue, 12 Mar 2019 11:02:01 -0400 Subject: [bug#34827] [PATCH 2/2] gnu: Kodi: Add Wayland variant. Resent-Message-ID: From: Marius Bakke Date: Tue, 12 Mar 2019 16:00:45 +0100 Message-Id: <20190312150045.26191-2-mbakke@fastmail.com> In-Reply-To: <20190312150045.26191-1-mbakke@fastmail.com> References: <20190312150045.26191-1-mbakke@fastmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 34827@debbugs.gnu.org * gnu/packages/kodi.scm (kodi/wayland): New public variable. --- gnu/packages/kodi.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/kodi.scm b/gnu/packages/kodi.scm index 776f9c970e..c107f11883 100644 --- a/gnu/packages/kodi.scm +++ b/gnu/packages/kodi.scm @@ -43,6 +43,7 @@ #:use-module (gnu packages databases) #:use-module (gnu packages documentation) #:use-module (gnu packages fontutils) + #:use-module (gnu packages freedesktop) #:use-module (gnu packages fribidi) #:use-module (gnu packages gettext) #:use-module (gnu packages ghostscript) @@ -462,6 +463,23 @@ plug-in system.") license:bsd-3 ;misc, gtest license:bsd-2)))) ;xbmc/freebsd +(define-public kodi/wayland + (package/inherit kodi + (name "kodi-wayland") + (arguments + (substitute-keyword-arguments (package-arguments kodi) + ((#:configure-flags flags) + `(append '("-DCORE_PLATFORM_NAME=wayland" + "-DWAYLAND_RENDER_SYSTEM=gl") + ,flags)))) + (inputs + `(("libinput" ,libinput) + ("libxkbcommon" ,libxkbcommon) + ("waylandpp" ,waylandpp) + ("waylandp-protocols" ,wayland-protocols) + ,@(package-inputs kodi))) + (synopsis "Kodi with Wayland rendering backend"))) + (define-public kodi-cli (let ((commit "104dc23b2a993c8e6db8c46f4f8bec24b146549b") ; Add support for (revision "1")) ; `$HOME/.kodirc'. -- 2.21.0