summaryrefslogtreecommitdiff
path: root/media-sound/protux
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/protux')
-rw-r--r--media-sound/protux/Manifest2
-rw-r--r--media-sound/protux/protux-0.50.100.ebuild21
2 files changed, 12 insertions, 11 deletions
diff --git a/media-sound/protux/Manifest b/media-sound/protux/Manifest
index a55ac47f624d..74a9b4243c0b 100644
--- a/media-sound/protux/Manifest
+++ b/media-sound/protux/Manifest
@@ -1,3 +1,3 @@
DIST protux-0.50.100.tar.gz 392027 BLAKE2B 3aad4eae28fe866bdff456b79ffcccba0658b97b06c29757757a1f7b8318a27c8e13166c0f6dfa0815276af4358dda031b9c2d869ffc007e9b21fb29d0733970 SHA512 8a7f241c1673193141f456367d40260bd9c1d9ec93130d51abebd14e1dfb03784a2cd21c6c72bce645bd362f138e52e5d41182358ea4b4dad50f892025b6dad7
-EBUILD protux-0.50.100.ebuild 1054 BLAKE2B dd8e61afa8bf605171d9db0d9f7ccda60745945f8cbc6324cdea3badf52d048946d8ade64e4244950762531c6c903defaae1382df8a88e9ff8b9f26bb174e035 SHA512 282de469d5eca446d5ba003253b2c6e6c916bcc26e70ca7a7b619dfcf8a54061ae7e31d9187afa0413191d1c93530b2bec14e61a2ec6c172c2068eed66053e64
+EBUILD protux-0.50.100.ebuild 1038 BLAKE2B 3f726e49643bd9e1a5dbdac1d207b954691789862e9c5b72b090740ac8e087e3c8ed0b12f03f39483762cd830b1f5379f4b4b2c811b172c4a8bebbb14ee52186 SHA512 8c5096a8a58c29e05c35252f57fbd627406bef000af828c7f24bbd738827739dc1e250535f06c7a85893191eb7fe82482ea9e5e36ab1d8733671c9e6befda1fc
MISC metadata.xml 448 BLAKE2B b42a47762da30e666d97523b56e33df98e97ddedab954c4e19add0cde52d7d8cd73409d723419363ddf683922d697f06d3b8077f78524e62b5ee008c9f5831fa SHA512 6db37340b09ea0b4f18892b7868aeabbc50f4a9d2505332d9f927a9299fd0d13178a8e351f6378f1f5c55b6a9862a08323213995027ebf9f9e2f235c6d857943
diff --git a/media-sound/protux/protux-0.50.100.ebuild b/media-sound/protux/protux-0.50.100.ebuild
index 3b8777e18cbb..f4f130c2bd87 100644
--- a/media-sound/protux/protux-0.50.100.ebuild
+++ b/media-sound/protux/protux-0.50.100.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=0
+EAPI=7
inherit java-pkg-2
@@ -9,37 +9,38 @@ 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"
+SLOT="0"
KEYWORDS="~amd64 x86"
+IUSE="source"
DEPEND=">=virtual/jdk-1.5
source? ( app-arch/zip )"
S="${WORKDIR}/${PN}"
-src_unpack() {
- unpack ${A}
+src_prepare() {
+ default
# bug #318589
- sed -i '/com.sun.jmx.snmp.Enumerated/d' "${S}/src/org/protux/core/GlobalProperties.java" || die
+ sed -i '/com.sun.jmx.snmp.Enumerated/d' \
+ src/org/protux/core/GlobalProperties.java || die
}
src_compile() {
- cd src
+ cd src || die
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
+ dodoc AUTHORS BUGLIST ChangeLog COPYRIGHT INSTALL README TODO
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
+ doins -r resources
}