commit rtmidi for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rtmidi for openSUSE:Factory checked in at 2023-11-20 21:20:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rtmidi (Old) and /work/SRC/openSUSE:Factory/.rtmidi.new.2521 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "rtmidi" Mon Nov 20 21:20:08 2023 rev:4 rq:1127680 version:6.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/rtmidi/rtmidi.changes 2021-12-18 20:31:18.658278028 +0100 +++ /work/SRC/openSUSE:Factory/.rtmidi.new.2521/rtmidi.changes 2023-11-20 21:20:55.477849051 +0100 @@ -1,0 +2,11 @@ +Sun Nov 19 10:51:00 UTC 2023 - Konstantin Voinov <kv@kott.no-ip.biz> + +- Switch build to cmake +- add rtmidi-cmake.patch +- Update to version 6.0.0 + * run "git log 5.0.0..HEAD" to see commits since last release + * new Android API (thanks to YellowLabrador!) + * new Windows UWP API support (thanks to Masamichi Hosoda!) + * various build system updates and code efficiencies + +------------------------------------------------------------------- Old: ---- rtmidi-5.0.0.tar.gz New: ---- rtmidi-6.0.0.tar.gz rtmidi-cmake.patch BETA DEBUG BEGIN: New:- Switch build to cmake - add rtmidi-cmake.patch - Update to version 6.0.0 BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rtmidi.spec ++++++ --- /var/tmp/diff_new_pack.SFvO4h/_old 2023-11-20 21:20:56.125872968 +0100 +++ /var/tmp/diff_new_pack.SFvO4h/_new 2023-11-20 21:20:56.129873115 +0100 @@ -1,7 +1,7 @@ # # spec file for package rtmidi # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2015 Packman Team <packman@links2linux.de> # # All modifications and additions to the file contributed by third parties @@ -17,9 +17,9 @@ # -%define sover 6 +%define sover 7 Name: rtmidi -Version: 5.0.0 +Version: 6.0.0 Release: 0 Summary: C++ library for realtime MIDI input/ouput License: MIT @@ -28,8 +28,9 @@ Source0: https://www.music.mcgill.ca/~gary/rtmidi/release/%{name}-%{version}.tar.gz # PATCH-FIX-OPENSUSE pkgconfig.patch avvissu@yandex.ru Patch0: rtmidi-4.0.0-pkgconfig.patch -BuildRequires: autoconf -BuildRequires: automake +# PATCH-FIX-OPENSUSE set proper .cmake files path, lower cmake version for Leap (3.24 is required for Android) +Patch1: rtmidi-cmake.patch +BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkgconfig BuildRequires: pkgconfig(alsa) @@ -66,16 +67,20 @@ %prep %setup -q -%patch0 -p1 +%autopatch -p1 %build + +# generate rtmidi-config for compatibility %configure --disable-static \ --with-jack \ --with-alsa -make %{?_smp_mflags} CXXFLAGS="%{optflags}" V=1 + +%cmake +%cmake_build %install -%make_install +%cmake_install install -Dm0755 %{name}-config %{buildroot}%{_bindir}/%{name}-config find %{buildroot} -type f -name "*.la" -delete -print @@ -91,4 +96,5 @@ %{_includedir}/%{name} %{_libdir}/lib%{name}.so %{_libdir}/pkgconfig/%{name}.pc +%{_libdir}/cmake/%{name} ++++++ rtmidi-5.0.0.tar.gz -> rtmidi-6.0.0.tar.gz ++++++ ++++ 28123 lines of diff (skipped) ++++++ rtmidi-cmake.patch ++++++ diff --git a/CMakeLists.txt b/CMakeLists.txt index 3a85a03..867f179 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ # CopyPolicy: RtMidi license. # Set minimum CMake required version for this project. -cmake_minimum_required(VERSION 3.24 FATAL_ERROR) +cmake_minimum_required(VERSION 3.20 FATAL_ERROR) # Define a C++ project. project(RtMidi LANGUAGES CXX C) @@ -262,7 +262,7 @@ install(TARGETS ${LIB_TARGETS} export(PACKAGE RtMidi) # Set installation path for CMake files. -set(RTMIDI_CMAKE_DESTINATION share/rtmidi) +set(RTMIDI_CMAKE_DESTINATION ${CMAKE_MODULES_INSTALL_DIR}) # Export library target (build-tree). export(EXPORT RtMidiTargets
participants (1)
-
Source-Sync