forked from pool/zmusic
zmusic 1.1.14
This commit is contained in:
parent
be4fc0882a
commit
7648612419
BIN
1.1.13.tar.gz
(Stored with Git LFS)
BIN
1.1.13.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
1.1.14.tar.gz
(Stored with Git LFS)
Normal file
BIN
1.1.14.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -29,7 +29,7 @@ Index: source/CMakeLists.txt
|
|||||||
===================================================================
|
===================================================================
|
||||||
--- source/CMakeLists.txt.orig
|
--- source/CMakeLists.txt.orig
|
||||||
+++ source/CMakeLists.txt
|
+++ source/CMakeLists.txt
|
||||||
@@ -142,8 +142,11 @@ use_fast_math(zmusiclite)
|
@@ -152,8 +152,11 @@ use_fast_math(zmusiclite)
|
||||||
target_include_directories(zmusic INTERFACE $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${ZMusic_SOURCE_DIR}/include>)
|
target_include_directories(zmusic INTERFACE $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${ZMusic_SOURCE_DIR}/include>)
|
||||||
target_include_directories(zmusiclite INTERFACE $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${ZMusic_SOURCE_DIR}/include>)
|
target_include_directories(zmusiclite INTERFACE $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${ZMusic_SOURCE_DIR}/include>)
|
||||||
|
|
||||||
@ -47,7 +47,7 @@ Index: source/mididevices/music_fluidsynth_mididevice.cpp
|
|||||||
===================================================================
|
===================================================================
|
||||||
--- source/mididevices/music_fluidsynth_mididevice.cpp.orig
|
--- source/mididevices/music_fluidsynth_mididevice.cpp.orig
|
||||||
+++ source/mididevices/music_fluidsynth_mididevice.cpp
|
+++ source/mididevices/music_fluidsynth_mididevice.cpp
|
||||||
@@ -46,7 +46,7 @@
|
@@ -47,7 +47,7 @@
|
||||||
|
|
||||||
FluidConfig fluidConfig;
|
FluidConfig fluidConfig;
|
||||||
|
|
||||||
@ -60,8 +60,8 @@ Index: thirdparty/CMakeLists.txt
|
|||||||
===================================================================
|
===================================================================
|
||||||
--- thirdparty/CMakeLists.txt.orig
|
--- thirdparty/CMakeLists.txt.orig
|
||||||
+++ thirdparty/CMakeLists.txt
|
+++ thirdparty/CMakeLists.txt
|
||||||
@@ -45,4 +45,3 @@ add_subdirectory(timidity)
|
@@ -28,4 +28,3 @@ add_subdirectory(timidityplus)
|
||||||
add_subdirectory(timidityplus)
|
|
||||||
add_subdirectory(wildmidi)
|
add_subdirectory(wildmidi)
|
||||||
add_subdirectory(oplsynth)
|
add_subdirectory(oplsynth)
|
||||||
|
add_subdirectory(libxmp)
|
||||||
-add_subdirectory(fluidsynth/src)
|
-add_subdirectory(fluidsynth/src)
|
||||||
|
45
system-libxmp.patch
Normal file
45
system-libxmp.patch
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
From: Jan Engelhardt <ej@inai.de>
|
||||||
|
Date: 2024-10-12 09:44:49.402360010 +0200
|
||||||
|
|
||||||
|
---
|
||||||
|
source/CMakeLists.txt | 2 +-
|
||||||
|
source/streamsources/music_libxmp.cpp | 3 +--
|
||||||
|
thirdparty/CMakeLists.txt | 1 -
|
||||||
|
3 files changed, 2 insertions(+), 4 deletions(-)
|
||||||
|
|
||||||
|
Index: source/CMakeLists.txt
|
||||||
|
===================================================================
|
||||||
|
--- source/CMakeLists.txt.orig
|
||||||
|
+++ source/CMakeLists.txt
|
||||||
|
@@ -128,7 +128,7 @@ if(WIN32)
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
-target_link_libraries(zmusic-obj INTERFACE dumb gme libxmp ZLIB::ZLIB ${CMAKE_DL_LIBS})
|
||||||
|
+target_link_libraries(zmusic-obj INTERFACE dumb gme -lxmp ZLIB::ZLIB ${CMAKE_DL_LIBS})
|
||||||
|
|
||||||
|
target_include_directories(zmusic-obj
|
||||||
|
INTERFACE
|
||||||
|
Index: source/streamsources/music_libxmp.cpp
|
||||||
|
===================================================================
|
||||||
|
--- source/streamsources/music_libxmp.cpp.orig
|
||||||
|
+++ source/streamsources/music_libxmp.cpp
|
||||||
|
@@ -39,8 +39,7 @@
|
||||||
|
#include <limits.h>
|
||||||
|
#include "streamsource.h"
|
||||||
|
|
||||||
|
-#define LIBXMP_STATIC 1
|
||||||
|
-#include "../libxmp/include/xmp.h"
|
||||||
|
+#include <xmp.h>
|
||||||
|
#include "zmusic/m_swap.h"
|
||||||
|
#include "zmusic/mididefs.h"
|
||||||
|
#include "zmusic/midiconfig.h"
|
||||||
|
Index: thirdparty/CMakeLists.txt
|
||||||
|
===================================================================
|
||||||
|
--- thirdparty/CMakeLists.txt.orig
|
||||||
|
+++ thirdparty/CMakeLists.txt
|
||||||
|
@@ -37,4 +37,3 @@ add_subdirectory(timidity)
|
||||||
|
add_subdirectory(timidityplus)
|
||||||
|
add_subdirectory(wildmidi)
|
||||||
|
add_subdirectory(oplsynth)
|
||||||
|
-add_subdirectory(libxmp)
|
@ -13,12 +13,12 @@ Index: source/CMakeLists.txt
|
|||||||
===================================================================
|
===================================================================
|
||||||
--- source/CMakeLists.txt.orig
|
--- source/CMakeLists.txt.orig
|
||||||
+++ source/CMakeLists.txt
|
+++ source/CMakeLists.txt
|
||||||
@@ -127,7 +127,7 @@ if(WIN32)
|
@@ -128,7 +128,7 @@ if(WIN32)
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
-target_link_libraries(zmusic-obj INTERFACE dumb gme miniz ${CMAKE_DL_LIBS})
|
-target_link_libraries(zmusic-obj INTERFACE dumb gme libxmp miniz ${CMAKE_DL_LIBS})
|
||||||
+target_link_libraries(zmusic-obj INTERFACE dumb gme ZLIB::ZLIB ${CMAKE_DL_LIBS})
|
+target_link_libraries(zmusic-obj INTERFACE dumb gme libxmp ZLIB::ZLIB ${CMAKE_DL_LIBS})
|
||||||
|
|
||||||
target_include_directories(zmusic-obj
|
target_include_directories(zmusic-obj
|
||||||
INTERFACE
|
INTERFACE
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Oct 12 07:46:25 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Update to release 1.1.14
|
||||||
|
* Switch to libxmp for most tracker formats
|
||||||
|
* Switch to float output
|
||||||
|
- Add system-libxmp.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Aug 28 00:51:23 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
Wed Aug 28 00:51:23 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: zmusic
|
Name: zmusic
|
||||||
Version: 1.1.13
|
Version: 1.1.14
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: ZDoom component library for music handling
|
Summary: ZDoom component library for music handling
|
||||||
License: GPL-3.0-only
|
License: GPL-3.0-only
|
||||||
@ -30,6 +30,7 @@ Patch1: system-fluidsynth.patch
|
|||||||
Patch2: system-gme.patch
|
Patch2: system-gme.patch
|
||||||
Patch3: system-zlib.patch
|
Patch3: system-zlib.patch
|
||||||
Patch4: dumb-dumb.patch
|
Patch4: dumb-dumb.patch
|
||||||
|
Patch5: system-libxmp.patch
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
@ -37,6 +38,7 @@ BuildRequires: pkgconfig(alsa)
|
|||||||
BuildRequires: pkgconfig(fluidsynth)
|
BuildRequires: pkgconfig(fluidsynth)
|
||||||
BuildRequires: pkgconfig(libgme)
|
BuildRequires: pkgconfig(libgme)
|
||||||
BuildRequires: pkgconfig(libmpg123)
|
BuildRequires: pkgconfig(libmpg123)
|
||||||
|
BuildRequires: pkgconfig(libxmp)
|
||||||
BuildRequires: pkgconfig(sndfile)
|
BuildRequires: pkgconfig(sndfile)
|
||||||
BuildRequires: pkgconfig(zlib)
|
BuildRequires: pkgconfig(zlib)
|
||||||
Suggests: fluid-soundfont-gm
|
Suggests: fluid-soundfont-gm
|
||||||
@ -44,6 +46,7 @@ Suggests: fluid-soundfont-gs
|
|||||||
Suggests: timidity
|
Suggests: timidity
|
||||||
Suggests: timidity-eawpats
|
Suggests: timidity-eawpats
|
||||||
# DUMB is modified to read OggVorbis samples
|
# DUMB is modified to read OggVorbis samples
|
||||||
|
# Though everything else has been moved to libxmp, DSIK format still uses foo_DUMB
|
||||||
Provides: bundled(dumb) = 0.9.3
|
Provides: bundled(dumb) = 0.9.3
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
Loading…
Reference in New Issue
Block a user