unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: L  p R n  d n    <guix@lprndn.info>
To: 34189@debbugs.gnu.org
Subject: [bug#34189] Acknowledgement ([PATCH] gnu: Add arcan.)
Date: Thu, 24 Jan 2019 13:57:48 +0100	[thread overview]
Message-ID: <cuc36pirz5f.fsf@lprndn.info> (raw)
In-Reply-To: <handler.34189.B.154833088612044.ack@debbugs.gnu.org> (GNU bug Tracking System's message of "Thu, 24 Jan 2019 11:55:02 +0000")

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-Add-arcan-sdl.patch --]
[-- Type: text/x-patch, Size: 1678 bytes --]

From acb1f8e7181a1e3d2b496f26e350582ca9b65db9 Mon Sep 17 00:00:00 2001
From: Lprndn <guix@lprndn.info>
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

  parent reply	other threads:[~2019-01-24 12:11 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-24 12:54 [bug#34189] [PATCH] gnu: Add arcan L p R n d n
     [not found] ` <handler.34189.B.154833088612044.ack@debbugs.gnu.org>
2019-01-24 12:57   ` L p R n d n [this message]
2019-01-24 12:58   ` [bug#34189] Acknowledgement ([PATCH] gnu: Add arcan.) L p R n d n
2019-01-24 12:58   ` L p R n d n
2019-01-24 12:59   ` L p R n d n
2019-01-24 12:59   ` L p R n d n
2019-01-24 12:59   ` L p R n d n
2019-02-06 21:32 ` [bug#34189] [PATCH] gnu: Add arcan Ludovic Courtès
     [not found]   ` <cucwombb7y5.fsf@lprndn.info>
2019-02-09 21:42     ` Ludovic Courtès
2019-02-10 18:49       ` L p R n d n
2019-03-04 14:10         ` Ludovic Courtès
2021-07-13 13:15           ` bug#34189: " Maxim Cournoyer
2019-03-13 11:20 ` [bug#34189] " L p R n d n
2019-03-18  9:37   ` Ludovic Courtès
2019-03-18 11:02     ` L p R n d n

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cuc36pirz5f.fsf@lprndn.info \
    --to=guix@lprndn.info \
    --cc=34189@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).