diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-05-08 18:45:22 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-05-08 18:45:22 +0000 |
commit | c3060305df86f4e973583d142cbc142b51cf97a2 (patch) | |
tree | c483dfaca739271c901dbfc59db79d229a88762a /dev-java/jlayer | |
parent | Dropped ppc-macos keyword, see you in prefix (diff) | |
download | gentoo-2-c3060305df86f4e973583d142cbc142b51cf97a2.tar.gz gentoo-2-c3060305df86f4e973583d142cbc142b51cf97a2.tar.bz2 gentoo-2-c3060305df86f4e973583d142cbc142b51cf97a2.zip |
Initial addition. Ebuild written by me.
(Portage version: 2.1.2.7)
Diffstat (limited to 'dev-java/jlayer')
-rw-r--r-- | dev-java/jlayer/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/jlayer/Manifest | 16 | ||||
-rw-r--r-- | dev-java/jlayer/files/digest-jlayer-1.0 | 3 | ||||
-rw-r--r-- | dev-java/jlayer/jlayer-1.0.ebuild | 66 | ||||
-rw-r--r-- | dev-java/jlayer/metadata.xml | 5 |
5 files changed, 100 insertions, 0 deletions
diff --git a/dev-java/jlayer/ChangeLog b/dev-java/jlayer/ChangeLog new file mode 100644 index 000000000000..f65af1632eac --- /dev/null +++ b/dev-java/jlayer/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/jlayer +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jlayer/ChangeLog,v 1.1 2007/05/08 18:45:22 betelgeuse Exp $ + +*jlayer-1.0 (08 May 2007) + + 08 May 2007; Petteri Räty <betelgeuse@gentoo.org> +metadata.xml, + +jlayer-1.0.ebuild: + Initial addition. Ebuild written by me. + diff --git a/dev-java/jlayer/Manifest b/dev-java/jlayer/Manifest new file mode 100644 index 000000000000..051083655027 --- /dev/null +++ b/dev-java/jlayer/Manifest @@ -0,0 +1,16 @@ +DIST jlayer1.0.tar.gz 369355 RMD160 f94354ce1ab3700b54f5393eb0cea6f627c82315 SHA1 2fcb59b8239c41fdd171799678c545ac65ee43a4 SHA256 e74f03cb1c11711f2c136b2d43e479ce793406b5de2571f798a9d147b507d7f7 +EBUILD jlayer-1.0.ebuild 1384 RMD160 ee6283c250c242a517773d00078aa37ed1f1a6af SHA1 c5cf98333025635bee5beb8dffb551d5ee6cc64d SHA256 1e2c31305c744114cda63895af4a444b87ca918141061ef582febb1bdca88d5b +MD5 6abec1b0514d718b27481446d168cf37 jlayer-1.0.ebuild 1384 +RMD160 ee6283c250c242a517773d00078aa37ed1f1a6af jlayer-1.0.ebuild 1384 +SHA256 1e2c31305c744114cda63895af4a444b87ca918141061ef582febb1bdca88d5b jlayer-1.0.ebuild 1384 +MISC ChangeLog 276 RMD160 5fc5f4c456b471928695a0f3cc5a8cfda150812b SHA1 bc4e709f87351d70b8d28f676d4e664109ce9a1d SHA256 42f858f06c92fdf99f3c19900942b5af071552261a92c7d112106fff280804ec +MD5 fb05f32fc0296ed9301c875d9487d736 ChangeLog 276 +RMD160 5fc5f4c456b471928695a0f3cc5a8cfda150812b ChangeLog 276 +SHA256 42f858f06c92fdf99f3c19900942b5af071552261a92c7d112106fff280804ec ChangeLog 276 +MISC metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 SHA1 77cd509a8b3c377b9a24480b48a5d5481b7874f1 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb +MD5 123cf9440c1d4ac78f2caba1624765f9 metadata.xml 158 +RMD160 493079b5fb71d66863beea1b023901c90ba81be5 metadata.xml 158 +SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb metadata.xml 158 +MD5 95f000d1f4c5ff1d8c8a5ec3fd9375dc files/digest-jlayer-1.0 229 +RMD160 7c6e038c936a0f4c75ca9912d69ef9bcae7271b7 files/digest-jlayer-1.0 229 +SHA256 0ea8ef6545280514769cc48990aed641c11124a7ed4f7093e5d43707f49bfd1f files/digest-jlayer-1.0 229 diff --git a/dev-java/jlayer/files/digest-jlayer-1.0 b/dev-java/jlayer/files/digest-jlayer-1.0 new file mode 100644 index 000000000000..b6e64787c21b --- /dev/null +++ b/dev-java/jlayer/files/digest-jlayer-1.0 @@ -0,0 +1,3 @@ +MD5 2ac7b83a3c1182421b139eebdb464e50 jlayer1.0.tar.gz 369355 +RMD160 f94354ce1ab3700b54f5393eb0cea6f627c82315 jlayer1.0.tar.gz 369355 +SHA256 e74f03cb1c11711f2c136b2d43e479ce793406b5de2571f798a9d147b507d7f7 jlayer1.0.tar.gz 369355 diff --git a/dev-java/jlayer/jlayer-1.0.ebuild b/dev-java/jlayer/jlayer-1.0.ebuild new file mode 100644 index 000000000000..5b623fdd29a9 --- /dev/null +++ b/dev-java/jlayer/jlayer-1.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jlayer/jlayer-1.0.ebuild,v 1.1 2007/05/08 18:45:22 betelgeuse Exp $ + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="MP3 decoder/player/converter library for Java" +HOMEPAGE="http://www.javazoom.net/javalayer/javalayer.html" + +SRC_URI="mirror://sourceforge/javalayer/${PN}${PV}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86" + +IUSE="" + +RDEPEND=">=virtual/jre-1.4" +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + ${RDEPEND}" + +S=${WORKDIR}/JLayer${PV} + +src_unpack() { + unpack ${A} + cd "${S}" + rm -v *.jar || die + # build expects classes to exist + rm -vr classes/* || die +} + +src_compile() { + eant dist +} + +# Needs a test mp3 c:/data/test.mp3 +RESTRICT="test" +src_test() { + cd srctest + local jar="../jl${PV}.jar" + ejavac -cp $(java-pkg_getjars junit):${jar} $(find . -name "*.java") + ejunit -cp ${jar}:. AllTests +} + +src_install(){ + java-pkg_newjar jl${PV}.jar + dodoc README.txt CHANGES.txt || die + dohtml playerapplet.html || die + use doc && java-pkg_dojavadoc doc + use source && java-pkg_dosrc src/* + + # the MP3TOWAV converte + java-pkg_dolauncher jl-converter \ + --main javazoom.jl.converter.jlc + + # the simple MP3 player + java-pkg_dolauncher jl-player \ + --main javazoom.jl.player.jlp + + # the advanced (threaded) MP3 player + java-pkg_dolauncher jl-advanced-player \ + --main javazoom.jl.player.advanced.jlap +} diff --git a/dev-java/jlayer/metadata.xml b/dev-java/jlayer/metadata.xml new file mode 100644 index 000000000000..7303cef96964 --- /dev/null +++ b/dev-java/jlayer/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> |