[proaudio] [1175] bump Jost, broken on amd64 now

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


Revision: 1175
Author:   gimpel
Date:     2008-03-16 16:27:20 +0000 (Sun, 16 Mar 2008)

Log Message:
-----------
bump Jost, broken on amd64 now

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

Added Paths:
-----------
    trunk/overlays/proaudio/media-sound/jost/files/jost-0.4.6-elf_i386.patch
    trunk/overlays/proaudio/media-sound/jost/jost-0.4.6.ebuild


Modified: trunk/overlays/proaudio/media-sound/jost/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/jost/ChangeLog	2008-03-12 00:36:14 UTC (rev 1174)
+++ trunk/overlays/proaudio/media-sound/jost/ChangeLog	2008-03-16 16:27:20 UTC (rev 1175)
@@ -2,6 +2,10 @@
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  16 Mar 2008; Thomas Kuther <gimpel@xxxxxxxxxxxxxxxx>
+  +files/jost-0.4.6-elf_i386.patch, +jost-0.4.6.ebuild:
+  bump Jost, broken on amd64 now
+
   24 Feb 2008; Thomas Kuther <gimpel@xxxxxxxxxxxxxxxx> +jost-0.4.4.ebuild:
   version bump, new build procedure
 

Modified: trunk/overlays/proaudio/media-sound/jost/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/jost/Manifest	2008-03-12 00:36:14 UTC (rev 1174)
+++ trunk/overlays/proaudio/media-sound/jost/Manifest	2008-03-16 16:27:20 UTC (rev 1175)
@@ -1,3 +1,4 @@
+AUX jost-0.4.6-elf_i386.patch 1706 RMD160 c38a5602771fe84a2d95319d02be14bee6c55073 SHA1 be10c77a7135ff5fc93b08f4157b259167cf3dfe SHA256 a98d9f9df35252479a39a202f4a43b762ad38fec6b0dbbf9b39141859a07feba
 AUX jost.png 12118 RMD160 ee6bac556f75b47a1d1b9fc5e0fb03b54e126e72 SHA1 4ebaac75929b577e8f3b469b520ae9db2f9493a9 SHA256 6d5a4bb6a7b19a6891e0f9d38faee159ef6e7129fa5deec726064d13bc6bb737
 DIST jost_src-v0.2.3.tar.bz2 2296435 RMD160 6248a6fa22fc9b8781cf18bc0e8c9ee2926fed98 SHA1 1b438d44aafccec0fc0e9d1fa2d042ef10918641 SHA256 c0e0ae901de828a0e19e2abff1fecda0d1013fca388288142295b56bf911930a
 DIST jost_src-v0.3.2.tar.bz2 2338548 RMD160 94653368c3265581ed6df21d1f00a79c9d16ec78 SHA1 512c28a6f64ce8a740182fb08a49251d3c7e4432 SHA256 b5decacd21487eaa63ed8b2514bd5d21b67ecc79ec60bc1d5d8b7f228b917b69
@@ -7,6 +8,7 @@
 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
+DIST jost_src-v0.4.6.tar.bz2 2661690 RMD160 2e13d186af994bd1f153f3f1bd70079560690f98 SHA1 196d9e82b7a4d6634ec9b075c5e69d4dae3dc0ff SHA256 0a4c75adc73d5dca9985189040522c70c7d0e4321f869801d8cff62bb2de6d41
 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
@@ -16,5 +18,6 @@
 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
 EBUILD jost-0.4.4.ebuild 4002 RMD160 bc65106e8f70f7c7d858fcbf424e3c951806a0db SHA1 6ab3abdbf54018aebc33b4eef34e874b967d3897 SHA256 90739749dfc54eeb65f97581fb062ea920032eb72f5d07493834439156f254f9
-MISC ChangeLog 429 RMD160 70f8a1a6c4ef76607f98d23f0fb2416de741cffc SHA1 abbfa1f66783ded87a27b1554ae6141c9d04f53b SHA256 3836b4e5cb61c05bafd7985a5e90fa128a0d8e1e9c6086cc977f820493a1a812
+EBUILD jost-0.4.6.ebuild 3560 RMD160 4010f1ec37f804dc340f02fa0cebdbb32843a8fa SHA1 ca12bb30e766507f3881f42475830bc9acc69a84 SHA256 b8467dc82bc8d16dc8185bef798494e8985dc4a7e71d3e27f3817e0af9a2cad6
+MISC ChangeLog 574 RMD160 451dbb15216ca7e85a72c4d6becb336823385c1c SHA1 75bc02e582b404760f69a86dd053d0c10cfd6665 SHA256 830dc614c7d9e18e27b456bb2133c1d782c906bc0e97e3f45f456f35e9f2392b
 MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89

