summaryrefslogtreecommitdiff
path: root/gnu/packages/java-graphics.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-12-19 22:59:56 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-12-19 23:21:06 +0100
commit1fb76dce3e2ea62bb0ba8d118a56b4476c953fb4 (patch)
treeea5fb996fb3b46f2c50d4d2d1573e30a690c2590 /gnu/packages/java-graphics.scm
parentedf8152563a898438708ec9b2b17284a9d55d271 (diff)
gnu: Add java-piccolo2d-core.
* gnu/packages/java-graphics.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
Diffstat (limited to 'gnu/packages/java-graphics.scm')
-rw-r--r--gnu/packages/java-graphics.scm57
1 files changed, 57 insertions, 0 deletions
diff --git a/gnu/packages/java-graphics.scm b/gnu/packages/java-graphics.scm
new file mode 100644
index 00000000000..7c1a5f68b49
--- /dev/null
+++ b/gnu/packages/java-graphics.scm
@@ -0,0 +1,57 @@
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages java-graphics)
20 #:use-module ((guix licenses) #:prefix license:)
21 #:use-module (guix packages)
22 #:use-module (guix git-download)
23 #:use-module (guix utils)
24 #:use-module (guix build-system ant)
25 #:use-module (gnu packages)
26 #:use-module (gnu packages java)
27 #:use-module (gnu packages xorg))
28
29(define-public java-piccolo2d-core
30 (package
31 (name "java-piccolo2d-core")
32 (version "3.0.1")
33 (source (origin
34 (method git-fetch)
35 (uri (git-reference
36 (url "https://github.com/piccolo2d/piccolo2d.java")
37 (commit (string-append "piccolo2d-complete-" version))))
38 (file-name (git-file-name name version))
39 (sha256
40 (base32
41 "1k6gw643k83516lcw04mgac2yi75phdrng44pz9xk6hz066ip21s"))))
42 (build-system ant-build-system)
43 (arguments
44 `(#:jar-name "piccolo2d-core.jar"
45 #:phases
46 (modify-phases %standard-phases
47 (add-after 'unpack 'chdir
48 (lambda _ (chdir "core") #t)))))
49 (inputs
50 `(("java-junit" ,java-junit)))
51 (home-page "http://piccolo2d.org")
52 (synopsis "Structured 2D graphics framework")
53 (description "Piccolo2D is a framework (in the Jazz ZUI tradition) to
54create robust, full-featured graphical applications in Java, with features
55such as zooming and multiple representation. This package provides the core
56libraries.")
57 (license license:bsd-3)))