[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/19: gnu: Add java-metadata-extractor.
From: |
guix-commits |
Subject: |
06/19: gnu: Add java-metadata-extractor. |
Date: |
Wed, 13 Nov 2019 16:50:40 -0500 (EST) |
roptat pushed a commit to branch master
in repository guix.
commit a005c63a2167b76ce89b5a7017b216320a403ab4
Author: Julien Lepiller <address@hidden>
Date: Fri May 3 12:31:35 2019 +0200
gnu: Add java-metadata-extractor.
* gnu/packages/java.scm (java-metadata-extractor): New variable.
---
gnu/packages/java.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 41171af..20db3e9 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -11319,3 +11319,40 @@ technology that allows you to embed data about a file,
known as metadata,
into the file itself. The XMP Toolkit for Java is based on the C++ XMPCore
library and the API is similar.")
(license license:bsd-3)))
+
+(define-public java-metadata-extractor
+ (package
+ (name "java-metadata-extractor")
+ (version "2.11.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/drewnoakes/metadata-extractor")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "06yrq0swrl1r40yjbk5kqzjxr04jlkq9lfi711jvfgjf5kp2qinj"))))
+ (build-system ant-build-system)
+ (arguments
+ `(#:jar-name "metadata-extractor.jar"
+ #:source-dir "Source"
+ #:test-dir "Tests"
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'fix-test-dir
+ (lambda _
+ (substitute* "build.xml"
+ (("/java\">") "\">"))
+ #t)))))
+ (propagated-inputs
+ `(("java-xmp" ,java-xmp)))
+ (native-inputs
+ `(("java-hamcrest-core" ,java-hamcrest-core)
+ ("java-junit" ,java-junit)))
+ (home-page "https://github.com/drewnoakes/metadata-extractor")
+ (synopsis "Extract metadata from image and video files")
+ (description "Metadata-extractor is a straightforward Java library for
+reading metadata from image files. It is able to read metadata in Exif,
+IPTC, XMP, ICC and more formats.")
+ (license license:asl2.0)))
- branch master updated (bc11778 -> f041db8), guix-commits, 2019/11/13
- 01/19: gnu: antlr3: Fix building after changes in ant-build-system., guix-commits, 2019/11/13
- 04/19: gnu: Add java-jsonp-impl., guix-commits, 2019/11/13
- 02/19: gnu: Add java-signpost-core., guix-commits, 2019/11/13
- 03/19: gnu: Add java-jsonp-api., guix-commits, 2019/11/13
- 07/19: gnu: javacc: Install binaries., guix-commits, 2019/11/13
- 05/19: gnu: Add java-xmp., guix-commits, 2019/11/13
- 06/19: gnu: Add java-metadata-extractor.,
guix-commits <=
- 08/19: gnu: Add java-openjfx-build., guix-commits, 2019/11/13
- 15/19: gnu: Add java-commons-pool., guix-commits, 2019/11/13
- 10/19: gnu: Add java-openjfx-graphics., guix-commits, 2019/11/13
- 09/19: gnu: Add java-openjfx-base., guix-commits, 2019/11/13
- 11/19: gnu: Add java-openjfx-media., guix-commits, 2019/11/13
- 14/19: gnu: Add java-jboss-transaction-api-spec., guix-commits, 2019/11/13
- 16/19: gnu: Add java-commons-dbcp., guix-commits, 2019/11/13
- 12/19: gnu: Add java-jmapviewer., guix-commits, 2019/11/13
- 18/19: guix: svn: Allow dropping externals., guix-commits, 2019/11/13
- 17/19: gnu: Add java-commons-jcs., guix-commits, 2019/11/13