[proaudio] [1138] add jsampler

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Revision: 1138
Author:   gimpel
Date:     2008-01-24 15:14:29 +0000 (Thu, 24 Jan 2008)

Log Message:
-----------
add jsampler

Added Paths:
-----------
    trunk/overlays/proaudio/media-sound/jsampler/
    trunk/overlays/proaudio/media-sound/jsampler/ChangeLog
    trunk/overlays/proaudio/media-sound/jsampler/Manifest
    trunk/overlays/proaudio/media-sound/jsampler/jsampler-0.8a.ebuild


Added: trunk/overlays/proaudio/media-sound/jsampler/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/jsampler/ChangeLog	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/jsampler/ChangeLog	2008-01-24 15:14:29 UTC (rev 1138)
@@ -0,0 +1,8 @@
+# ChangeLog for media-sound/jsampler
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  24 Jan 2008; Thomas Kuther <gimpel@xxxxxxxxxxxxxxxx>
+  +jsampler-0.8a.ebuild:
+  initial ebuild
+

Added: trunk/overlays/proaudio/media-sound/jsampler/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/jsampler/Manifest	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/jsampler/Manifest	2008-01-24 15:14:29 UTC (rev 1138)
@@ -0,0 +1,3 @@
+DIST JSampler-0.8a.tar.bz2 7397290 RMD160 9ae7f24b0d6b1572aeee37a867d6f3f8e57494d7 SHA1 468b8d38ec651ec8e8797e566fa482ee469aaffd SHA256 3cc4fc3fad47382373f5d67352a4891fc025777e7e02ad7d6654d08c7d066b1d
+EBUILD jsampler-0.8a.ebuild 1067 RMD160 36e3f719bad9e313507b945a1c086b40aedd75d6 SHA1 b276f3fdb8a2d030aaf5abe2cd719e58773547ad SHA256 8677e0eabf2934e28f12644e185a0ab3cc00c467f907391ae1ad01627878930e
+MISC ChangeLog 219 RMD160 f50ce88dbe08fd9008785e54f8b0c73becd82faf SHA1 09aee8b4e93fa912cb70053020d2df042c2b4642 SHA256 c87876ff43e0c4d31c4fd8d10f860f27a24943cb942e9482a0a5f8a665e62de0

Added: trunk/overlays/proaudio/media-sound/jsampler/jsampler-0.8a.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/jsampler/jsampler-0.8a.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/jsampler/jsampler-0.8a.ebuild	2008-01-24 15:14:29 UTC (rev 1138)
@@ -0,0 +1,48 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit java-pkg-2 java-ant-2 eutils
+
+MY_P="${P/js/JS}"
+
+DESCRIPTION="JSampler is a frontend for LinuxSampler written in Java"
+HOMEPAGE="http://jsampler.sourceforge.net/";
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="classic"
+
+RDEPEND="media-sound/linuxsampler
+	>=virtual/jdk-1.6"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+	if use classic; then
+		eant build-jsclassic || die "eant failed"
+	else
+		eant build-fantasia || die "eant failed"
+	fi
+}
+
+src_install() {
+	local myjar="Fantasia-${PV}.jar"
+	use classic && myjar="JS_Classic-${PV}.jar"
+
+	java-pkg_dojar dist/${myjar}
+
+	echo "#!/bin/sh" > ${PN}
+	echo "cd /usr/share/${PN}" >> ${PN}
+	echo "\${JAVA_HOME}/bin/java -jar \$(java-config -p jsampler) \$*" >> ${PN}
+
+	dobin ${PN}
+
+	newicon "res/fantasia/icons/app_icon.png" "${PN}.png"
+	make_desktop_entry "${PN}" "JSampler" "${PN}" "AudioVideo;Audio"
+
+	dodoc README
+}


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/