diff options
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/jspeex/ChangeLog | 12 | ||||
-rw-r--r-- | dev-java/jspeex/files/jspeex-0.9.7-remove-junit-report.patch | 15 | ||||
-rw-r--r-- | dev-java/jspeex/jspeex-0.9.7.ebuild | 60 | ||||
-rw-r--r-- | dev-java/jspeex/metadata.xml | 5 |
4 files changed, 92 insertions, 0 deletions
diff --git a/dev-java/jspeex/ChangeLog b/dev-java/jspeex/ChangeLog new file mode 100644 index 000000000000..f98d0526e861 --- /dev/null +++ b/dev-java/jspeex/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for dev-java/jspeex +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jspeex/ChangeLog,v 1.1 2013/06/29 21:40:04 tomwij Exp $ + +*jspeex-0.9.7 (29 Jun 2013) + + 29 Jun 2013; Tom Wijsman <TomWij@gentoo.org> + +files/jspeex-0.9.7-remove-junit-report.patch, +jspeex-0.9.7.ebuild, + +metadata.xml: + New ebuild for dev-java/jspeex, Speex speech codec library for Java; a + dependency needed for dev-java/smack. Fixes bug #216797 reported by Petteri + Räty (betelgeuse). diff --git a/dev-java/jspeex/files/jspeex-0.9.7-remove-junit-report.patch b/dev-java/jspeex/files/jspeex-0.9.7-remove-junit-report.patch new file mode 100644 index 000000000000..40ddfd6fe981 --- /dev/null +++ b/dev-java/jspeex/files/jspeex-0.9.7-remove-junit-report.patch @@ -0,0 +1,15 @@ +--- a/build.xml
++++ b/build.xml
+@@ -218,12 +218,6 @@
+ </fileset>
+ </batchtest>
+ </junit>
+- <junitreport todir="${doc}/junit">
+- <fileset dir="${doc}/junit">
+- <include name="TEST-*.xml"/>
+- </fileset>
+- <report format="noframes" todir="${doc}/junit"/>
+- </junitreport>
+ </target>
+
+ <!-- ******************************************************************** -->
diff --git a/dev-java/jspeex/jspeex-0.9.7.ebuild b/dev-java/jspeex/jspeex-0.9.7.ebuild new file mode 100644 index 000000000000..20df340844ad --- /dev/null +++ b/dev-java/jspeex/jspeex-0.9.7.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jspeex/jspeex-0.9.7.ebuild,v 1.1 2013/06/29 21:40:04 tomwij Exp $ + +EAPI="5" + +JAVA_PKG_IUSE="doc source test" + +inherit base java-pkg-2 java-ant-2 + +DESCRIPTION="Speex speech codec library for Java" +HOMEPAGE="http://jspeex.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +CDEPEND="dev-java/ant-core:0" + +RDEPEND="${CDEPEND} + >=virtual/jre-1.4" + +DEPEND="${CDEPEND} + >=virtual/jdk-1.4 + dev-java/junit:0 + test? ( + dev-java/ant-junit:0 + dev-java/ant-trax:0 + )" + +JAVA_ANT_REWRITE_CLASSPATH="true" +EANT_GENTOO_CLASSPATH="ant-core" +EANT_BUILD_TARGET="package" + +S="${WORKDIR}/${PN}" + +java_prepare() { + java-ant_remove-taskdefs --name proguard + + epatch "${FILESDIR}"/${P}-remove-junit-report.patch + + find . -name "*.jar" -delete || die "Failed to remove bundled libraries." + + cd lib || die + java-pkg_jar-from --build-only junit +} + +src_test() { + ANT_TASKS="ant-junit ant-trax" eant test +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + + dodoc README TODO + + use doc && java-pkg_dojavadoc doc/javadoc + use source && java-pkg_dosrc src/java/* +} diff --git a/dev-java/jspeex/metadata.xml b/dev-java/jspeex/metadata.xml new file mode 100644 index 000000000000..838c00a4a448 --- /dev/null +++ b/dev-java/jspeex/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> |