From 8e0dc413770628873ca2bcca4b1127f1fc4de4fb Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 26 Aug 2019 16:40:28 +0530 Subject: [PATCH 1/3] gnu: Add fifechan. * gnu/packages/game-development.scm (fifechan): New variable. --- gnu/packages/game-development.scm | 35 +++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index 7eac935a69..6debaccb85 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -80,6 +80,7 @@ #:use-module (gnu packages qt) #:use-module (gnu packages sdl) #:use-module (gnu packages stb) + #:use-module (gnu packages swig) #:use-module (gnu packages texinfo) #:use-module (gnu packages tls) #:use-module (gnu packages video) @@ -1539,3 +1540,37 @@ projects.") hardware from multiple vendors without requiring that applications have specific knowledge of the hardware they are targeting.") (license license:bsd-3))) + +(define-public fifechan + (package + (name "fifechan") + (version "0.1.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/fifengine/fifechan") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0hd34b9crs2hv0rxmvhn0m73q9ss4rxj2vq6ba2x01vqy1hrjfcg")))) + (build-system cmake-build-system) + (inputs + `(("sdl2-image" ,sdl2-image))) + (arguments + `(#:tests? #f)) + (home-page "https://fifengine.github.io/fifechan/") + (synopsis "Lightweight cross platform GUI library specifically for games") + (description "Fifechan is a lightweight cross platform GUI library written +in C++ specifically designed for games. It has a small yet powerful built in +set of extendable GUI Widgets allowing users to create virtually unlimited +types of widgets. Fifechan supports rendering in SDL, OpenGL, or Allegro out +of the box or it can be adapted to use any rendering engine the user requires. +Events are pushed to Fifechan which allows users to use any input library they +wish or they could use the built in input handling through either SDL input or +Allegro input. The primary goal for Fifechan is to keep it extendable, +lightweight and still be powerful enough to use in all types of games out of +the box.") + ;; FIXME: incorrect + (license license:lgpl2.1+))) -- 2.22.0