diff mbox series

[bug#39743,v2] gnu: java-openjfx-controls: Add new variable.

Message ID 20200309165409.173672-1-levenson@mmer.org
State Accepted
Headers show
Series [bug#39743,v2] gnu: java-openjfx-controls: Add new variable. | expand

Checks

Context Check Description
cbaines/applying patch fail View Laminar job

Commit Message

Alexey Abramov March 9, 2020, 4:54 p.m. UTC
---
 gnu/packages/java.scm | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 1625195120..21ff1b4a30 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -3110,6 +3110,22 @@  distribution.")))
     (propagated-inputs
      `(("java-openjfx-graphics" ,java-openjfx-graphics)))))
 
+(define-public java-openjfx-controls
+  (package (inherit java-openjfx-build)
+    (name "java-openjfx-controls")
+    (arguments
+     `(#:jar-name "java-openjfx-controls.jar"
+       #:source-dir "modules/controls/src/main/java"
+       #:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'build 'copy-resources
+           (lambda _
+             (let ((resources (string-append (getcwd) "/modules/controls/src/main/resources")))
+               (copy-recursively resources "build/classes")) #t)))))
+    (propagated-inputs
+     `(("java-openjfx-graphics" ,java-openjfx-graphics)))))
+
 (define-public java-openjfx-media
   (package (inherit java-openjfx-build)
     (name "java-openjfx-media")