From 7db545bbd6244441d8b1f3a7e49526f459faf322 Mon Sep 17 00:00:00 2001 From: green Date: Sep 02 2006 05:23:17 +0000 Subject: Add ppc support again. --- diff --git a/zynaddsubfx.spec b/zynaddsubfx.spec index 24f8f06..7132169 100644 --- a/zynaddsubfx.spec +++ b/zynaddsubfx.spec @@ -1,7 +1,7 @@ Summary: Real-time software synthesizer Name: zynaddsubfx Version: 2.2.1 -Release: 9%{?dist} +Release: 10%{?dist} License: GPL Group: Applications/Multimedia URL: http://zynaddsubfx.sourceforge.net @@ -21,7 +21,7 @@ Requires: hicolor-icon-theme BuildRequires: alsa-lib-devel fftw3-devel fltk-devel mxml-devel BuildRequires: jack-audio-connection-kit-devel zlib-devel lash-devel BuildRequires: libX11-devel fltk-fluid -BuildRequires: ImageMagick +BuildRequires: ImageMagick perl BuildRequires: desktop-file-utils Requires(post): desktop-file-utils @@ -49,6 +49,10 @@ Documentation and examples for ZynAddSubFX # fix microtuning bug (no keyboard mapping being done) %{__perl} -p -i -e "s|tmp=Pmapping\[tx\]|Pmapping\[tx\]=tmp|g" src/Misc/Microtonal.C +%ifarch ppc +%{__perl} -p -i -e "s|ASM_F2I=YES|ASM_F2I=NO|g" src/Makefile.inc +%endif + cd src # do not use smp flags, makefile is not smp safe make AUDIOOUT=JACK CXXFLAGS="-DOS_LINUX -DALSAMIDIIN -DFFTW_VERSION_3 -DASM_F2I_YES `fltk-config --cflags` -DJACKAUDIOOUT `pkg-config --cflags jack` `pkg-config --cflags lash-1.0`" @@ -141,6 +145,9 @@ touch --no-create %{_datadir}/icons/hicolor || : %{_datadir}/icons/hicolor/64x64/apps/zynaddsubfx.png %changelog +* Wed Aug 30 2006 Anthony Green 2.2.1-10 +- Fix ppc problem. Add perl dependency. + * Wed Aug 30 2006 Anthony Green 2.2.1-9 - Only build for x86 and x86-64 for now. (ppc build problem)