[proaudio] [1176] muha, compiling jost Realease32 with a 32bit toolchain and jostbridge with -m64 does the trick

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


Revision: 1176
Author:   gimpel
Date:     2008-03-16 16:47:52 +0000 (Sun, 16 Mar 2008)

Log Message:
-----------
muha, compiling jost Realease32 with a 32bit toolchain and jostbridge with -m64 does the trick

Modified Paths:
--------------
    trunk/overlays/proaudio/media-sound/jost/Manifest
    trunk/overlays/proaudio/media-sound/jost/jost-0.4.6.ebuild

Added Paths:
-----------
    trunk/overlays/proaudio/media-sound/jost/files/jost-0.4.6-jostbridge-m64.patch


Modified: trunk/overlays/proaudio/media-sound/jost/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/jost/Manifest	2008-03-16 16:27:20 UTC (rev 1175)
+++ trunk/overlays/proaudio/media-sound/jost/Manifest	2008-03-16 16:47:52 UTC (rev 1176)
@@ -1,4 +1,5 @@
 AUX jost-0.4.6-elf_i386.patch 1706 RMD160 c38a5602771fe84a2d95319d02be14bee6c55073 SHA1 be10c77a7135ff5fc93b08f4157b259167cf3dfe SHA256 a98d9f9df35252479a39a202f4a43b762ad38fec6b0dbbf9b39141859a07feba
+AUX jost-0.4.6-jostbridge-m64.patch 368 RMD160 f9da9da36d667496972bff1386983fb32ccb8ed4 SHA1 2bc09128e3567753d6187bafdcfc399812d50ceb SHA256 bb90da14d592bd1d8671dad391d27b0ce9182dcc3012c5383209f124f7bfeb23
 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
@@ -18,6 +19,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
-EBUILD jost-0.4.6.ebuild 3560 RMD160 4010f1ec37f804dc340f02fa0cebdbb32843a8fa SHA1 ca12bb30e766507f3881f42475830bc9acc69a84 SHA256 b8467dc82bc8d16dc8185bef798494e8985dc4a7e71d3e27f3817e0af9a2cad6
+EBUILD jost-0.4.6.ebuild 3721 RMD160 502879e9fa19b6735c598abb31a90a257dddd18f SHA1 6335033be5200ecff0f54505f9a23afaeda630c6 SHA256 83b62c84c55a31fc15ec9346140a3dd9d62e45f518c0e3382d2eea918a69449b
 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-jostbridge-m64.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/jost/files/jost-0.4.6-jostbridge-m64.patch	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/jost/files/jost-0.4.6-jostbridge-m64.patch	2008-03-16 16:47:52 UTC (rev 1176)
@@ -0,0 +1,11 @@
+--- plugins/Jost/build/bridge/Makefile.orig	2008-03-16 17:38:04.000000000 +0100
++++ plugins/Jost/build/bridge/Makefile	2008-03-16 17:38:23.000000000 +0100
+@@ -8,7 +8,7 @@
+ all: jostbridge
+ 
+ jostbridge:
+-	gcc -lrt -ljack jostbridge.c -o $(OUTPUTDIR)/jostbridge 
++	gcc -m64 -lrt -ljack jostbridge.c -o $(OUTPUTDIR)/jostbridge 
+ 
+ install:
+ 	cp jostbridge $(PREFIX)/bin

Modified: trunk/overlays/proaudio/media-sound/jost/jost-0.4.6.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/jost/jost-0.4.6.ebuild	2008-03-16 16:27:20 UTC (rev 1175)
+++ trunk/overlays/proaudio/media-sound/jost/jost-0.4.6.ebuild	2008-03-16 16:47:52 UTC (rev 1176)
@@ -15,7 +15,7 @@
 LICENSE="LGPL-2.1"
 SLOT="0"
 EAPI="1"
-KEYWORDS="~x86"
+KEYWORDS="~x86 ~amd64"
 IUSE="+vst ladspa dssi"
 
 RDEPEND="|| ( (  x11-proto/xineramaproto
@@ -86,12 +86,16 @@
 	# fix VST header path
 	sed -i -e 's:source/common:vst:g' "${S}/wrapper/formats/VST/juce_VstWrapper.cpp" || die
 
-	# correct 32bit linking
+	# HACK!
 	cd "${S}"
-	epatch "${FILESDIR}/${P}-elf_i386.patch"
+	use amd64 && epatch "${FILESDIR}/${P}-jostbridge-m64.patch"
 }
 
 src_compile() {
+	# test.. we compile Release32, but with a 32bit toolchain, and compile
+	# jackbridge with -m64, let's see
+	use amd64 && multilib_toolchain_setup x86
+
 	# fails with --as-needed
 	filter-ldflags --as-needed -Wl,--as-needed
 


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