forked from pool/minuet
KDE Applications 17.12.3
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/minuet?expand=0&rev=72
This commit is contained in:
parent
d2372691ac
commit
e43943faab
33
0001-Also-detect-fluidsynth-1.1.xx.patch
Normal file
33
0001-Also-detect-fluidsynth-1.1.xx.patch
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
From a84c183bb25201c46fa64316be619b10fdec674f Mon Sep 17 00:00:00 2001
|
||||||
|
From: Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
Date: Fri, 9 Mar 2018 14:23:30 +0100
|
||||||
|
Subject: [PATCH] Also detect fluidsynth 1.1.xx
|
||||||
|
|
||||||
|
---
|
||||||
|
cmake/FindFluidSynth.cmake | 6 +++---
|
||||||
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/cmake/FindFluidSynth.cmake b/cmake/FindFluidSynth.cmake
|
||||||
|
index 27135a3..d0f3e86 100644
|
||||||
|
--- a/cmake/FindFluidSynth.cmake
|
||||||
|
+++ b/cmake/FindFluidSynth.cmake
|
||||||
|
@@ -73,13 +73,13 @@ find_path(FluidSynth_INCLUDE_DIRS
|
||||||
|
HINTS ${PC_FluidSynth_INCLUDEDIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
-#set(FluidSynth_VERSION "${PC_FluidSynth_VERSION}")
|
||||||
|
+set(FluidSynth_VERSION "${PC_FluidSynth_VERSION}")
|
||||||
|
|
||||||
|
if(NOT FluidSynth_VERSION)
|
||||||
|
if(EXISTS "${FluidSynth_INCLUDE_DIRS}/fluidsynth/version.h")
|
||||||
|
file(STRINGS "${FluidSynth_INCLUDE_DIRS}/fluidsynth/version.h" _FLUIDSYNTH_VERSION_H
|
||||||
|
- REGEX "^#define[ ]+FLUIDSYNTH_VERSION[ ]+\"[0-9].[0-9].[0-9]\"")
|
||||||
|
- string(REGEX REPLACE "^#define[ ]+FLUIDSYNTH_VERSION[ ]+\"([0-9].[0-9].[0-9])\".*" "\\1" FluidSynth_VERSION "${_FLUIDSYNTH_VERSION_H}")
|
||||||
|
+ REGEX "^#define[ ]+FLUIDSYNTH_VERSION.*$")
|
||||||
|
+ string(REGEX REPLACE "^#define[ ]+FLUIDSYNTH_VERSION[ ]+\"([0-9]+.[0-9]+.[0-9]+)\".*" "\\1" FluidSynth_VERSION "${_FLUIDSYNTH_VERSION_H}")
|
||||||
|
unset(_FLUIDSYNTH_VERSION_H)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
--
|
||||||
|
2.16.2
|
||||||
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:796c349ad7bca1b0a6fd68731a8ea71facfd006c8a43b9fa764789b600b4fc9d
|
|
||||||
size 27848724
|
|
3
minuet-17.12.3.tar.xz
Normal file
3
minuet-17.12.3.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0bf1f32fedb3345a7bf3fba715fc670edf442c53cc150a30f43311bde66519aa
|
||||||
|
size 27860148
|
@ -1,3 +1,21 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 9 13:32:04 UTC 2018 - christophe@krop.fr
|
||||||
|
|
||||||
|
- Add 0001-Also-detect-fluidsynth-1.1.xx.patch
|
||||||
|
Fixes build with fluidsynth > 1.1.XX
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 08 23:52:26 CET 2018 - lbeltrame@kde.org
|
||||||
|
|
||||||
|
- Update to 17.12.3
|
||||||
|
* New bugfix release
|
||||||
|
* For more details please see:
|
||||||
|
* https://www.kde.org/announcements/announce-applications-17.12.3.php
|
||||||
|
- Changes since 17.12.2:
|
||||||
|
* Fix Build when fluidsynth isn't found.
|
||||||
|
* Create FindFluidSynth.cmake.
|
||||||
|
* Fix build with fluidsynth 1.1.9.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 07 08:49:09 CET 2018 - lbeltrame@kde.org
|
Wed Feb 07 08:49:09 CET 2018 - lbeltrame@kde.org
|
||||||
|
|
||||||
|
23
minuet.spec
23
minuet.spec
@ -16,19 +16,20 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%bcond_without lang
|
|
||||||
|
|
||||||
%define kf5_version 5.26.0
|
%define kf5_version 5.26.0
|
||||||
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
|
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
|
||||||
%{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
%{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
||||||
|
%bcond_without lang
|
||||||
Name: minuet
|
Name: minuet
|
||||||
Version: 17.12.2
|
Version: 17.12.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A KDE Software for Music Education
|
Summary: A KDE Software for Music Education
|
||||||
License: GPL-2.0+
|
License: GPL-2.0-or-later
|
||||||
Group: Productivity/Other
|
Group: Productivity/Other
|
||||||
Url: http://www.kde.org
|
Url: http://www.kde.org
|
||||||
Source: minuet-%{version}.tar.xz
|
Source: minuet-%{version}.tar.xz
|
||||||
|
# PATCH-FIX-UPSTREAM 0001-Also-detect-fluidsynth-1.1.xx.patch
|
||||||
|
Patch0: 0001-Also-detect-fluidsynth-1.1.xx.patch
|
||||||
BuildRequires: extra-cmake-modules >= 5.15.0
|
BuildRequires: extra-cmake-modules >= 5.15.0
|
||||||
BuildRequires: kf5-filesystem
|
BuildRequires: kf5-filesystem
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
@ -52,7 +53,6 @@ Requires: libqt5-qtquickcontrols2
|
|||||||
%if %{with lang}
|
%if %{with lang}
|
||||||
Recommends: %{name}-lang
|
Recommends: %{name}-lang
|
||||||
%endif
|
%endif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Application for Music Education.
|
Application for Music Education.
|
||||||
@ -79,6 +79,7 @@ Development headers and libraries for Minuet.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake_kf5 -d build
|
%cmake_kf5 -d build
|
||||||
@ -88,7 +89,7 @@ Development headers and libraries for Minuet.
|
|||||||
%kf5_makeinstall -C build
|
%kf5_makeinstall -C build
|
||||||
%if %{with lang}
|
%if %{with lang}
|
||||||
%find_lang %{name} --with-man --all-name
|
%find_lang %{name} --with-man --all-name
|
||||||
%kf5_find_htmldocs
|
%{kf5_find_htmldocs}
|
||||||
%endif
|
%endif
|
||||||
%suse_update_desktop_file org.kde.minuet Music
|
%suse_update_desktop_file org.kde.minuet Music
|
||||||
|
|
||||||
@ -96,8 +97,8 @@ Development headers and libraries for Minuet.
|
|||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%doc README*
|
||||||
%doc COPYING* README*
|
%license COPYING*
|
||||||
%dir %{_kf5_appstreamdir}
|
%dir %{_kf5_appstreamdir}
|
||||||
%doc %lang(en) %{_kf5_htmldir}/en/minuet/
|
%doc %lang(en) %{_kf5_htmldir}/en/minuet/
|
||||||
%{_kf5_applicationsdir}/org.kde.minuet.desktop
|
%{_kf5_applicationsdir}/org.kde.minuet.desktop
|
||||||
@ -109,14 +110,14 @@ Development headers and libraries for Minuet.
|
|||||||
%{_kf5_sharedir}/minuet/
|
%{_kf5_sharedir}/minuet/
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%doc README*
|
||||||
%doc COPYING* README*
|
%license COPYING*
|
||||||
%{_includedir}/minuet/
|
%{_includedir}/minuet/
|
||||||
%{_kf5_libdir}/libminuetinterfaces.so
|
%{_kf5_libdir}/libminuetinterfaces.so
|
||||||
|
|
||||||
%if %{with lang}
|
%if %{with lang}
|
||||||
%files lang -f %{name}.lang
|
%files lang -f %{name}.lang
|
||||||
%doc COPYING*
|
%license COPYING*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user