From e3fb17a6c0a2e74b25d820fd230dabf3f629db89 Mon Sep 17 00:00:00 2001 From: Alistair Bush Date: Tue, 24 Apr 2007 13:14:36 +0000 Subject: Migrated metadata-extractor to java generation 2 build system (Portage version: 2.1.2.4) --- dev-java/metadata-extractor/ChangeLog | 8 ++++- .../files/digest-metadata-extractor-2.2.2-r2 | 3 ++ .../metadata-extractor-2.2.2-r2.ebuild | 41 ++++++++++++++++++++++ 3 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 dev-java/metadata-extractor/files/digest-metadata-extractor-2.2.2-r2 create mode 100644 dev-java/metadata-extractor/metadata-extractor-2.2.2-r2.ebuild (limited to 'dev-java/metadata-extractor') diff --git a/dev-java/metadata-extractor/ChangeLog b/dev-java/metadata-extractor/ChangeLog index 5bc809ea31b1..a19ec14058d6 100644 --- a/dev-java/metadata-extractor/ChangeLog +++ b/dev-java/metadata-extractor/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/metadata-extractor # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/metadata-extractor/ChangeLog,v 1.7 2007/02/09 07:23:55 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/metadata-extractor/ChangeLog,v 1.8 2007/04/24 13:14:36 ali_bush Exp $ + +*metadata-extractor-2.2.2-r2 (24 Apr 2007) + + 24 Apr 2007; Alistair John Bush + +metadata-extractor-2.2.2-r2.ebuild: + Migrated to generation 2 Java build system. 09 Feb 2007; Diego Pettenò ChangeLog: Regenerate digest in Manifest2 format. diff --git a/dev-java/metadata-extractor/files/digest-metadata-extractor-2.2.2-r2 b/dev-java/metadata-extractor/files/digest-metadata-extractor-2.2.2-r2 new file mode 100644 index 000000000000..378fa70ccc30 --- /dev/null +++ b/dev-java/metadata-extractor/files/digest-metadata-extractor-2.2.2-r2 @@ -0,0 +1,3 @@ +MD5 4f41233180a72a7bfe8f218f979ee5ca metadata-extractor-2.2.2-src.jar 3936358 +RMD160 772f975acdad30357295d0dc4afdf316144c2024 metadata-extractor-2.2.2-src.jar 3936358 +SHA256 38f8b12418afde99286b9b7c86158eb4fd2c47a23ed4af025af77bae301e1783 metadata-extractor-2.2.2-src.jar 3936358 diff --git a/dev-java/metadata-extractor/metadata-extractor-2.2.2-r2.ebuild b/dev-java/metadata-extractor/metadata-extractor-2.2.2-r2.ebuild new file mode 100644 index 000000000000..75d04bbfba27 --- /dev/null +++ b/dev-java/metadata-extractor/metadata-extractor-2.2.2-r2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2007 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-r2.ebuild,v 1.1 2007/04/24 13:14:36 ali_bush Exp $ + +inherit java-pkg-2 java-ant-2 + +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 ~ppc amd64" +IUSE="test" + +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-core + dev-java/junit" +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" + mv metadata-extractor.build build.xml + + java-pkg_jar-from --build-only --into lib/ junit junit.jar +} + +src_compile() { + eant dist-binaries +} + +src_install() { + dodoc ReleaseNotes.txt + java-pkg_newjar dist/*.jar "${PN}.jar" +} + +src_test() { + ANT_TASKS="ant-junit" eant test +} + -- cgit v1.2.3-65-gdbad