diff mbox

gnu: Add quesoglc.

Message ID 878ty6ffiy.fsf@openmailbox.org
State New
Headers show

Commit Message

Kei Yamashita June 15, 2016, 6:55 p.m. UTC
This is an OpenGL tool that some free software games use.
Builds fine on my machine, so a second test would be nice. :-)
From cd3052af0c0ef0d9df13584070bd4d48138e0439 Mon Sep 17 00:00:00 2001
From: Kei Kebreau <kei@openmailbox.org>
Date: Wed, 15 Jun 2016 14:40:38 -0400
Subject: [PATCH] gnu: Add quesoglc.

* gnu/packages/game-development.scm (quesoglc): New variable.
---
 gnu/packages/game-development.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Comments

Leo Famulari June 15, 2016, 9:41 p.m. UTC | #1
On Wed, Jun 15, 2016 at 02:55:33PM -0400, Kei Kebreau wrote:
> 
> This is an OpenGL tool that some free software games use.
> Builds fine on my machine, so a second test would be nice. :-)

It builds for me on x86_64 :)

> +    (synopsis "Free implementation of the OpenGL Character Renderer (GLC)")

Everything we package is free software, so we don't mention it as a
special quality in synopses and descriptions.

> +    (license license:lgpl2.1+)))

Part of include/glc.h is Expat licensed.
diff mbox

Patch

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 56617bb..5d749da 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -34,6 +34,8 @@ 
   #:use-module (gnu packages curl)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages documentation)
+  #:use-module (gnu packages fontutils)
+  #:use-module (gnu packages fribidi)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnunet)
   #:use-module (gnu packages guile)
@@ -432,3 +434,28 @@  It offers the following features:
   import into a database.
 @end enumerate")
     (license license:gpl2+)))
+
+(define-public quesoglc
+  (package
+    (name "quesoglc")
+    (version "0.7.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/" name "/" version "/"
+                                  name "-" version "-free.tar.bz2"))
+              (sha256
+               (base32
+                "08ddhywdy2qg17m592ng3yr0p1ih96irg8wg729g75hsxxq9ipks"))))
+    (build-system gnu-build-system)
+    (native-inputs `(("pkg-config" ,pkg-config)))
+    (inputs `(("fontconfig" ,fontconfig)
+              ("freeglute" ,freeglut)
+              ("fribidi" ,fribidi)
+              ("glew" ,glew)))
+    (home-page "http://quesoglc.sourceforge.net")
+    (synopsis "Free implementation of the OpenGL Character Renderer (GLC)")
+    (description
+     "The OpenGL Character Renderer (GLC) is a state machine that provides
+OpenGL programs with character rendering services via an application programming
+interface (API).")
+    (license license:lgpl2.1+)))