diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/jspeex |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/jspeex')
-rw-r--r-- | dev-java/jspeex/Manifest | 7 | ||||
-rw-r--r-- | dev-java/jspeex/files/jspeex-0.9.7-remove-junit-report.patch | 16 | ||||
-rw-r--r-- | dev-java/jspeex/files/jspeex-0.9.7-remove-proguard-taskdef.patch | 53 | ||||
-rw-r--r-- | dev-java/jspeex/jspeex-0.9.7-r1.ebuild | 58 | ||||
-rw-r--r-- | dev-java/jspeex/metadata.xml | 11 |
5 files changed, 145 insertions, 0 deletions
diff --git a/dev-java/jspeex/Manifest b/dev-java/jspeex/Manifest new file mode 100644 index 000000000000..39921fda412d --- /dev/null +++ b/dev-java/jspeex/Manifest @@ -0,0 +1,7 @@ +AUX jspeex-0.9.7-remove-junit-report.patch 530 SHA256 4d826766c13b91991e6189014e0a9641a901924433762960cd73411a1d8ace74 SHA512 8a38a6033ca138a131ee716712efd463c2fda87829d46eabd8fa561af0327fd8718a673075eaa0f6a08a931bfd142be23c65e16959a36e1a845dc002744010aa WHIRLPOOL f8e7b03866eff9aec912add63c49828597b9f5c781b6f5be84e009b8094094a0112e6142d4701683f490bda5beb889ea1b33f834222f0c2bd081f7b2896b215d +AUX jspeex-0.9.7-remove-proguard-taskdef.patch 1655 SHA256 a5cf1d2af63fed9c255f30878627d952d180c513640bc03d3a512d223133d7ef SHA512 d8c6358d01c659bf2e83d99d7831f1177383701ea34c76e8b39fa83a85477f8712b6911b6bea5da4e07b0e677816a1b7b4e90e51ee3c71fb7d0faffc9fc9b0d1 WHIRLPOOL 8cd3815b3ef36db1b185c29da6dc6839f6ac034e9c40f6823c6aea57a99202063d964b03967adda094a230f5c35be5d84c22a0d1d765d7609998191fd6113d0a +DIST jspeex-0.9.7.zip 733580 SHA256 55d04780617d87ea2216401dfb66dfdfda9ecf5c018e48a2e4bcdd5c60910daa SHA512 9673bef155f1cccc45bc0a0d5596e79b48ba044309ba3446548b570bc7bad60b4b22cc7761749b0769114c7341b9fab6db8e8a155070f9de6fe2730c843199fe WHIRLPOOL d7555da834098c223b0b0f7c188d35594ef837a79d044c97ea14504a1173c65cc3741e993d936cda2812d3121d3a57e5226be9502db3fdf918b6e55e89bda5d1 +EBUILD jspeex-0.9.7-r1.ebuild 1150 SHA256 7f0a549b6c4d6a1d92b12d7297ce3512c0dde002019cf60b0e8cb3ca7896a570 SHA512 a816a6a0f3e12a2da2daf0ed90d00852ba341b280f3f6b7a5aa1fc6bf2676d97bed9162c9c990dffc21d2c6be3101800157f5b2df146156e9aaf8a92d9778a71 WHIRLPOOL c2e0be0fae78444c9b2839306c9a118debcc5fb738ee323eeff67291f130772142a8f3dc541278c058171c910eee16898e14f2434f4cd701f5ee1f833cdf256a +MISC ChangeLog 2532 SHA256 f7dbc62b97406d105e4745e9d1c368a2d394e943c5aeec2933d0cbffcb5638ba SHA512 eaef1ff4c86d6c740289c431f8997fb03eb1929bed67dd4b67eceb2e20161b8a7e54df64faa9c97dcffe28d2e77d78936f12ee81d9ae7ce0d74a5f812c2fc680 WHIRLPOOL dd4a8c81f86e6ff1e86b309466c94ebfdbefd64cbf054283c7af58af404cb641bdb7d0618a5d5225ddcec9044885a390a2b97afd63c87c39bd53d89e206e6c4c +MISC ChangeLog-2015 929 SHA256 ca520e844928506f714db5e57868582f784f62db8488fc8a434c8ce8398c5ebc SHA512 0baed61f061ba8ee60a9dbb5cc2c23dc55ccbe9ef50cdd5f050504e82325a983fbdb9012a80a82dd52b0925e640ccd08d1f805451247282503371d917c235cf8 WHIRLPOOL 07a9aa67bb4c870f913a0d264502bce8b413713f74de8e8781b89c84335027a11db4c1818edf79e2f7c48b0b8463ad8fea39b198655d981b1dc0285a15aca559 +MISC metadata.xml 312 SHA256 b4342381ff7fdbc2e3af8d4368a2325e6ab236ee39456f16641ff9e20a179163 SHA512 bf48f9daeb64e474b08e897e502436b21db0f65ba4cee4987654e811b6b71a3a82c3ccf9ee49b37babc9a8d8f3c6d13978d9c2e19b4ae27da51c1fc28f15aec5 WHIRLPOOL 24894bb2dab194ff03b43605aa9ecbe8e4dd816e61982efbb0a04afb6cdd2b61b5a571e93f3cead1c9ad7f7a35b9167f854bb5b255beb8f28852983c64db483f 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..d3446420f720 --- /dev/null +++ b/dev-java/jspeex/files/jspeex-0.9.7-remove-junit-report.patch @@ -0,0 +1,16 @@ +diff -Naur a/build.xml b/build.xml +--- a/build.xml 2014-02-18 23:32:25.440819710 +0100 ++++ b/build.xml 2014-02-18 23:32:43.017053558 +0100 +@@ -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/files/jspeex-0.9.7-remove-proguard-taskdef.patch b/dev-java/jspeex/files/jspeex-0.9.7-remove-proguard-taskdef.patch new file mode 100644 index 000000000000..eb9e6fc24af2 --- /dev/null +++ b/dev-java/jspeex/files/jspeex-0.9.7-remove-proguard-taskdef.patch @@ -0,0 +1,53 @@ +diff -Naur a/build.xml b/build.xml +--- a/build.xml 2014-02-18 23:32:25.440819710 +0100 ++++ b/build.xml 2014-02-18 23:33:26.308555686 +0100 +@@ -57,10 +57,6 @@ +
+ <property name="version" value="0.9.7"/>
+
+- <!-- Define additional tasks -->
+- <taskdef name="proguard" classname="proguard.ant.ProGuardTask"
+- classpath="${lib}/proguard3.2.jar" />
+-
+ <target name="init" description="Initialise ant" depends="clean">
+ <tstamp>
+ <format property="NOW" pattern="dd/MM/yyyy HH:mm" locale="en"/>
+@@ -138,19 +134,6 @@ + <target name="compress" depends="package"
+ description="Package obfuscated JSpeex library" >
+ <mkdir dir="${log}"/>
+- <proguard>
+--libraryjars ${java.home}/lib/rt.jar
+--injars ${dist}/jspeex.jar
+--outjar ${dist}/jspeex-obf.jar
+--renamesourcefileattribute SourceFile
+--keepattributes InnerClasses,SourceFile
+--printmapping ${log}/jspeex-obf.map
+--overloadaggressively
+-
+--keep public class * {
+- public protected *;
+-}
+- </proguard>
+ </target>
+
+ <target name="compress-dec-nb" depends="compile-nb"
+@@ -161,18 +144,6 @@ + <attribute name="Main-Class" value="JSpeexDec"/>
+ </manifest>
+ </jar>
+- <proguard>
+--libraryjars ${java.home}/lib/rt.jar
+--injars ${dist}/jspeex-dec-nb.jar
+--outjar ${dist}/jspeex-dec-nb-obf.jar
+--printmapping ${log}/jspeex-dec-nb-obf.map
+--overloadaggressively
+--defaultpackage ''
+-
+--keep public class JSpeexDec {
+- public static void main(java.lang.String[]);
+-}
+- </proguard>
+ </target>
+
+ <!-- ******************************************************************** -->
diff --git a/dev-java/jspeex/jspeex-0.9.7-r1.ebuild b/dev-java/jspeex/jspeex-0.9.7-r1.ebuild new file mode 100644 index 000000000000..89f27c78cd74 --- /dev/null +++ b/dev-java/jspeex/jspeex-0.9.7-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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() { + epatch "${FILESDIR}"/${P}-remove-junit-report.patch + epatch "${FILESDIR}"/${P}-remove-proguard-taskdef.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..3b016edaf12a --- /dev/null +++ b/dev-java/jspeex/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">jspeex</remote-id> + </upstream> +</pkgmetadata> |