summary refs log tree commit diff
diff options
context:
space:
mode:
authorKei Kebreau <kkebreau@posteo.net>2020-01-17 12:33:31 -0500
committerKei Kebreau <kkebreau@posteo.net>2020-01-17 15:19:07 -0500
commitdc4469e9683c73fd4d03c1708cc4178b300f53a5 (patch)
tree94cc00eecf5b54966eb96d46a6bad48eeb0975f5
parentd6ab5f4fa71a965c4e0dffd5eecb7a4345c9c89f (diff)
downloadguix-dc4469e9683c73fd4d03c1708cc4178b300f53a5.tar.gz
gnu: red-eclipse: Remove proprietary libraries and pre-compiled binaries.
* gnu/packages/games.scm (red-eclipse)[source]: Add 'modules' and 'snippet'.
[home-page]: Use HTTPS.
[license]: Update license.
-rw-r--r--gnu/packages/games.scm17
1 files changed, 13 insertions, 4 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 5a40a18f8d..8d29b82da3 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -3262,7 +3262,13 @@ http://lavachat.symlynx.com/unix/")
                (recursive? #t))) ; for game data
          (file-name (git-file-name name version))
          (sha256
-          (base32 "0sz0mqhwx8r9n4mk3qrxw420nlsm3y0n48gd0lazgd64lfqjh3ab"))))
+          (base32 "0sz0mqhwx8r9n4mk3qrxw420nlsm3y0n48gd0lazgd64lfqjh3ab"))
+         (modules '((guix build utils)))
+         (snippet
+          ;; Remove proprietary libraries and other pre-compiled binaries.
+          '(begin
+             (delete-file-recursively "bin")
+             #t))))
       (build-system gnu-build-system)
       (arguments
        `(#:tests? #f            ; no check target
@@ -3341,19 +3347,22 @@ exec -a \"$0\" ~a/.redeclipse_server_linux-real~%"
          ("sdl-union" ,(sdl-union (list sdl2
                                         sdl2-image
                                         sdl2-mixer)))))
-      (home-page "http://redeclipse.net/")
+      (home-page "https://redeclipse.net/")
       (synopsis "Arena shooter derived from the Cube 2 engine")
       (description
        "Red Eclipse is an arena shooter, created from the Cube2 engine.
 Offering an innovative parkour system and distinct but all potent weapons,
 Red Eclipse provides fast paced and accessible gameplay.")
       ;; The engine is under Zlib; data files are covered by the other
-      ;; licenses.  More details at <http://redeclipse.net/wiki/License>.
+      ;; licenses.  More details at file:///doc/all-licenses.txt.
       (license (list license:expat
                      license:zlib
+                     license:cc-by-sa4.0
                      license:cc-by-sa3.0
                      license:cc-by3.0
-                     license:cc0)))))
+                     license:cc0
+                     license:public-domain
+                     license:silofl1.1)))))
 
 (define-public grue-hunter
   (package