[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/09: gnu: Add arcan-sdl.
From: |
guix-commits |
Subject: |
09/09: gnu: Add arcan-sdl. |
Date: |
Mon, 4 Mar 2019 09:24:17 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit c36448131dfea5ddb13338d9059d53f5a752c144
Author: Lprndn <address@hidden>
Date: Thu Jan 24 13:34:26 2019 +0100
gnu: Add arcan-sdl.
* gnu/packages/arcan.scm (arcan-sdl): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/arcan.scm | 23 ++++++++++++++++++++++-
1 file changed, 22 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/arcan.scm b/gnu/packages/arcan.scm
index 606499b..0dfbf33 100644
--- a/gnu/packages/arcan.scm
+++ b/gnu/packages/arcan.scm
@@ -21,6 +21,7 @@
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
+ #:use-module (guix utils)
#:use-module (gnu packages apr)
#:use-module (gnu packages audio)
#:use-module (gnu packages compression)
@@ -36,9 +37,11 @@
#: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 sqlite)
#:use-module (gnu packages video)
- #:use-module (gnu packages xdisorg))
+ #:use-module (gnu packages xdisorg)
+ #:use-module (srfi srfi-1))
(define-public arcan
(let ((commit "b4dd1fbd1938492ff4b269189d3c8524be7450a9")
@@ -156,3 +159,21 @@ engine programmable using Lua.")
license:lgpl2.0+
license:public-domain
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)")))
- branch master updated (3a0baba -> c364481), guix-commits, 2019/03/04
- 01/09: tests: Use non-deprecated (guix store) API., guix-commits, 2019/03/04
- 04/09: doc: Better explain the 'password' field of <user-account>., guix-commits, 2019/03/04
- 06/09: environment: Rename '--inherit' to '--preserve'., guix-commits, 2019/03/04
- 02/09: activation: Make home directories #o700 by default., guix-commits, 2019/03/04
- 05/09: environment: Remove deprecated -E/--exec option., guix-commits, 2019/03/04
- 07/09: gnu: emacs: Add modules support., guix-commits, 2019/03/04
- 09/09: gnu: Add arcan-sdl.,
guix-commits <=
- 08/09: gnu: Add arcan., guix-commits, 2019/03/04
- 03/09: services: Use 'file-append' for user account shells., guix-commits, 2019/03/04