summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2016-07-09 00:08:01 -0500
committerEric Bavier <bavier@member.fsf.org>2016-07-29 23:17:44 -0500
commitd25639731adbb8fc13a79bd3da2ce8ae3dbbf354 (patch)
treee61c25aba673135914b8ee18554bd95c97facf45
parentc3d850f23271d28f804e191b92eb4d9ed1d5f83c (diff)
gnu: Add tuxpaint-config.
* gnu/packages/games.scm (tuxpaint-config): New variable.
-rw-r--r--gnu/packages/games.scm48
1 files changed, 48 insertions, 0 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 37ff4a5924b..919b0185aff 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -54,6 +54,7 @@
54 #:use-module (gnu packages audio) 54 #:use-module (gnu packages audio)
55 #:use-module (gnu packages avahi) 55 #:use-module (gnu packages avahi)
56 #:use-module (gnu packages boost) 56 #:use-module (gnu packages boost)
57 #:use-module (gnu packages fltk)
57 #:use-module (gnu packages fribidi) 58 #:use-module (gnu packages fribidi)
58 #:use-module (gnu packages game-development) 59 #:use-module (gnu packages game-development)
59 #:use-module (gnu packages gettext) 60 #:use-module (gnu packages gettext)
@@ -2643,3 +2644,50 @@ your child be creative.")
2643 "This package contains a set of \"Rubber Stamp\" images which can be used 2644 "This package contains a set of \"Rubber Stamp\" images which can be used
2644with the \"Stamp\" tool within Tux Paint.") 2645with the \"Stamp\" tool within Tux Paint.")
2645 (license license:gpl2+))) 2646 (license license:gpl2+)))
2647
2648(define-public tuxpaint-config
2649 (package
2650 (name "tuxpaint-config")
2651 (version "0.0.13") ;keep VER_DATE below in sync
2652 (source
2653 (origin
2654 (method url-fetch)
2655 (uri (string-append "mirror://sourceforge/tuxpaint/tuxpaint-config/"
2656 version "/tuxpaint-config-" version ".tar.gz"))
2657 (sha256
2658 (base32
2659 "1z12s46mvy87qs3vgq9m0ki9pp21zqc52mmgphahpihw3s7haf6v"))))
2660 (build-system gnu-build-system)
2661 (native-inputs
2662 `(("gettext" ,gnu-gettext)))
2663 (inputs
2664 `(("fltk" ,fltk)
2665 ("libpaper" ,libpaper)
2666 ;; TODO: Should the following be propagated by fltk?
2667 ("libx11" ,libx11)
2668 ("libxft" ,libxft)
2669 ("mesa" ,mesa)))
2670 (arguments
2671 `(#:make-flags `("VER_DATE=2014-08-23"
2672 "CONFDIR=/etc/tuxpaint" ;don't write to store
2673 ,(string-append "PREFIX=" %output)
2674 "GNOME_PREFIX=$(PREFIX)")
2675 #:tests? #f ;no tests
2676 #:phases (modify-phases %standard-phases
2677 (delete 'configure) ;no configure phase
2678 (add-before 'install 'gzip-no-name
2679 (lambda* _
2680 (substitute* "Makefile"
2681 ;; tuxpaint-config compresses its own documentation;
2682 ;; make sure it uses flags for reproducibility.
2683 (("gzip") "gzip --no-name"))))
2684 (add-before 'install 'make-install-dirs
2685 (lambda* (#:key outputs #:allow-other-keys)
2686 (let ((out (assoc-ref outputs "out")))
2687 (mkdir-p (string-append out "/bin"))
2688 #t))))))
2689 (home-page (package-home-page tuxpaint))
2690 (synopsis "Configure Tux Paint")
2691 (description
2692 "Tux Paint Config is a graphical configuration editor for Tux Paint.")
2693 (license license:gpl2))) ;no "or later" present