Added: trunk/overlays/proaudio/media-sound/jost/files/jost-0.4.6-elf_i386.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/jost/files/jost-0.4.6-elf_i386.patch	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/jost/files/jost-0.4.6-elf_i386.patch	2008-03-16 16:27:20 UTC (rev 1175)
@@ -0,0 +1,30 @@
+--- plugins/Jost/build/linux/premake.lua.orig	2008-03-16 16:21:51.000000000 +0100
++++ plugins/Jost/build/linux/premake.lua	2008-03-16 16:24:08.000000000 +0100
+@@ -33,6 +33,7 @@
+ package.config["Release32"].defines       = { "NDEBUG=1" }
+ package.config["Release32"].buildoptions  = { "-O2 -s -Wall -fvisibility=hidden -m32" }
+ package.config["Release32"].links         = { "juce32", "jucetice32" }
++package.config["Release32"].linkoptions   = { "-melf_i386" }
+ package.config["Release32"].libpaths      = { "/usr/X11R6/lib32/", "/usr/lib32/" }
+ 
+ package.includepaths = {
+--- juce/build/linux/juce_premake.lua	2008-03-16 16:48:54.000000000 +0100
++++ juce/build/linux/juce_premake.lua.mod	2008-03-16 16:48:45.000000000 +0100
+@@ -26,6 +26,7 @@
+ package.config["Release32"].target        = "juce32"
+ package.config["Release32"].objdir        = package.objdir .. "/JuceRelease32"
+ package.config["Release32"].defines       = { "NDEBUG=1" };
++package.config["Release32"].linkoptions   = { "-melf_i386" };
+ package.config["Release32"].buildoptions  = { "-O2 -s -Wall -fvisibility=hidden -m32" }
+ 
+ package.includepaths = { 
+--- jucetice/build/linux/jucetice_premake.lua.orig	2008-03-16 17:12:28.000000000 +0100
++++ jucetice/build/linux/jucetice_premake.lua	2008-03-16 17:13:24.000000000 +0100
+@@ -26,6 +26,7 @@
+ package.config["Release32"].target        = "jucetice32"
+ package.config["Release32"].objdir        = package.objdir .. "/JuceticeRelease32"
+ package.config["Release32"].defines       = { "NDEBUG=1" };
++package.config["Release32"].linkoptions   = { "-melf_i386" };
+ package.config["Release32"].buildoptions  = { "-O2 -s -Wall -fvisibility=hidden -m32" }
+ 
+ package.includepaths = { 

Added: trunk/overlays/proaudio/media-sound/jost/jost-0.4.6.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/jost/jost-0.4.6.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/jost/jost-0.4.6.ebuild	2008-03-16 16:27:20 UTC (rev 1175)
@@ -0,0 +1,144 @@
+# 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"
+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"
+
+	use amd64 && \
+		sed -i -e "s:#define JOST_USE_JACKBRIDGE         0:#define	JOST_USE_JACKBRIDGE         1:" \
+		Config.h || die "bad sed"
+
+	# fix VST header path
+	sed -i -e 's:source/common:vst:g' "${S}/wrapper/formats/VST/juce_VstWrapper.cpp" || die
+
+	# correct 32bit linking
+	cd "${S}"
+	epatch "${FILESDIR}/${P}-elf_i386.patch"
+}
+
+src_compile() {
+	# fails with --as-needed
+	filter-ldflags --as-needed -Wl,--as-needed
+
+	# append -fPIC
+	append-flags -fPIC -DPIC
+	append-ldflags -fPIC -DPIC
+
+	cd "${S}"/shared
+	# non-standard configure
+	./configure || die
+	# jost and libs are compiled 32bit on amd64
+	if use amd64; then
+		./compile_libs Release32 || die
+		./compile_jost Release32 || die
+	else
+		./compile_libs Release || die
+		./compile_jost Release || die
+	fi
+}
+
+src_install() {
+	dobin bin/jost
+	use amd64 && dobin bin/jostbridge
+	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 to start jostbridge prior to jost!"
+		echo
+	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/