summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-07-30 05:20:40 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-07-30 05:20:40 +0000
commitd365758bd37ccab9a3a20ba43a4d8cab24390ded (patch)
treef73147d7713d88210a3c3fd93cab6183f9e8a96c /dev-java/metadata-extractor
parentinitial import, dependency of gallery-remote (Manifest recommit) (diff)
downloadgentoo-2-d365758bd37ccab9a3a20ba43a4d8cab24390ded.tar.gz
gentoo-2-d365758bd37ccab9a3a20ba43a4d8cab24390ded.tar.bz2
gentoo-2-d365758bd37ccab9a3a20ba43a4d8cab24390ded.zip
initial import, dependency of gallery-remote
Diffstat (limited to 'dev-java/metadata-extractor')
-rw-r--r--dev-java/metadata-extractor/ChangeLog10
-rw-r--r--dev-java/metadata-extractor/Manifest3
-rw-r--r--dev-java/metadata-extractor/files/digest-metadata-extractor-2.2.21
-rw-r--r--dev-java/metadata-extractor/metadata-extractor-2.2.2.ebuild39
-rw-r--r--dev-java/metadata-extractor/metadata.xml5
5 files changed, 58 insertions, 0 deletions
diff --git a/dev-java/metadata-extractor/ChangeLog b/dev-java/metadata-extractor/ChangeLog
new file mode 100644
index 000000000000..498742087d4e
--- /dev/null
+++ b/dev-java/metadata-extractor/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/metadata-extractor
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/metadata-extractor/ChangeLog,v 1.1 2004/07/30 05:20:40 axxo Exp $
+
+*metadata-extractor-2.2.2 (30 Jul 2004)
+
+ 30 Jul 2004; Thomas Matthijs <axxo@gentoo.org> +metadata.xml,
+ +metadata-extractor-2.2.2.ebuild:
+ initial import, dependency of gallery-remote
+
diff --git a/dev-java/metadata-extractor/Manifest b/dev-java/metadata-extractor/Manifest
new file mode 100644
index 000000000000..e455af0377ea
--- /dev/null
+++ b/dev-java/metadata-extractor/Manifest
@@ -0,0 +1,3 @@
+MD5 a6352f9e7125473cce54d824a07790b0 metadata-extractor-2.2.2.ebuild 1091
+MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+MD5 78a5d326ec7fbf5f587b6a6b50327c97 files/digest-metadata-extractor-2.2.2 78
diff --git a/dev-java/metadata-extractor/files/digest-metadata-extractor-2.2.2 b/dev-java/metadata-extractor/files/digest-metadata-extractor-2.2.2
new file mode 100644
index 000000000000..6dcbd1852388
--- /dev/null
+++ b/dev-java/metadata-extractor/files/digest-metadata-extractor-2.2.2
@@ -0,0 +1 @@
+MD5 4f41233180a72a7bfe8f218f979ee5ca metadata-extractor-2.2.2-src.jar 3936358
diff --git a/dev-java/metadata-extractor/metadata-extractor-2.2.2.ebuild b/dev-java/metadata-extractor/metadata-extractor-2.2.2.ebuild
new file mode 100644
index 000000000000..514ca4577740
--- /dev/null
+++ b/dev-java/metadata-extractor/metadata-extractor-2.2.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/metadata-extractor/metadata-extractor-2.2.2.ebuild,v 1.1 2004/07/30 05:20:40 axxo Exp $
+
+inherit java-pkg
+
+DESCRIPTION="A general metadata extraction framework. Support currently exists for Exif and Iptc metadata segments. Extraction of these segments is provided for Jpeg files"
+HOMEPAGE="http://www.drewnoakes.com/code/exif/"
+SRC_URI="http://www.drewnoakes.com/code/exif/metadata-extractor-${PV}-src.jar"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="junit jikes"
+
+DEPEND=">=virtual/jdk-1.4
+ dev-java/ant
+ junit? ( dev-java/junit )
+ jikes? ( dev-java/jikes )
+ sys-apps/sed"
+RDEPEND=">=virtual/jre-1.4"
+S=${WORKDIR}/
+
+src_unpack() {
+ jar xf ${DISTDIR}/${A}
+ sed -e "s:clean, compile, test:clean, compile:" -i metadata-extractor.build || die "sed failed"
+}
+
+src_compile() {
+ local antflags="-f metadata-extractor.build dist-binaries"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ use junit && antflags="${antflags} test"
+ ant ${antflags} || die "failed to compile"
+}
+
+src_install() {
+ dodoc ReleaseNotes.txt
+ java-pkg_dojar dist/*.jar
+}
+
diff --git a/dev-java/metadata-extractor/metadata.xml b/dev-java/metadata-extractor/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/metadata-extractor/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+</pkgmetadata>