[proaudio] [1166] bump jost

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


Revision: 1166
Author:   gimpel
Date:     2008-02-24 13:15:16 +0000 (Sun, 24 Feb 2008)

Log Message:
-----------
bump jost

Modified Paths:
--------------
    trunk/overlays/proaudio/media-sound/jost/ChangeLog
    trunk/overlays/proaudio/media-sound/jost/Manifest

Added Paths:
-----------
    trunk/overlays/proaudio/media-sound/jost/jost-0.4.4.ebuild


Modified: trunk/overlays/proaudio/media-sound/jost/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/jost/ChangeLog	2008-02-19 21:14:19 UTC (rev 1165)
+++ trunk/overlays/proaudio/media-sound/jost/ChangeLog	2008-02-24 13:15:16 UTC (rev 1166)
@@ -2,6 +2,9 @@
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  24 Feb 2008; Thomas Kuther <gimpel@xxxxxxxxxxxxxxxx> +jost-0.4.4.ebuild:
+  version bump, new build procedure
+
   08 Jan 2008; Thomas Kuther <gimpel@xxxxxxxxxxxxxxxx> jost-0.4.3-r1.ebuild:
   add libxcb checks/warnings/notes
 

Modified: trunk/overlays/proaudio/media-sound/jost/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/jost/Manifest	2008-02-19 21:14:19 UTC (rev 1165)
+++ trunk/overlays/proaudio/media-sound/jost/Manifest	2008-02-24 13:15:16 UTC (rev 1166)
@@ -6,6 +6,7 @@
 DIST jost_src-v0.4.1.tar.bz2 2430013 RMD160 8d8bac5d79c232f2d659b1bad26e01a9902a22d8 SHA1 02129f04770cf1add96b9654b305aca2e6c9d9f7 SHA256 95faef27f74aaee852fbad10628720830fc54bd40ad285b1541871e3bd07f2ab
 DIST jost_src-v0.4.2.tar.bz2 2541792 RMD160 19c87795dd5a5236821e2d05656125e7f3810800 SHA1 194c25f294de843e4b65c37e21b621bbba36b2b6 SHA256 779f5e3828f4a8aaf42b1995e16a4335d97e918622b0e9ea70b9c6c12f64db75
 DIST jost_src-v0.4.3.tar.bz2 2576356 RMD160 bd3c5cd3ed33e75608d2121a56ab0f8d487d7415 SHA1 56f8fec2faa7ab9e5e10827e5825792100ebee0d SHA256 86836c5c3096fb4b0c3d2fb2272361105680ca4e5534dd6312ce0bdfb2d34312
+DIST jost_src-v0.4.4.tar.bz2 2627267 RMD160 0b7d1a09900974f8d3ddfee5b0b44041f494bafa SHA1 1820fe1d372a510f1b62f4585d38ac91a2798538 SHA256 9ba5e16bbb5d4cf78bc790da3e98e649f2b7c8600280ad6567ceb5978d8eef2f
 EBUILD jost-0.2.3.ebuild 1111 RMD160 1b39cd32f72aa2fec21fbfbc6f8a8da8b6a2cde9 SHA1 ebcba7ca17ff83d81c094217c47e64151b7b91f8 SHA256 7e4eb1cae166c654d0a7ba5b5753e3bdc76f5a4965d4ea5f2f9cdf79756832ab
 EBUILD jost-0.3.2.ebuild 1946 RMD160 225bcc0aa7a42feb715ae3ebb4d85c4754290b73 SHA1 7988c680c1d8a43ff058d68f873ab0e9affc128d SHA256 3a50b78f183e22277c88974ba6d1099eda734fcd0baa6edac9babbd61300a2ad
 EBUILD jost-0.3.3.ebuild 1980 RMD160 11cd6b55236b445d597f4205fc3c90c4a13fe847 SHA1 ad8e6da8f7ab5f126697d9a771c932c2e92c0400 SHA256 c4948f46ba4dc8fd5dc1d91debac8c465331d96437af791b9742991a87b3d960
@@ -14,5 +15,6 @@
 EBUILD jost-0.4.2.ebuild 2200 RMD160 b0cc3cbe8f7c5bf766f9ec9669d589a6fc960d2c SHA1 e6669b97d135ab8bfa88bb55028437d567172321 SHA256 3b3f726d190404b379651af92acc26ffe8a43a48f5bef9da0717f1aeb9c064e3
 EBUILD jost-0.4.3-r1.ebuild 3914 RMD160 e70f922413627b0c7e50045a1a30231ee25a3b3f SHA1 3ae53d7a04c013a5ce11e39734f280cc89091a34 SHA256 c95632085a9855c2886539c0780de667b532d572ba8804fedd79210a154afeef
 EBUILD jost-0.4.3.ebuild 2219 RMD160 0ea1b60b83058744735b37784b7d35cbb895009c SHA1 a0632c3106050ffa5621204a8c5539bdcabff247 SHA256 70e4f50878416a67affd47e3966942492726aa3162b70c90f24e3e3f16b9d8c9
-MISC ChangeLog 317 RMD160 2883de5a0b33fa3a06e938be1758eff48881df24 SHA1 5572fb5e8dac3c55bff905cd5b1ff175270d13a8 SHA256 4eae5837c34348e55ab1d48be4bc9ce89a80a6941b1cd6b56573e61140a48e04
+EBUILD jost-0.4.4.ebuild 4002 RMD160 bc65106e8f70f7c7d858fcbf424e3c951806a0db SHA1 6ab3abdbf54018aebc33b4eef34e874b967d3897 SHA256 90739749dfc54eeb65f97581fb062ea920032eb72f5d07493834439156f254f9
+MISC ChangeLog 429 RMD160 70f8a1a6c4ef76607f98d23f0fb2416de741cffc SHA1 abbfa1f66783ded87a27b1554ae6141c9d04f53b SHA256 3836b4e5cb61c05bafd7985a5e90fa128a0d8e1e9c6086cc977f820493a1a812
 MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89

