SHA256
1
0
forked from pool/alure
Ana Guerrero 2024-02-15 20:01:50 +00:00 committed by Git OBS Bridge
commit 6e14902193
3 changed files with 23 additions and 1 deletions

13
alure-cmake-3.28.patch Normal file
View File

@ -0,0 +1,13 @@
Index: alure-1.2/CMakeLists.txt
===================================================================
--- alure-1.2.orig/CMakeLists.txt
+++ alure-1.2/CMakeLists.txt
@@ -223,7 +223,7 @@ IF(SNDFILE)
SET(HAS_SNDFILE 1)
LINK_DIRECTORIES(${SNDFILE_LIBRARY_DIRS})
SET_SOURCE_FILES_PROPERTIES(src/codec_sndfile.cpp PROPERTIES
- COMPILE_FLAGS "${SNDFILE_CFLAGS}")
+ COMPILE_OPTIONS "${SNDFILE_CFLAGS}")
ELSE(SNDFILE_FOUND)
FIND_PACKAGE(SndFile)
IF(SNDFILE_FOUND)

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Feb 14 15:55:05 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Add alure-cmake-3.28.patch: Fix build using CMake 3.28: set
sndfile flags into COMPILE_OPTIONS (which takes a semicolon
separatedlist) instead of COMPILE_FLAGS (which asks for a shell
usable string).
-------------------------------------------------------------------
Wed Sep 7 05:16:39 UTC 2022 - munix9@googlemail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package alure
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -33,6 +33,7 @@ Patch2: fix-lib-suffix.patch
Patch3: fix-link-flac.patch
Patch4: fix-FLUIDSYNTH_CFLAGS.patch
Patch5: fix-dumb2.patch
Patch6: alure-cmake-3.28.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: ninja