[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/07: gnu: Add eureka.
From: |
Ludovic Courtès |
Subject: |
07/07: gnu: Add eureka. |
Date: |
Tue, 16 Jan 2018 10:00:30 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 531003be6b719526c05b06286b7313621c6ddc41
Author: nee <address@hidden>
Date: Mon Jan 15 23:21:20 2018 +0100
gnu: Add eureka.
* gnu/packages/game-development.scm (eureka): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/game-development.scm | 53 +++++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
diff --git a/gnu/packages/game-development.scm
b/gnu/packages/game-development.scm
index 363d9a2..7c624a3 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -45,6 +45,7 @@
#:use-module (gnu packages curl)
#:use-module (gnu packages databases)
#:use-module (gnu packages documentation)
+ #:use-module (gnu packages fltk)
#:use-module (gnu packages fonts)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop)
@@ -1150,3 +1151,55 @@ features design tools such as a visual editor, can
import 3D models and
provide high-quality 3D rendering, it contains an animation editor, and can be
scripted in a Python-like language.")
(license license:expat)))
+
+(define-public eureka
+ (package
+ (name "eureka")
+ (version "1.21")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/eureka-editor/Eureka/"
+ version "/eureka-"
+ ;; version without dots e.g 1.21 => 121
+ (string-join (string-split version #\.) "")
+ "-source.tar.gz"))
+ (sha256
+ (base32
+ "1a7pf7xi56fcz7jc8layih5gq5m66g2ss4x5j61kzgip07j6rkir"))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:tests? #f
+ #:make-flags
+ (let ((out (assoc-ref %outputs "out")))
+ (list (string-append "PREFIX=" out)))
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (add-before 'build 'prepare-install-directories
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (mkdir-p (string-append out "/bin"))
+ (mkdir-p (string-append out "/share"))
+
+ (with-fluids ((%default-port-encoding #f))
+ (substitute* "./src/main.cc"
+ (("/usr/local") out)))
+
+ (substitute* "Makefile"
+ (("-o root") ""))))))))
+ (inputs `(("mesa" ,mesa)
+ ("libxft" ,libxft)
+ ("libxinerama" ,libxinerama)
+ ("libfontconfig" ,fontconfig)
+ ("libjpeg" ,libjpeg)
+ ("libpng" ,libpng)
+ ("fltk" ,fltk)
+ ("zlib" ,zlib)))
+ (native-inputs `(("pkg-config" ,pkg-config)
+ ("xdg-utils" ,xdg-utils)))
+ (synopsis "Doom map editor")
+ (description "Eureka is a map editor for the classic DOOM games, and a few
+related games such as Heretic and Hexen. It comes with a 3d preview mode and
+a 2D editor view.")
+ (home-page "http://eureka-editor.sourceforge.net/")
+ (license license:gpl2+)))
- branch master updated (889b4af -> 531003b), Ludovic Courtès, 2018/01/16
- 05/07: gnu: python-matplotlib: Fix import failure, Ludovic Courtès, 2018/01/16
- 04/07: gnu: clojure: Update to 1.9.0., Ludovic Courtès, 2018/01/16
- 07/07: gnu: Add eureka.,
Ludovic Courtès <=
- 02/07: gnu: fish-guix: Remove it., Ludovic Courtès, 2018/01/16
- 03/07: doc: Fix typo., Ludovic Courtès, 2018/01/16
- 06/07: gnu: freedom: add native search-paths., Ludovic Courtès, 2018/01/16
- 01/07: etc: Add completions for fish., Ludovic Courtès, 2018/01/16