From: Alistair Bush Date: Tue, 24 Apr 2007 13:14:36 +0000 (+0000) Subject: Migrated metadata-extractor to java generation 2 build system X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=752f8f033f3fdb4e7016af75109cd739a8258da4;p=gentoo.git Migrated metadata-extractor to java generation 2 build system Package-Manager: portage-2.1.2.4 --- 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/Manifest b/dev-java/metadata-extractor/Manifest index 1661179f1665..082760117e18 100644 --- a/dev-java/metadata-extractor/Manifest +++ b/dev-java/metadata-extractor/Manifest @@ -1,15 +1,16 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - DIST metadata-extractor-2.2.2-src.jar 3936358 RMD160 772f975acdad30357295d0dc4afdf316144c2024 SHA1 783b30f347ce89efe3f84da3cd106e0fa4a5f6f1 SHA256 38f8b12418afde99286b9b7c86158eb4fd2c47a23ed4af025af77bae301e1783 EBUILD metadata-extractor-2.2.2-r1.ebuild 1240 RMD160 e5fe56be25ec7765d4fe2cb2b75937bddb5b5d85 SHA1 bce919ea296efd13b3ace6b68c172142a2d8f1fc SHA256 3e6d676d0a8ec601ff8bd1bc87169aa8e701670e826d16383f3a0212f97e419e MD5 93843e2fa53815d257fc6a351a4fe472 metadata-extractor-2.2.2-r1.ebuild 1240 RMD160 e5fe56be25ec7765d4fe2cb2b75937bddb5b5d85 metadata-extractor-2.2.2-r1.ebuild 1240 SHA256 3e6d676d0a8ec601ff8bd1bc87169aa8e701670e826d16383f3a0212f97e419e metadata-extractor-2.2.2-r1.ebuild 1240 -MISC ChangeLog 1188 RMD160 ce92bc283b8da09776c8f5282ed709763fae79d2 SHA1 2a1d0b7058de5852be9543cf285b68b117418b2f SHA256 46861e543a69291a0bb967167fbedcacdb2fa4daac946010b3285bda3bcda6d0 -MD5 3de35ec214cf1dd96d0168210ae8b48e ChangeLog 1188 -RMD160 ce92bc283b8da09776c8f5282ed709763fae79d2 ChangeLog 1188 -SHA256 46861e543a69291a0bb967167fbedcacdb2fa4daac946010b3285bda3bcda6d0 ChangeLog 1188 +EBUILD metadata-extractor-2.2.2-r2.ebuild 1159 RMD160 1f3bbcdb7bada8b897ef6573e13fa6a4e50102d5 SHA1 e32854647c52aa9104296ba217f065ca26592dc2 SHA256 f7454204b1d55c3fcb967ed7bf0fe342753e404221dafa2c426c4ce05479fddf +MD5 cfa05455bfa17c930f2027f824991ae3 metadata-extractor-2.2.2-r2.ebuild 1159 +RMD160 1f3bbcdb7bada8b897ef6573e13fa6a4e50102d5 metadata-extractor-2.2.2-r2.ebuild 1159 +SHA256 f7454204b1d55c3fcb967ed7bf0fe342753e404221dafa2c426c4ce05479fddf metadata-extractor-2.2.2-r2.ebuild 1159 +MISC ChangeLog 1373 RMD160 4be6214622d71e0762784fde0ebda24c33f03b68 SHA1 2256a7f308c915efe00dd30c2ff3b663e4cd40a2 SHA256 a28d95e5f55bea9d914508f1f4b3a51d3cd8c5671cd039c9bc8788e0031788a9 +MD5 b46a660fcaa71dff42a11d7744c505db ChangeLog 1373 +RMD160 4be6214622d71e0762784fde0ebda24c33f03b68 ChangeLog 1373 +SHA256 a28d95e5f55bea9d914508f1f4b3a51d3cd8c5671cd039c9bc8788e0031788a9 ChangeLog 1373 MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157 @@ -17,10 +18,6 @@ SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 metadata MD5 3b56f8ecdcf1325726d3558b239dd4f1 files/digest-metadata-extractor-2.2.2-r1 280 RMD160 fe72acf5f72847707c4a3471c22f09855bc6942f files/digest-metadata-extractor-2.2.2-r1 280 SHA256 676f6af847027f3081c419d08808dabbdc53c1cfc6533c05c6a5b8907c1f6a62 files/digest-metadata-extractor-2.2.2-r1 280 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.2 (GNU/Linux) - -iD8DBQFFzCGRAiZjviIA2XgRAhgvAKCYLoKBpAqx0r8I1H3pZMOJDFJIPACg2wiR -QmqAMgkAmzuDm+ZTsERhwEQ= -=V0sX ------END PGP SIGNATURE----- +MD5 3b56f8ecdcf1325726d3558b239dd4f1 files/digest-metadata-extractor-2.2.2-r2 280 +RMD160 fe72acf5f72847707c4a3471c22f09855bc6942f files/digest-metadata-extractor-2.2.2-r2 280 +SHA256 676f6af847027f3081c419d08808dabbdc53c1cfc6533c05c6a5b8907c1f6a62 files/digest-metadata-extractor-2.2.2-r2 280 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 +} +