Accepting request 691993 from home:plater
- Update to version 6.12.2 and fix Factory build. - Remove obsolete patches: csound-scons-on-py3.patch and csound-strncat-fix.patch - Added fluidsynth2.patch from Arch linux - Added csound-6.08-default-pulse.patch, csound-6.08-xdg-open.patch from Fedora. - Now builds with cmake - For upstream changes see: /usr/share/doc/packages/csound/Release_Notes/ OBS-URL: https://build.opensuse.org/request/show/691993 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/csound?expand=0&rev=27
This commit is contained in:
parent
c12762cbf6
commit
5c424e6ce5
@ -1,33 +0,0 @@
|
||||
--- cmake/CompilerOptimizations.cmake.orig 2017-02-04 21:33:49.238875410 +0200
|
||||
+++ cmake/CompilerOptimizations.cmake 2017-02-04 21:38:33.681564067 +0200
|
||||
@@ -19,30 +19,6 @@ if (HAS_CXX_FAST_MATH AND NOT MINGW)
|
||||
endif()
|
||||
|
||||
|
||||
-if(NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||
-
|
||||
-check_c_compiler_flag(-mfpmath=sse HAS_FPMATH_SSE)
|
||||
-check_cxx_compiler_flag(-mfpmath=sse HAS_CXX_FPMATH_SSE)
|
||||
- if (HAS_FPMATH_SSE)
|
||||
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mfpmath=sse")
|
||||
-endif()
|
||||
-if (HAS_CXX_FPMATH_SSE)
|
||||
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mfpmath=sse")
|
||||
-endif()
|
||||
-
|
||||
-endif()
|
||||
-
|
||||
-
|
||||
-check_c_compiler_flag(-msse2 HAS_SSE2)
|
||||
-check_cxx_compiler_flag(-msse2 HAS_CXX_SSE2)
|
||||
- if (HAS_SSE2 AND NOT IOS)
|
||||
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse2")
|
||||
-endif()
|
||||
-if (HAS_CXX_SSE2 AND NOT IOS)
|
||||
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse2")
|
||||
-endif()
|
||||
-
|
||||
-
|
||||
check_c_compiler_flag(-fomit-frame-pointer HAS_OMIT_FRAME_POINTER)
|
||||
check_cxx_compiler_flag(-fomit-frame-pointer HAS_CXX_OMIT_FRAME_POINTER)
|
||||
if (HAS_OMIT_FRAME_POINTER)
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 6 11:05:19 UTC 2019 - plater <davejplater@gmail.com>
|
||||
|
||||
- Update to version 6.12.2 and fix Factory build.
|
||||
- Remove obsolete patches:
|
||||
csound-scons-on-py3.patch and csound-strncat-fix.patch
|
||||
- Added fluidsynth2.patch from Arch linux
|
||||
- Added csound-6.08-default-pulse.patch, csound-6.08-xdg-open.patch
|
||||
from Fedora.
|
||||
- Now builds with cmake
|
||||
- For upstream changes see:
|
||||
/usr/share/doc/packages/csound/Release_Notes/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 23 14:49:33 UTC 2017 - dimstar@opensuse.org
|
||||
|
||||
|
@ -33,8 +33,6 @@ Source: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz#/%{
|
||||
Source1: README.SUSE
|
||||
# Default to using pulseaudio instead of portaudio
|
||||
Patch2: csound-6.08-default-pulse.patch
|
||||
# Do not use SSE2 on non-x86_64 platforms
|
||||
Patch3: csound-6.08-sse2.patch
|
||||
# Use xdg-open to open a browser to view the manual
|
||||
Patch4: csound-6.08-xdg-open.patch
|
||||
Patch6: fluidsynth2.patch
|
||||
@ -121,9 +119,6 @@ Development files for Csound.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch2 -p1 -b .default-pulse
|
||||
%ifnarch x86_64
|
||||
%patch3 -p0 -b .sse2
|
||||
%endif
|
||||
%patch4 -p1 -b .xdg-open
|
||||
#%%patch5 -p1
|
||||
%patch6 -p1
|
||||
|
Loading…
Reference in New Issue
Block a user