diff options
Diffstat (limited to 'media-sound/protux')
-rw-r--r-- | media-sound/protux/Manifest | 1 | ||||
-rw-r--r-- | media-sound/protux/metadata.xml | 6 | ||||
-rw-r--r-- | media-sound/protux/protux-0.50.100.ebuild | 44 |
3 files changed, 51 insertions, 0 deletions
diff --git a/media-sound/protux/Manifest b/media-sound/protux/Manifest new file mode 100644 index 00000000000..583b167ced1 --- /dev/null +++ b/media-sound/protux/Manifest @@ -0,0 +1 @@ +DIST protux-0.50.100.tar.gz 392027 RMD160 e8806ce35a72e6b93e3df15e6fcd65a254e9950a SHA1 067bbc12ceaa9aef97cd45a4174e5536a31d0e09 SHA256 cb8edab6684ea58c13e5cfcec0b6925f32e35cfca4129ca5ab668234541f78e2 diff --git a/media-sound/protux/metadata.xml b/media-sound/protux/metadata.xml new file mode 100644 index 00000000000..5fcf89fb6d1 --- /dev/null +++ b/media-sound/protux/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>proaudio</herd> + <herd>java</herd> +</pkgmetadata> diff --git a/media-sound/protux/protux-0.50.100.ebuild b/media-sound/protux/protux-0.50.100.ebuild new file mode 100644 index 00000000000..5534c62283a --- /dev/null +++ b/media-sound/protux/protux-0.50.100.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit java-pkg-2 + +DESCRIPTION="Professional Audio Tools for GNU/Linux" +HOMEPAGE="http://protux.sourceforge.net/" +SRC_URI="http://${PN}.sourceforge.net/releases/${P}.tar.gz" + +IUSE="source" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc x86" + +DEPEND=">=virtual/jdk-1.5 + source? ( app-arch/zip )" + +S="${WORKDIR}/${PN}" + +src_unpack() { + unpack ${A} + + # bug #318589 + sed -i '/com.sun.jmx.snmp.Enumerated/d' "${S}/src/org/protux/core/GlobalProperties.java" || die +} + +src_compile() { + cd src + ejavac -encoding latin1 $(find . -name "*.java") + jar cf ${PN}.jar $(find . -name "*.class") || die +} + +src_install() { + java-pkg_dojar src/${PN}.jar + dodoc AUTHORS BUGLIST ChangeLog COPYRIGHT INSTALL README TODO || die + use source && java-pkg_dosrc src/org + # pwd like this because it does not find resources otherwise + java-pkg_dolauncher ${PN} \ + --main org.protux.Main \ + --pwd /usr/share/${PN} + insinto /usr/share/${PN} + doins -r resources || die +} |