From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:33495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmdrG-0001f3-JA for guix-patches@gnu.org; Thu, 24 Jan 2019 07:11:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gmddy-0003Jr-9D for guix-patches@gnu.org; Thu, 24 Jan 2019 06:58:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44052) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gmddy-0003IY-5N for guix-patches@gnu.org; Thu, 24 Jan 2019 06:58:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gmddy-0003DK-1O for guix-patches@gnu.org; Thu, 24 Jan 2019 06:58:02 -0500 Subject: [bug#34189] Acknowledgement ([PATCH] gnu: Add arcan.) Resent-Message-ID: From: L p R n d n References: Date: Thu, 24 Jan 2019 13:57:48 +0100 In-Reply-To: (GNU bug Tracking System's message of "Thu, 24 Jan 2019 11:55:02 +0000") Message-ID: MIME-Version: 1.0 Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-arcan-sdl.patch 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: 34189@debbugs.gnu.org >From acb1f8e7181a1e3d2b496f26e350582ca9b65db9 Mon Sep 17 00:00:00 2001 From: Lprndn Date: Thu, 24 Jan 2019 13:34:26 +0100 Subject: [PATCH] gnu: Add arcan-sdl. * gnu/packages/arcan.scm (arcan-sdl): New variable. --- gnu/packages/arcan.scm | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/gnu/packages/arcan.scm b/gnu/packages/arcan.scm index 910464dec..2765d805f 100644 --- a/gnu/packages/arcan.scm +++ b/gnu/packages/arcan.scm @@ -20,8 +20,10 @@ #:use-module (gnu packages pcre) #:use-module (gnu packages pkg-config) #:use-module (gnu packages ruby) + #:use-module (gnu packages sdl) #:use-module (gnu packages video) - #:use-module (gnu packages xdisorg)) + #:use-module (gnu packages xdisorg) + #:use-module (srfi srfi-1)) (define-public arcan (package @@ -128,3 +130,21 @@ all the way to full-blown desktop environments") (license (list license:gpl2+ license:lgpl2.0 license:bsd-3)))) + +(define-public arcan-sdl + (package + (inherit arcan) + (name "arcan-sdl") + (inputs + `(("sdl" ,sdl) + ,@(fold alist-delete (package-inputs arcan) + '("libdrm")))) + (arguments + `(,@(ensure-keyword-arguments + (package-arguments arcan) + '(#:configure-flags + '("-DVIDEO_PLATFORM=sdl" "-DBUILTIN_LUA=off" + "-DSTATIC_OPENAL=off" "-DDISABLE_JIT=off" + "-DENABLE_LWA=on" "-DSTATIC_SQLITE3=off" + "-DSTATIC_FREETYPE=off" "-DSHMIF_TUI_ACCEL=on"))))) + (synopsis "Combined display server, multimedia framework and game engine (sdl)"))) -- 2.19.2