diff options
Diffstat (limited to 'media-sound/protux')
-rw-r--r-- | media-sound/protux/Manifest | 5 | ||||
-rw-r--r-- | media-sound/protux/metadata.xml | 15 | ||||
-rw-r--r-- | media-sound/protux/protux-0.50.100.ebuild | 43 |
3 files changed, 63 insertions, 0 deletions
diff --git a/media-sound/protux/Manifest b/media-sound/protux/Manifest new file mode 100644 index 000000000000..ef735bf0f52f --- /dev/null +++ b/media-sound/protux/Manifest @@ -0,0 +1,5 @@ +DIST protux-0.50.100.tar.gz 392027 SHA256 cb8edab6684ea58c13e5cfcec0b6925f32e35cfca4129ca5ab668234541f78e2 SHA512 8a7f241c1673193141f456367d40260bd9c1d9ec93130d51abebd14e1dfb03784a2cd21c6c72bce645bd362f138e52e5d41182358ea4b4dad50f892025b6dad7 WHIRLPOOL a2ba3282c381447f3ffa1c1d5b0653950a1f0b40d0fba98333233e018c3d2e3178b8691e5864bba7f01b49ea853c065d07eec69591ce425f4e0d72f23088de68 +EBUILD protux-0.50.100.ebuild 1046 SHA256 1291e447503278ccd174d464aa144c1989e0a5da2fcd7c226ee787988311a005 SHA512 a1ff48e6468de76de88f7217773ccf749c3db3552b84f6542ba3b0a445e39075b6a5f4806edc70df60f9eefee6f9ee4929d919857854d8f212143cade64ea054 WHIRLPOOL 4597fbb506152d156572570e7f8f647bae370272967fae15d55c5a68e648f432336af125bb201a3d21f004f43dd8e671734d4e8a37d1b1c1ac87bb4cbaf21f5a +MISC ChangeLog 3119 SHA256 ccb9c3621fc9a14990f209ef8547ab34ae3e246cd811e903235516a7ba33292d SHA512 56ee6e7c8fb8c8d8e7bd8a142d639c137ea384098013599f90b04ab867003d2bb981b6b8618ee75d75e560af6a69c18d7b92fee3f91ba55b3a6d07ff05df6f3e WHIRLPOOL 98d88700836d2fda4e4b8c8418c192df416179ad4d0397b6e292d581da7d01a42d48b1f9f4eabff0cb2751dd00ca049656f05530318bdf282ddfb471c13b3de5 +MISC ChangeLog-2015 3929 SHA256 821fbca068bff48db0f78f01e6abe1aced6ef9cd1efc234061c02aa9f95a95b1 SHA512 fe1bb2bd537e739e63445d3c17695496fc641084f0daf6b17e6a06f3b524dc206e278d0cfb74b641de8102cbfae0ae563ec75615bc72b1193edd9160e070cedc WHIRLPOOL e0ffb84b433c424599a2f53ec7a32a685ce38694b9437a6fc5d4add40662eaff18ea7760bb059ce5aa48d2df47aef87c9a3e8cd65a678faea0353e0f4a0372cc +MISC metadata.xml 448 SHA256 fd0e68b770b2401f1623420ad5451c4b984d3d2b7edb1274b0893a0d96c721e6 SHA512 6db37340b09ea0b4f18892b7868aeabbc50f4a9d2505332d9f927a9299fd0d13178a8e351f6378f1f5c55b6a9862a08323213995027ebf9f9e2f235c6d857943 WHIRLPOOL 73bd00df88a5008ed506e90807b673a056a14aa543556e8f6254fa51124653d58d26d92e24626617dc040a095f844c1e0d320871aa1f85f2922271a27ae8effb diff --git a/media-sound/protux/metadata.xml b/media-sound/protux/metadata.xml new file mode 100644 index 000000000000..d1b3ad750f41 --- /dev/null +++ b/media-sound/protux/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>proaudio@gentoo.org</email> + <name>Gentoo ProAudio Project</name> + </maintainer> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">protux</remote-id> + </upstream> +</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 000000000000..630b6005c7b9 --- /dev/null +++ b/media-sound/protux/protux-0.50.100.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 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 +} |