diff options
author | Alistair Bush <ali_bush@gentoo.org> | 2007-04-24 13:14:36 +0000 |
---|---|---|
committer | Alistair Bush <ali_bush@gentoo.org> | 2007-04-24 13:14:36 +0000 |
commit | e3fb17a6c0a2e74b25d820fd230dabf3f629db89 (patch) | |
tree | 3f6581fa7b842fe1e9782ccdde49bc08195c2e09 /dev-java/metadata-extractor | |
parent | Stable on sparc (diff) | |
download | gentoo-2-e3fb17a6c0a2e74b25d820fd230dabf3f629db89.tar.gz gentoo-2-e3fb17a6c0a2e74b25d820fd230dabf3f629db89.tar.bz2 gentoo-2-e3fb17a6c0a2e74b25d820fd230dabf3f629db89.zip |
Migrated metadata-extractor to java generation 2 build system
(Portage version: 2.1.2.4)
Diffstat (limited to 'dev-java/metadata-extractor')
3 files changed, 51 insertions, 1 deletions
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 <ali_bush@gentoo.org> + +metadata-extractor-2.2.2-r2.ebuild: + Migrated to generation 2 Java build system. 09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> 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 +} + |