2012-03-23 14:48:37 +01:00
|
|
|
#
|
|
|
|
# spec file for package qmmp
|
|
|
|
#
|
2023-03-31 16:11:34 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2012-03-23 14:48:37 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-09-22 12:59:29 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-03-23 14:48:37 +01:00
|
|
|
#
|
|
|
|
|
2015-09-07 11:23:35 +02:00
|
|
|
|
2022-03-07 17:42:11 +01:00
|
|
|
%global __provides_exclude_from ^%{_libdir}/qmmp-[0-9\.]*/
|
2022-01-26 01:48:28 +01:00
|
|
|
%define sover 2
|
2022-05-17 22:49:34 +02:00
|
|
|
%define mver 2.1
|
2016-08-04 15:41:51 +02:00
|
|
|
%bcond_with faad
|
2016-08-27 00:50:27 +02:00
|
|
|
%bcond_with restricted
|
2012-03-23 14:48:37 +01:00
|
|
|
Name: qmmp
|
2023-03-31 16:11:34 +02:00
|
|
|
Version: 2.1.3
|
2012-03-23 14:48:37 +01:00
|
|
|
Release: 0
|
2015-10-13 12:02:24 +02:00
|
|
|
Summary: Qt-based Multimedia Player
|
2018-04-20 15:01:27 +02:00
|
|
|
License: GPL-2.0-or-later
|
2022-01-26 01:48:28 +01:00
|
|
|
Group: Productivity/Multimedia/Sound/Players
|
2020-03-27 00:54:36 +01:00
|
|
|
URL: https://qmmp.ylsoftware.com/
|
2021-07-12 12:50:03 +02:00
|
|
|
Source: https://qmmp.ylsoftware.com/files/%{name}/%{mver}/%{name}-%{version}.tar.bz2
|
2015-09-07 11:23:35 +02:00
|
|
|
# PATCH-FEATURE-OPENSUSE qmmp-default_pulse.patch reddwarf@opensuse.org -- Use PulseAudio instead of ALSA by default.
|
2022-01-26 01:48:28 +01:00
|
|
|
Patch0: %{name}-default-pulse.patch
|
2012-03-23 14:48:37 +01:00
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: hicolor-icon-theme
|
2022-01-26 01:48:28 +01:00
|
|
|
BuildRequires: musepack-devel
|
2016-06-22 00:33:57 +02:00
|
|
|
BuildRequires: pkgconfig
|
2022-01-26 01:48:28 +01:00
|
|
|
BuildRequires: cmake(Qt6Core)
|
|
|
|
BuildRequires: cmake(Qt6DBus)
|
|
|
|
BuildRequires: cmake(Qt6LinguistTools)
|
|
|
|
BuildRequires: cmake(Qt6Multimedia)
|
|
|
|
BuildRequires: cmake(Qt6Network)
|
|
|
|
BuildRequires: cmake(Qt6OpenGLWidgets)
|
|
|
|
BuildRequires: cmake(Qt6Sql)
|
|
|
|
BuildRequires: cmake(Qt6Widgets)
|
|
|
|
BuildRequires: cmake(Qt6Xml)
|
2012-03-23 14:48:37 +01:00
|
|
|
BuildRequires: pkgconfig(alsa)
|
2022-01-26 01:48:28 +01:00
|
|
|
BuildRequires: pkgconfig(enca)
|
2012-03-23 14:48:37 +01:00
|
|
|
BuildRequires: pkgconfig(flac)
|
2015-10-10 20:19:42 +02:00
|
|
|
BuildRequires: pkgconfig(jack)
|
2022-01-26 01:48:28 +01:00
|
|
|
BuildRequires: pkgconfig(libarchive)
|
2022-10-29 07:00:48 +02:00
|
|
|
BuildRequires: pkgconfig(libavcodec)
|
2015-09-07 11:23:35 +02:00
|
|
|
BuildRequires: pkgconfig(libavformat)
|
|
|
|
BuildRequires: pkgconfig(libavutil)
|
2012-03-23 14:48:37 +01:00
|
|
|
BuildRequires: pkgconfig(libbs2b)
|
|
|
|
BuildRequires: pkgconfig(libcddb)
|
|
|
|
BuildRequires: pkgconfig(libcdio)
|
|
|
|
BuildRequires: pkgconfig(libcdio_cdda)
|
|
|
|
BuildRequires: pkgconfig(libcurl)
|
|
|
|
BuildRequires: pkgconfig(libgme)
|
|
|
|
BuildRequires: pkgconfig(libmms)
|
2022-01-26 01:48:28 +01:00
|
|
|
BuildRequires: pkgconfig(libpipewire-0.3)
|
|
|
|
BuildRequires: pkgconfig(libprojectM)
|
2012-03-23 14:48:37 +01:00
|
|
|
BuildRequires: pkgconfig(libpulse)
|
|
|
|
BuildRequires: pkgconfig(libpulse-simple)
|
2014-07-11 17:24:23 +02:00
|
|
|
BuildRequires: pkgconfig(libsidplayfp)
|
2022-01-26 01:48:28 +01:00
|
|
|
BuildRequires: pkgconfig(libspa-0.2)
|
2022-05-17 22:49:34 +02:00
|
|
|
BuildRequires: pkgconfig(libxmp)
|
2022-01-26 01:48:28 +01:00
|
|
|
BuildRequires: pkgconfig(mad)
|
|
|
|
BuildRequires: pkgconfig(opus)
|
|
|
|
BuildRequires: pkgconfig(opusfile)
|
|
|
|
BuildRequires: pkgconfig(shout)
|
2012-03-23 14:48:37 +01:00
|
|
|
BuildRequires: pkgconfig(sndfile)
|
2016-06-22 00:33:57 +02:00
|
|
|
BuildRequires: pkgconfig(soxr)
|
2022-01-26 01:48:28 +01:00
|
|
|
BuildRequires: pkgconfig(taglib)
|
2012-03-23 14:48:37 +01:00
|
|
|
BuildRequires: pkgconfig(vorbisfile)
|
|
|
|
BuildRequires: pkgconfig(wavpack)
|
2022-01-26 01:48:28 +01:00
|
|
|
BuildRequires: pkgconfig(wildmidi)
|
2015-10-13 12:02:24 +02:00
|
|
|
Requires: %{name}(%{sover})(Input)
|
|
|
|
Requires: %{name}(%{sover})(Output)
|
|
|
|
Requires: %{name}(%{sover})(Ui)
|
2020-03-27 00:54:36 +01:00
|
|
|
ExclusiveArch: %ix86 x86_64
|
2016-08-04 15:41:51 +02:00
|
|
|
%if %{with faad}
|
2012-03-23 14:48:37 +01:00
|
|
|
BuildRequires: libfaad-devel
|
2016-08-04 15:41:51 +02:00
|
|
|
%endif
|
2012-03-23 14:48:37 +01:00
|
|
|
|
|
|
|
%description
|
2015-10-13 12:02:24 +02:00
|
|
|
This program is an audio-player, written with help of Qt library.
|
2012-03-23 14:48:37 +01:00
|
|
|
|
2015-10-13 12:02:24 +02:00
|
|
|
%package -n lib%{name}%{sover}
|
2012-03-23 14:48:37 +01:00
|
|
|
Summary: Qmmp library
|
2022-01-26 01:48:28 +01:00
|
|
|
Group: System/Libraries
|
2015-10-13 12:02:24 +02:00
|
|
|
Recommends: lib%{name}-plugins
|
2012-03-23 14:48:37 +01:00
|
|
|
|
2015-10-13 12:02:24 +02:00
|
|
|
%description -n lib%{name}%{sover}
|
|
|
|
This program is an audio-player, written with help of Qt library.
|
2012-03-23 14:48:37 +01:00
|
|
|
|
2015-10-13 12:02:24 +02:00
|
|
|
This package provides the Qmmp library.
|
|
|
|
|
|
|
|
%package -n lib%{name}-plugins
|
2012-05-26 13:01:10 +02:00
|
|
|
Summary: Plugins for libqmmp
|
2022-01-26 01:48:28 +01:00
|
|
|
Group: System/Libraries
|
2017-08-05 01:29:21 +02:00
|
|
|
# Suggests instead of Recommends since MPlayer is too big of a dependency.
|
2015-10-13 12:02:24 +02:00
|
|
|
Suggests: lib%{name}-plugin-mplayer
|
|
|
|
Provides: %{name}(%{sover})(Input)
|
|
|
|
Provides: %{name}(%{sover})(Output)
|
|
|
|
Provides: %{name}(%{sover})(Ui)
|
2015-11-15 22:45:27 +01:00
|
|
|
# libqmmp0-plugins & qmmp-plugin-pack-simple-ui were last used in openSUSE 13.2 (in PMBS).
|
|
|
|
Provides: %{name}-plugin-pack-simple-ui = %{version}
|
|
|
|
Obsoletes: %{name}-plugin-pack-simple-ui < %{version}
|
2022-05-17 22:49:34 +02:00
|
|
|
Obsoletes: lib%{name}0-plugins < %{version}
|
2015-10-13 12:02:24 +02:00
|
|
|
|
|
|
|
%description -n lib%{name}-plugins
|
|
|
|
This program is an audio-player, written with help of Qt library.
|
2015-09-07 11:23:35 +02:00
|
|
|
|
2015-10-13 12:02:24 +02:00
|
|
|
This package provides plugins for libqmmp.
|
2012-03-23 14:48:37 +01:00
|
|
|
|
2015-10-13 12:02:24 +02:00
|
|
|
%if %{with restricted}
|
|
|
|
%package -n lib%{name}-plugin-mplayer
|
2012-05-26 13:01:10 +02:00
|
|
|
Summary: MPlayer plugin for libqmmp
|
2022-01-26 01:48:28 +01:00
|
|
|
Group: System/Libraries
|
2015-10-13 12:02:24 +02:00
|
|
|
Requires: MPlayer
|
2012-03-23 14:48:37 +01:00
|
|
|
|
2015-10-13 12:02:24 +02:00
|
|
|
%description -n lib%{name}-plugin-mplayer
|
|
|
|
This program is an audio-player, written with help of Qt library.
|
2012-03-23 14:48:37 +01:00
|
|
|
|
2015-10-13 12:02:24 +02:00
|
|
|
This package provides MPlayer plugin for libqmmp.
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
2012-05-26 13:01:10 +02:00
|
|
|
Summary: Development files for libqmmp
|
2022-01-26 01:48:28 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2015-10-13 12:02:24 +02:00
|
|
|
Requires: lib%{name}%{sover} = %{version}
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This program is an audio-player, written with help of Qt library.
|
2012-03-23 14:48:37 +01:00
|
|
|
|
2012-05-26 13:01:10 +02:00
|
|
|
Development files for libqmmp.
|
2012-03-23 14:48:37 +01:00
|
|
|
|
|
|
|
%prep
|
Accepting request 799149 from home:alois:branches:multimedia:apps
- Update to version 1.4.0
* added sleep mode inhibition plugin
* added separate ListenBrainz submission plugin
* added feature to auto-hide empty service menus
* added option to disable two passes for equalizer
* added fast mute function for most output plugins
* added shared CUE parser
* added feature to transit between playlists
* added optimizations for flac plugin
* added feature to select playlist format from the file dialog
* added '--pl-next' and '--pl-prev' command line options
* added SOCKS5 proxy support
* added feature to display average bitrate
* added average bitrate displaying for shoutcast/icecast
streams
* added Ogg Opus support in the ReplayGain scanner
* added feature to merge different tag types in the mpeg plugin
* added feature to start command on application startup/exit
* added 'make docs' build target
* added big endian support formats in the PulseAudio plugin
* added feature to write singe file in the file writer plugin
* improved qsui plugin:
+ added feature to override track background color
+ added scope visualization
+ added feature to reset visualization colors
+ added waveform seek bar
+ added alternate analyzer appearance
+ using gradients between analyzer colors
+ improved status bar
* improved ffmpeg plugin:
+ added opus bitrate issue workaround
+ added new implementation of the read function
+ added embedded CUE sheet support (for Monkey's Audio
format)
+ added format name displaying
+ added DSD (Direct Stream Digital) support
+ changed minimal ffmpeg version to 3.2
+ removed libav support
* improved lyrics plugin:
+ added feature to save window geometry
+ added multiple lyrics providers support (based on Ultimare
Lyrics plugin)
* improved cdaudio plugin:
+ show more metadata
+ added KDE Solid integration
* improved remote playlists support
* improved m3u support
* using qsui by default for Wayland sessions
* fixed API documentation
* updated Portuguese, Dutch, Polish, Galician, Spanish,
Russian, Ukrainian, French, Indonesian, Greek, Italian and
German translations
- Refreshed qmmp-fix_cdda_version.patch
OBS-URL: https://build.opensuse.org/request/show/799149
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/qmmp?expand=0&rev=145
2020-04-30 10:27:30 +02:00
|
|
|
%autosetup -p1
|
2012-03-23 14:48:37 +01:00
|
|
|
|
|
|
|
%build
|
2022-03-07 11:03:28 +01:00
|
|
|
%cmake_qt6 \
|
2017-06-03 13:50:28 +02:00
|
|
|
-DCMAKE_MODULE_LINKER_FLAGS="" \
|
2015-10-10 20:19:42 +02:00
|
|
|
-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
|
2017-06-03 13:50:28 +02:00
|
|
|
-DLIB_DIR=%{_lib} \
|
2019-02-19 11:16:54 +01:00
|
|
|
-DPLUGIN_DIR=%{_lib}/%{name}-%{mver} \
|
2015-10-13 12:02:24 +02:00
|
|
|
%if %{without restricted}
|
2017-06-03 13:50:28 +02:00
|
|
|
-DUSE_MPLAYER=OFF \
|
2015-10-13 12:02:24 +02:00
|
|
|
%endif
|
2017-06-03 13:50:28 +02:00
|
|
|
-DUSE_HAL=OFF \
|
|
|
|
-DUSE_OSS=OFF \
|
2015-11-04 15:48:35 +01:00
|
|
|
-DUSE_OSS4=OFF
|
2022-10-29 07:00:48 +02:00
|
|
|
%qt6_build
|
2012-03-23 14:48:37 +01:00
|
|
|
|
|
|
|
%install
|
2022-03-07 11:03:28 +01:00
|
|
|
%qt6_install
|
|
|
|
|
2022-01-26 01:48:28 +01:00
|
|
|
# Do not install weirdly-sized icons.
|
2020-07-18 02:05:37 +02:00
|
|
|
rm -r %{buildroot}/%{_datadir}/icons/hicolor/56x56
|
2012-03-23 14:48:37 +01:00
|
|
|
|
2017-10-21 00:32:31 +02:00
|
|
|
%post -n lib%{name}%{sover} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n lib%{name}%{sover} -p /sbin/ldconfig
|
|
|
|
|
2012-03-23 14:48:37 +01:00
|
|
|
%files
|
2018-06-01 12:30:44 +02:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS ChangeLog README
|
2015-10-13 12:02:24 +02:00
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_datadir}/%{name}/
|
|
|
|
%{_datadir}/applications/%{name}*.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}*
|
2019-06-16 11:45:33 +02:00
|
|
|
%{_datadir}/metainfo/%{name}.appdata.xml
|
2022-05-17 22:49:34 +02:00
|
|
|
%{_datadir}/solid/
|
2015-10-13 12:02:24 +02:00
|
|
|
|
|
|
|
%files -n lib%{name}%{sover}
|
|
|
|
%{_libdir}/lib%{name}*.so.%{sover}*
|
2012-03-23 14:48:37 +01:00
|
|
|
|
2015-10-13 12:02:24 +02:00
|
|
|
%files -n lib%{name}-plugins
|
2019-02-11 18:12:25 +01:00
|
|
|
%{_libdir}/%{name}-%{mver}/
|
|
|
|
%if %{with restricted}
|
2019-03-01 16:55:56 +01:00
|
|
|
%exclude %{_libdir}/%{name}-%{mver}/Engines/libmplayer.so
|
2019-02-11 18:12:25 +01:00
|
|
|
%endif
|
2012-03-23 14:48:37 +01:00
|
|
|
|
2015-10-13 12:02:24 +02:00
|
|
|
%if %{with restricted}
|
|
|
|
%files -n lib%{name}-plugin-mplayer
|
2019-03-01 16:55:56 +01:00
|
|
|
%dir %{_libdir}/%{name}-%{mver}/
|
|
|
|
%dir %{_libdir}/%{name}-%{mver}/Engines/
|
|
|
|
%{_libdir}/%{name}-%{mver}/Engines/libmplayer.so
|
2015-10-13 12:02:24 +02:00
|
|
|
%endif
|
2012-03-23 14:48:37 +01:00
|
|
|
|
2015-10-13 12:02:24 +02:00
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%{_includedir}/%{name}/
|
|
|
|
%{_includedir}/%{name}ui/
|
|
|
|
%{_libdir}/lib%{name}*.so
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
%{_libdir}/pkgconfig/%{name}ui.pc
|
2012-03-23 14:48:37 +01:00
|
|
|
|
|
|
|
%changelog
|