diff options
-rw-r--r-- | community/zynaddsubfx/PKGBUILD | 9 | ||||
-rw-r--r-- | community/zynaddsubfx/zynaddsubfx-2.4.3-no_sse_generic.patch | 21 |
2 files changed, 27 insertions, 3 deletions
diff --git a/community/zynaddsubfx/PKGBUILD b/community/zynaddsubfx/PKGBUILD index b5ce8787a..1e3602001 100644 --- a/community/zynaddsubfx/PKGBUILD +++ b/community/zynaddsubfx/PKGBUILD @@ -8,7 +8,7 @@ pkgname=zynaddsubfx pkgver=2.4.3 pkgrel=1 pkgdesc="Opensource software synthesizer capable of making a countless number of instruments." -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://zynaddsubfx.sourceforge.net" license=('GPL') depends=('fltk' 'libgl' 'fftw' 'lash' 'mxml') @@ -17,11 +17,13 @@ options=('!emptydirs') source=("http://switch.dl.sourceforge.net/sourceforge/$pkgname/ZynAddSubFX-$pkgver.tar.bz2" "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-sound/zynaddsubfx/files/zynaddsubfx-2.4.1-fltk.patch" "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-sound/zynaddsubfx/files/zynaddsubfx-2.4.1-fltk13.patch" - "$pkgname.svg") + "$pkgname.svg" + "zynaddsubfx-2.4.3-no_sse_generic.patch") md5sums=('2e8994cc54e5f1a64b77dfac3baf0d9a' 'eb95d339ff5deac8c6b54965f04a8c60' '49464a33ab9c4250520eda0df7705663' - '6f7e9c3ce3947088a10c99c46a65431f') + '6f7e9c3ce3947088a10c99c46a65431f' + 'd997b35b47eff56a2d056df61b737ddc') build() { cd "$srcdir" @@ -33,6 +35,7 @@ build() { # patches # patch -p1 -i "$srcdir/$pkgname-$pkgver-fltk.patch" # patch -p1 -i "$srcdir/$pkgname-$pkgver-fltk13.patch" + patch -Np1 -i ${srcdir}/zynaddsubfx-2.4.3-no_sse_generic.patch sed -i '1,1i#include <unistd.h>' src/Nio/NulEngine.cpp [ -d build ] || mkdir build && cd build diff --git a/community/zynaddsubfx/zynaddsubfx-2.4.3-no_sse_generic.patch b/community/zynaddsubfx/zynaddsubfx-2.4.3-no_sse_generic.patch new file mode 100644 index 000000000..8eb295689 --- /dev/null +++ b/community/zynaddsubfx/zynaddsubfx-2.4.3-no_sse_generic.patch @@ -0,0 +1,21 @@ +--- ZynAddSubFX-2.4.3.orig/src/CMakeLists.txt 2012-06-15 23:22:35.000000000 -0500 ++++ ZynAddSubFX-2.4.3/src/CMakeLists.txt 2013-06-15 10:53:13.109741210 -0500 +@@ -116,8 +116,8 @@ + ) + + set (BuildOptionsBasic +- "-O3 -msse -msse2 -mfpmath=sse -ffast-math -fomit-frame-pointer" +- CACHE STRING "basic X86 complier options" ++ "-O3 -ffast-math -fomit-frame-pointer" ++ CACHE STRING "basic complier options" + ) + + set (BuildOptionsDebug +@@ -173,7 +173,6 @@ + include_directories(${ZLIB_INCLUDE_DIRS} ${MXML_INCLUDE_DIRS}) + + add_definitions( +- -DASM_F2I_YES + -g #TODO #todo put in a better location + -Wall + -Wextra |