remove build requirement for libqt-devel [release 1.2.14-2mamba;Sun Mar 03 2024]

This commit is contained in:
Silvan Calarco 2024-03-03 21:39:57 +01:00
parent 5d024cf33e
commit 0a031b2aef
7 changed files with 11 additions and 84 deletions

View File

@ -1,3 +1,4 @@
# fmit
A Free Music Instrument Tuner.

View File

@ -1,12 +0,0 @@
diff -Nru fmit-0.97.7.orig/ui/ConfigForm.ui fmit-0.97.7/ui/ConfigForm.ui
--- fmit-0.97.7.orig/ui/ConfigForm.ui 2008-02-18 14:44:46.000000000 +0100
+++ fmit-0.97.7/ui/ConfigForm.ui 2008-02-18 14:44:24.000000000 +0100
@@ -1579,7 +1579,7 @@
<number>0</number>
</property>
<property name="value">
- <number>-28</number>
+ <number>-40</number>
</property>
<property name="orientation">
<enum>Horizontal</enum>

View File

@ -1,24 +0,0 @@
diff -ru fmit-0.97.7.orig/ui/ConfigForm.ui fmit-0.97.7/ui/ConfigForm.ui
--- fmit-0.97.7.orig/ui/ConfigForm.ui 2007-11-18 15:30:55.000000000 +0100
+++ fmit-0.97.7/ui/ConfigForm.ui 2008-02-18 14:39:59.000000000 +0100
@@ -499,13 +499,19 @@
<property name="whatsThis" stdset="0">
<string>Connect automaticaly FMIT to the following source at startup (eg. alsa_pcm:capture_1)</string>
</property>
+ <property name="checked">
+ <bool>true</bool>
+ </property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>ui_txtJACKSourcePort</cstring>
</property>
+ <property name="text">
+ <cstring>alsa_pcm:capture_1</cstring>
+ </property>
<property name="enabled">
- <bool>false</bool>
+ <bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy>

View File

@ -1,11 +0,0 @@
diff -Nru fmit-0.98.1-Source.orig//src/CaptureThreadImplJACK.cpp fmit-0.98.1-Source/src/CaptureThreadImplJACK.cpp
--- fmit-0.98.1-Source.orig//src/CaptureThreadImplJACK.cpp 2010-05-17 22:57:39.000000000 +0200
+++ fmit-0.98.1-Source/src/CaptureThreadImplJACK.cpp 2010-12-15 19:47:31.690038946 +0100
@@ -164,7 +164,6 @@
jack_set_process_callback(m_jack_client, JackProcess, (void*)this);
jack_on_shutdown(m_jack_client, JackShutdown, (void*)this);
- jack_set_error_function(jack_error_callback);
jack_set_sample_rate_callback(m_jack_client, JackSampleRate, (void*)this);
cerr << "CaptureThread: INFO: JACK: sampling rate=" << jack_get_sample_rate(m_jack_client) << endl;

View File

@ -1,9 +0,0 @@
[Desktop Entry]
Type=Application
Name=fmit
GenericName=A music instrument tuner
GenericName[it]=Accordatore di strumenti musicali
Comment=Music instrument tuner
Exec=fmit
Icon=fmit.png
Categories=Qt;AudioVideo

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

View File

@ -1,6 +1,6 @@
Name: fmit
Version: 1.2.14
Release: 1mamba
Release: 2mamba
Summary: Free Music Instrument Tuner
Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba
@ -8,43 +8,25 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/gillesdegottex/fmit
Source: https://github.com/gillesdegottex/fmit.git/v%{version}/fmit-%{version}.tar.bz2
Source1: fmit-desktop
Source2: fmit-icon.png
Patch0: %{name}-0.97.7-jack_autoconnect.patch
Patch1: %{name}-0.97.7-input_40db.patch
Patch2: %{name}-0.98.1-jackd2.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libalsa-devel
BuildRequires: libQt5Multimedia-devel
BuildRequires: libQt5Svg-devel
BuildRequires: libfftw-devel
BuildRequires: libgcc
BuildRequires: libGL-devel
BuildRequires: libGLU-devel
BuildRequires: libGLUT-devel
BuildRequires: libICE-devel
BuildRequires: libjack-devel
BuildRequires: libportaudio-devel
BuildRequires: libqt-devel
BuildRequires: libSM-devel
BuildRequires: libglvnd-devel
BuildRequires: libstdc++6-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libXi-devel
BuildRequires: libXmu-devel
BuildRequires: libXt-devel
BuildRequires: qt5-qtbase-devel
## AUTOBUILDREQ-END
%description
A Free Music Instrument Tuner.
#% debug_package
%debug_package
%prep
%setup -q
#%patch0 -p1
#%patch1 -p1
#%patch2 -p1
%build
%{_qt5_qmake} PREFIX=%{_prefix}
@ -52,7 +34,7 @@ A Free Music Instrument Tuner.
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall INSTALL_ROOT=%{buildroot}
%makeinstall INSTALL_ROOT=%{buildroot} STRIP=/bin/true
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -68,12 +50,12 @@ A Free Music Instrument Tuner.
%{_datadir}/icons/hicolor/128x128/apps/fmit.png
%{_datadir}/icons/hicolor/symbolic/apps/fmit-symbolic.svg
%{_datadir}/icons/hicolor/scalable/apps/fmit.svg
#%lang(de) %{_datadir}/fmit/tr/fmit_de.qm
#%lang(fr) %{_datadir}/fmit/tr/fmit_fr.qm
#%lang(pt) %{_datadir}/fmit/tr/fmit_pt.qm
%doc COPYING_GPL.txt COPYING_LGPL.txt
%changelog
* Sun Mar 03 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.14-2mamba
- remove build requirement for libqt-devel
* Sat Mar 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.14-1mamba
- update to 1.2.14