diff options
author | Eric Bavier <bavier@member.fsf.org> | 2015-07-28 20:48:34 -0500 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2015-08-14 12:11:59 -0500 |
commit | c449a076936d725dd4db6be59ed41f1b6d59c2af (patch) | |
tree | 1a9e73c16ecb3cb789b7dc606f3a7c6759cafdac | |
parent | 907f939b9bc43202519e2d6607013da06323f362 (diff) | |
download | guix-c449a076936d725dd4db6be59ed41f1b6d59c2af.tar guix-c449a076936d725dd4db6be59ed41f1b6d59c2af.tar.gz |
gnu: Add Gamine.
* gnu/packages/games.scm (gamine): New variable.
-rw-r--r-- | gnu/packages/games.scm | 50 |
1 files changed, 49 insertions, 1 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index fd5cc3614c..bf261dd993 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013 John Darrington <jmd@gnu.org> ;;; Copyright © 2014 David Thompson <dthompson2@worcester.edu> -;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org> +;;; Copyright © 2014, 2015 Eric Bavier <bavier@member.fsf.org> ;;; Copyright © 2014 Cyrill Schenkel <cyrill.schenkel@gmail.com> ;;; Copyright © 2014 Sylvain Beucler <beuc@beuc.net> ;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org> @@ -55,6 +55,7 @@ #:use-module (gnu packages texinfo) #:use-module (gnu packages check) #:use-module (gnu packages fontutils) + #:use-module (gnu packages gstreamer) #:use-module (gnu packages bash) #:use-module (gnu packages perl) #:use-module (gnu packages qt) @@ -999,3 +1000,50 @@ advantages and disadvantages against different types of attacks. Units gain experience and advance levels, and are carried over from one scenario to the next campaign.") (license license:gpl2+))) + +(define-public gamine + (package + (name "gamine") + (version "1.4") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/gamine-game/" + "gamine-" version ".tar.gz")) + (sha256 + (base32 + "1iny959i1kl2ab6z5xi4s66mrvrwcarxyvjfp2k1sx532s8knk8h")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config) + ("intltool" ,intltool))) + (inputs + `(("gstreamer" ,gstreamer) + ("gst-plugins-base" ,gst-plugins-base) ;playbin plugin + ("gst-plugins-good" ,gst-plugins-good) ;for wav playback + ("gtk+" ,gtk+))) + (arguments + `(#:tests? #f + #:make-flags + (let ((out (assoc-ref %outputs "out"))) + (list (string-append "PREFIX=" out) + (string-append "SYSCONFDIR=" out "/etc"))) + #:phases + (modify-phases %standard-phases + (delete 'configure) + (add-after + 'install 'wrap-gamine + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))) + (wrap-program (string-append out "/bin/gamine") + `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))) + #t))))) + (home-page "http://gamine-game.sourceforge.net/") + (synopsis "Mouse and keyboard discovery for children") + (description + "Gamine is a game designed for young children who are learning to use the +mouse and keyboard. The child uses the mouse to draw colored dots and lines +on the screen and keyboard to display letters.") + ;; Most files under gpl2+ or gpl3+, but eat.wav under gpl3 + (license license:gpl3))) + |