From 2331b0a65233551fa81e0a7bf5c3b58219adb4eb Mon Sep 17 00:00:00 2001
From: susnux <>
Date: Feb 15 2024 20:21:39 +0000
Subject: Update alure to version 1.2 / rev 5 via SR 1146928
https://build.opensuse.org/request/show/1146928
by user susnux + anag+factory
---
diff --git a/.files b/.files
index 61e15a0..66bc42c 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 866f6b5..b50c589 100644
--- a/.rev
+++ b/.rev
@@ -31,4 +31,12 @@
1002725
+
+ c177bf1111b24214524afb0651c2b32a
+ 1.2
+
+ anag+factory
+
+ 1146928
+
diff --git a/alure-cmake-3.28.patch b/alure-cmake-3.28.patch
new file mode 100644
index 0000000..55ec1ec
--- /dev/null
+++ b/alure-cmake-3.28.patch
@@ -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)
diff --git a/alure.changes b/alure.changes
index 33cf2fe..fbc65ed 100644
--- a/alure.changes
+++ b/alure.changes
@@ -1,4 +1,12 @@
-------------------------------------------------------------------
+Wed Feb 14 15:55:05 UTC 2024 - Dominique Leuenberger
+
+- 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
- Change URL/Source to https://kcat.tomasu.net/alure.html
diff --git a/alure.spec b/alure.spec
index 8a0c98c..5c654b6 100644
--- a/alure.spec
+++ b/alure.spec
@@ -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