Added: trunk/overlays/proaudio/media-sound/jost/jost-0.4.4.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/jost/jost-0.4.4.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/jost/jost-0.4.4.ebuild	2008-02-24 13:15:16 UTC (rev 1166)
@@ -0,0 +1,149 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils flag-o-matic multilib
+
+MY_P="${PN}_src-v${PV}"
+
+DESCRIPTION="JACK host for native linux VST, DSSI and LADSPA plugins with
+sequencer capabilities"
+HOMEPAGE="http://www.anticore.org/jucetice/?page_id=4";
+SRC_URI="http://www.anticore.org/jucetice/wp-content/uploads/${MY_P}.tar.bz2";
+RESTRICT="nomirror"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+EAPI="1"
+KEYWORDS="~x86 ~amd64"
+IUSE="+vst ladspa dssi"
+
+RDEPEND="|| ( (  x11-proto/xineramaproto
+					x11-proto/xextproto
+					x11-proto/xproto )
+			virtual/x11 )
+		media-sound/jack-audio-connection-kit"
+DEPEND="${RDEPEND}
+		vst? ( media-libs/vst-sdk )
+		ladspa? ( media-libs/ladspa-sdk )
+        dssi? ( media-libs/dssi )"
+
+# uh, is there any better way to say following:
+if use amd64 && use vst; then
+	DEPEND="${DEPEND}
+		app-emulation/emul-linux-x86-xlibs"
+fi
+
+S="${WORKDIR}/${PN}-v${PV}"
+
+pkg_setup() {
+	# at least one of those must be selected
+	if ! use dssi; then
+		if ! use ladspa; then
+			if ! use vst; then
+				echo
+				eerror "Uhm, you disabled Support for all plugin systems!"
+				eerror "This would make Jost quite useless."
+				eerror "Please enable at least one of them!"
+				echo
+				die "No useflags enabled"
+			fi
+		fi
+	fi
+
+	# XCB issues
+	if built_with_use x11-libs/libX11 xcb; then
+		if has_version "<x11-libs/libxcb-1.1"; then
+			eerror "You have libX11 compiled with xcb support, and you are"
+			eerror "using libxcb older than version 1.1. Jost will not work."
+			eerror "Please update your libxcb first"
+			die
+		fi
+	fi
+}
+
+src_unpack() {
+	unpack ${A}
+
+	# patch use flags
+	cd ${S}/plugins/Jost/src
+	use vst || \
+		sed -i -e "s:#define JOST_USE_VST://#define JOST_USE_VST:" \
+		Config.h || die "bad sed"
+
+	use ladspa || \
+		sed -i -e "s:#define JOST_USE_LADSPA://#define JOST_USE_LADSPA:" \
+		Config.h || die "bad sed"
+
+	use dssi || \
+		sed -i -e "s:#define JOST_USE_DSSI://#define JOST_USE_DSSI:" \
+		Config.h || die "bad sed"
+
+	# If USE="vst" is requested, we build 32bit on amd64
+	# otherwhise you won't be able to load VSTs
+	if use amd64 && use vst; then
+			sed -i \
+			-e 's:/usr/lib/:/usr/lib32/:' \
+			-e 's:/usr/X11R6/lib/:/usr/X11R6/lib32/:' \
+			"../build/linux/jost.make"
+	fi
+
+	# tmp fix, lash isn't needed
+	sed -i -e 's:-llash ::' "../build/linux/jost.make"
+
+	# fix VST header path
+	sed -i -e 's:source/common:vst:g' "${S}/wrapper/formats/VST/juce_VstWrapper.cpp" || die
+}
+
+src_compile() {
+	# fails with --as-needed
+	filter-ldflags --as-needed -Wl,--as-needed
+
+	# If USE="vst" is requested, we build 32bit on amd64
+	# otherwhise you won't be able to load VSTs
+	if use amd64 && use vst; then
+		multilib_toolchain_setup x86
+		einfo "VST support requested. JOST will be built as 32bit binary"
+	fi
+
+	cd "${S}"/shared
+	# non-standard configure
+	./configure || die
+	./compile_libs Release || die
+	# small bug... chmod
+	chmod +x compile_jost
+	./compile_jost Release || die
+}
+
+src_install() {
+	dobin bin/jost
+	dodoc readme.txt changelog.txt
+	doicon "${FILESDIR}/jost.png"
+	make_desktop_entry "${PN}" "Jost" "${PN}" "AudioVideo;Audio;"
+}
+
+pkg_postinst() {
+	elog "For some sample native linux VST's emerge some of"
+	elog "media-plugins/vst_plugins-*"
+	elog ""
+	elog "You can also drag&drop LADSPA, DSSI and VST plugins from your plugin"
+	elog "folders."
+
+	if use amd64 && use vst; then
+		echo
+		elog "You have enabled the vst useflag on amd64. JOST has been"
+		elog "built as 32bit binary, so you are able to load VSTs."
+		elog "In conecquence, you will not be able to connect JOST to a"
+		elog "64bit jackd instance! You can either emerge emul-linux-x86-jackd,"
+		elog "install JOST in a 32bit chroot, or disable VST support for JOST."
+	fi
+	
+	if built_with_use x11-libs/libX11 xcb; then
+		ewarn "You have compiled libX11 with xcb enabled."
+		ewarn "Make sure you use libxcb-1.1 or higher, and do"
+		echo
+		ewarn "export LIBXCB_ALLOW_SLOPPY_LOCK=1"
+		echo
+		ewarn "Otherwhise Jost will freeze after startup!"
+	fi
+}


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