11 Commits

Author SHA256 Message Date
dbb43eb0db fix invalid imported files 2025-08-07 17:17:11 +02:00
1c2b2ef9d2 Merge remote-tracking branch 'devel/master' into factory 2025-08-07 17:15:26 +02:00
c9f8e74e4d Accepting request 1219490 from games
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1219490
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zmusic?expand=0&rev=12
2024-10-30 16:39:58 +00:00
OBS User unknown
4862fdd0d6 [info=7648612419ea37f0be06a9ef89cf0a9ad923da886859813a7c09ff9ece4b9ef5]
OBS-URL: https://build.opensuse.org/package/show/games/zmusic?expand=0&rev=28
2024-10-12 08:33:35 +00:00
OBS User unknown
ca31d46414 [info=33260869e1a90c9245b62ef8cb93011cc0d3a509a18ebd077b4a3aa9901c1efe]
OBS-URL: https://build.opensuse.org/package/show/games/zmusic?expand=0&rev=27
2024-10-12 07:50:55 +00:00
OBS User unknown
bab94d1424 [info=175275fd9e23b1715ca40a6d2fd83bf621fff6381160146c361b145247d35453]
OBS-URL: https://build.opensuse.org/package/show/games/zmusic?expand=0&rev=26
2024-10-12 07:50:43 +00:00
OBS User unknown
695c62e513 [info=fbb4b04fc211b75040ad69ddfb92f68cb61529013042d2e8510a5e63110807df]
OBS-URL: https://build.opensuse.org/package/show/games/zmusic?expand=0&rev=25
2024-10-12 07:47:24 +00:00
c458247b54 Accepting request 1196367 from games
- update to 1.1.13:

OBS-URL: https://build.opensuse.org/request/show/1196367
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zmusic?expand=0&rev=11
2024-08-28 19:30:20 +00:00
OBS User unknown
0ba480a43d [info=be4fc0882a76d1a58bde1bf718e29cd9f87a0ec015502d2aed5e4c2dfe490d1c]
OBS-URL: https://build.opensuse.org/package/show/games/zmusic?expand=0&rev=24
2024-08-28 00:49:53 +00:00
625c19e301 [info=ce0ee70405d17eb44fa2f5edb60fee8c6c0e18910e2a62b17429126dc65ee12d]
OBS-URL: https://build.opensuse.org/package/show/games/zmusic?expand=0&rev=23
2024-08-27 11:55:06 +00:00
ebfe906a8a Update to version 1.1.13
OBS-URL: https://build.opensuse.org/package/show/games/zmusic?expand=0&rev=22
2024-08-27 11:52:07 +00:00
8 changed files with 17 additions and 29 deletions

BIN
1.1.14.tar.gz LFS Normal file

Binary file not shown.

BIN
1.3.0.tar.gz LFS

Binary file not shown.

View File

@@ -29,7 +29,7 @@ Index: source/CMakeLists.txt
===================================================================
--- source/CMakeLists.txt.orig
+++ source/CMakeLists.txt
@@ -153,8 +153,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(zmusiclite INTERFACE $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${ZMusic_SOURCE_DIR}/include>)

View File

@@ -16,7 +16,7 @@ Index: thirdparty/CMakeLists.txt
===================================================================
--- thirdparty/CMakeLists.txt.orig
+++ thirdparty/CMakeLists.txt
@@ -7,6 +7,11 @@ add_subdirectory(miniz)
@@ -25,6 +25,11 @@ endif()
#option(FORCE_INTERNAL_GME "Use internal gme (it is highly unlikely this should be turned off)" ON)
#mark_as_advanced(FORCE_INTERNAL_GME GME_INCLUDE_DIR GME_LIBRARY)
#find_package(GME QUIET)
@@ -28,7 +28,7 @@ Index: thirdparty/CMakeLists.txt
#if(GME_FOUND AND NOT FORCE_INTERNAL_GME)
# message(STATUS "Using system gme library, includes found at ${GME_INCLUDE_DIRS}")
# set_property(TARGET gme PROPERTY IMPORTED_GLOBAL TRUE)
@@ -19,6 +24,7 @@ add_subdirectory(miniz)
@@ -37,6 +42,7 @@ endif()
mark_as_advanced(GME_YM2612_EMU)
add_subdirectory(game-music-emu)
#endif()

View File

@@ -2,25 +2,21 @@ From: Jan Engelhardt <ej@inai.de>
Date: 2024-10-12 09:44:49.402360010 +0200
---
source/CMakeLists.txt | 6 +++++-
source/CMakeLists.txt | 2 +-
source/streamsources/music_libxmp.cpp | 3 +--
thirdparty/CMakeLists.txt | 1 -
3 files changed, 6 insertions(+), 4 deletions(-)
3 files changed, 2 insertions(+), 4 deletions(-)
Index: source/CMakeLists.txt
===================================================================
--- source/CMakeLists.txt.orig
+++ source/CMakeLists.txt
@@ -129,7 +129,11 @@ if(WIN32)
@@ -128,7 +128,7 @@ if(WIN32)
)
endif()
-target_link_libraries(zmusic-obj INTERFACE dumb gme libxmp ZLIB::ZLIB ${CMAKE_DL_LIBS})
+include(FindPkgConfig)
+pkg_check_modules(XMP libxmp)
+message(STATUS "Using system xmp library, includes found at ${XMP_INCLUDE_DIRS}")
+determine_package_config_dependency(ZMUSIC_PACKAGE_DEPENDENCIES TARGET xmp MODULE XMP)
+target_link_libraries(zmusic-obj INTERFACE dumb gme xmp 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

View File

@@ -13,7 +13,7 @@ Index: source/CMakeLists.txt
===================================================================
--- source/CMakeLists.txt.orig
+++ source/CMakeLists.txt
@@ -129,7 +129,7 @@ if(WIN32)
@@ -128,7 +128,7 @@ if(WIN32)
)
endif()

View File

@@ -1,9 +1,3 @@
-------------------------------------------------------------------
Mon Oct 6 12:14:11 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.3.0
* Updated bundled libADL to 1.6.1 and libOPN to 1.6.1
-------------------------------------------------------------------
Sat Oct 12 07:46:25 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package zmusic
#
# Copyright (c) 2025 SUSE LLC and contributors
# 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
@@ -17,20 +17,21 @@
Name: zmusic
Version: 1.3.0
Version: 1.1.14
Release: 0
Summary: ZDoom component library for music handling
License: GPL-3.0-only
Group: Development/Libraries/C and C++
URL: https://zdoom.org/
#Git-Clone: https://github.com/ZDoom/ZMusic
Source: https://github.com/ZDoom/ZMusic/archive/%version.tar.gz
Patch1: system-fluidsynth.patch
Patch2: system-gme.patch
Patch3: system-zlib.patch
Patch4: system-libxmp.patch
Patch10: dumb-dumb.patch
BuildRequires: cmake >= 3.1.3
Patch4: dumb-dumb.patch
Patch5: system-libxmp.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: pkg-config
BuildRequires: pkgconfig(alsa)
@@ -47,9 +48,6 @@ Suggests: timidity-eawpats
# 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
# zmusic is using ADLMIDI internals, so we can't use system adlmidi
Provides: bundled(adlmidi) = 1.6.1
Provides: bundled(opnmidi) = 1.6.1
%description
This is the music playback code from gzdoom, which was separated into its own