public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mt32emu] rawhide: Update to 2.8.5 (rhbz#2478226)
@ 2026-11-04 14:09 Artur Frenszek-Iwicki
  0 siblings, 0 replies; only message in thread
From: Artur Frenszek-Iwicki @ 2026-11-04 14:09 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/mt32emu
Branch : rawhide
Commit : 63ae0bc2ea492a92cd5b580a0912d34bdd89c380
Author : Artur Frenszek-Iwicki <fedora@svgames.pl>
Date   : 2026-11-04T09:25:56+01:00
Stats  : +27/-4 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/mt32emu/c/63ae0bc2ea492a92cd5b580a0912d34bdd89c380?branch=rawhide

Log:
Update to 2.8.5 (rhbz#2478226)

---
diff --git a/0000-do-not-use-LIB_INSTALL_DIR.patch b/0000-do-not-use-LIB_INSTALL_DIR.patch
new file mode 100644
index 0000000..9f69a41
--- /dev/null
+++ b/0000-do-not-use-LIB_INSTALL_DIR.patch
@@ -0,0 +1,17 @@
+--- munt-libmt32emu_2_8_5_orig/mt32emu/CMakeLists.txt	2026-11-03 13:34:11.000000000 +0100
++++ munt-libmt32emu_2_8_5/mt32emu/CMakeLists.txt	2026-11-04 09:22:13.456958604 +0100
+@@ -83,14 +83,8 @@
+ else()
+   unset(libmt32emu_REQUIRE_ANSI CACHE)
+ endif()
+ 
+-# Variable LIB_INSTALL_DIR is now deprecated, we use CMAKE_INSTALL_LIBDIR et al.
+-# However, if it is set in an existing script, we make use of its value.
+-if(DEFINED LIB_INSTALL_DIR)
+-  set(CMAKE_INSTALL_LIBDIR ${LIB_INSTALL_DIR})
+-endif()
+-
+ set(libmt32emu_PACKAGE_TYPE Complete CACHE STRING "Selects output binary package type: Complete, Runtime or Devel")
+ mark_as_advanced(libmt32emu_PACKAGE_TYPE)
+ set_property(CACHE libmt32emu_PACKAGE_TYPE PROPERTY STRINGS Complete Runtime Devel)
+ 

diff --git a/mt32emu.spec b/mt32emu.spec
index 3d7a6cc..007b6e2 100644
--- a/mt32emu.spec
+++ b/mt32emu.spec
@@ -1,5 +1,5 @@
 Name:           mt32emu
-Version:        2.7.3
+Version:        2.8.5
 Release:        %autorelease
 Summary:        C/C++ library for emulating Roland MT-32, CM-32L and LAPC-I synthesizer modules
 
@@ -11,7 +11,14 @@ License:        LGPL-2.1-or-later AND BSD-3-Clause
 URL:            https://munt.sourceforge.net/
 Source0:        https://github.com/munt/munt/archive/refs/tags/lib%{name}_%{version_}.tar.gz
 
+# Upstream CMakeLists can work with both CMAKE_INSTALL_LIBDIR
+# and LIB_INSTALL_DIR. If both are provided, the second takes precedence.
+# *However*, upstream expects LIB_INSTALL_DIR to be relative to ${PREFIX},
+# whereas Fedora's %%cmake macros specify an absolute path.
+Patch0:         0000-do-not-use-LIB_INSTALL_DIR.patch
+
 BuildRequires:  cmake
+BuildRequires:  doctest-devel
 BuildRequires:  gcc-c++
 
 # Not needed for multilib
@@ -53,8 +60,7 @@ rm -rf DOSBox-mt32-patch FreeBSD mt32emu_{alsadrv,smf2wav,qt,win32drv{,_setup}}
 rm %{buildroot}/%{_docdir}/munt/lib%{name}/COPYING.txt
 
 %check
-# No tests available
-# %%ctest
+%ctest
 
 %files
 %{_libdir}/lib%{name}.so.2*

diff --git a/sources b/sources
index 367fa8d..abafca2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libmt32emu_2_7_3.tar.gz) = 9ec78d57d93bdac9ec7097b03eef7efb79bfa8837a9f04746a89f508adc6482f2da0977db3f7e5def6629cc613fa58c4bf23c752af251e417a5303cf14fe96ad
+SHA512 (libmt32emu_2_8_5.tar.gz) = b28df7f0d08c37afbc71f9a3c03094a3d95e085c35b5edd3a2521fe05bc545f57a9658d003440183fcec18adb16fd29ce99c8047f0b2e455583b9ad7eca4e128

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-04 14:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-04 14:09 [rpms/mt32emu] rawhide: Update to 2.8.5 (rhbz#2478226) Artur Frenszek-Iwicki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox