strawberry/strawberry.spec
Jonas Kvinge 881be795ba - Update to version 1.1.0
+ Bugfixes:
   + Fixed crash when pressing CTRL + C (#1359).
   + Pass on scroll events to page in settings to avoid changing settings when scrolling with mouse (#1380).
   + Fixed misredered playlist search field with Wayland using scaling (#1255).
   + Fixed Azlyrics lyrics provider because of website changes.
   + Fixed Musixmatch lyrics provider because of website changes.
   + Fixed application exiting when closing file dialog (#1401).
   + Fixed playlist shuffle randomness (#707).
   + Fixed playlist shuffle order always the same when restarting playback (#1381).
   + Fixed dynamic random mix not always ignoring shuffle and repeat mode (#1366).
   + Fixed manual shuffle while playing not setting current song to new index (##1353).
   + Fixed volume sync with PA when output is set to auto (#1123).
   + Fixed mpris:trackid type with KDE 6 (#1397).
   + Fixed open in file manager feature not handling missing XDG_DATA_DIRS variable.
   + Fixed collection pixmap disk cache and moodbar cache with newer Qt versions.
   + Fixed reading common metadata CUE's with multiple files (#1463).
   + Fixed playlist header stretch mode to only resize the right column of the column being resized.
   + Fixed adding columns to playlist header not working when not using stretch mode (#1085).
   + Fixed severe memory leak (!) in context album cover fading (#1464).
   + Separate albums by different artist in album groupings (#1276).
   + Removed -new-window parameter from dolphin command for open in file manager (#1412).
   + Only use playbin3 with GStreamer 1.24 and higher, not with GStreamer 1.22 or lower.
  + Enhancements:
   + Improve error messages when connecting and copying to devices.
   + Allow enter to be used with multiselection to add songs to playlist (#1360)
   + Add song progress to taskbar using D-Bus.
   + Use API to receive Radio Paradise channels.
   + Added button for fetching lyrics to tag editor (#1391).
   + Added option not to skip "A", "An" and "The” when sorting artist names in collection (#1393).

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/strawberry?expand=0&rev=162
2024-07-14 14:04:41 +00:00

143 lines
4.7 KiB
RPMSpec

#
# spec file for package strawberry
#
# Copyright (c) 2024 SUSE LLC
#
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: strawberry
Version: 1.1.0
Release: 0
Summary: A music player and music collection organizer
License: GPL-3.0-or-later
Group: Productivity/Multimedia/Sound/Players
URL: https://www.strawberrymusicplayer.org/
Source: https://files.strawberrymusicplayer.org/%{name}-%{version}.tar.xz
BuildRequires: appstream-glib
BuildRequires: cmake
BuildRequires: desktop-file-utils
%if 0%{?sle_version} == 150500 || 0%{?sle_version} == 150600
BuildRequires: gcc13
BuildRequires: gcc13-c++
%else
BuildRequires: gcc
BuildRequires: gcc-c++
%endif
BuildRequires: gettext
BuildRequires: git
BuildRequires: hicolor-icon-theme
BuildRequires: libboost_headers-devel
BuildRequires: make
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: cmake(Qt6Concurrent)
BuildRequires: cmake(Qt6Core)
BuildRequires: cmake(Qt6DBus)
BuildRequires: cmake(Qt6Gui)
BuildRequires: cmake(Qt6LinguistTools)
BuildRequires: cmake(Qt6Network)
BuildRequires: cmake(Qt6Sql)
BuildRequires: cmake(Qt6Test)
BuildRequires: cmake(Qt6Widgets)
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(fftw3)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gnutls)
BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(gstreamer-app-1.0)
BuildRequires: pkgconfig(gstreamer-audio-1.0)
BuildRequires: pkgconfig(gstreamer-base-1.0)
BuildRequires: pkgconfig(gstreamer-tag-1.0)
BuildRequires: pkgconfig(gthread-2.0)
BuildRequires: pkgconfig(icu-i18n)
BuildRequires: pkgconfig(icu-uc)
BuildRequires: pkgconfig(libcdio)
BuildRequires: pkgconfig(libchromaprint)
BuildRequires: pkgconfig(libebur128)
BuildRequires: pkgconfig(libgpod-1.0)
BuildRequires: pkgconfig(libmtp)
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(libudf)
BuildRequires: pkgconfig(protobuf)
BuildRequires: pkgconfig(sqlite3) >= 3.9
BuildRequires: pkgconfig(taglib) >= 1.11.1
%if 0%{?suse_version} > 1600
BuildRequires: cmake(KDSingleApplication-qt6)
%endif
Requires: qt6-sql-sqlite
%description
Strawberry is a music player and music collection organizer.
It is a fork of Clementine. The name is inspired by the band Strawbs.
Features:
- Play and organize music
- Supports WAV, FLAC, WavPack, DSF, DSDIFF, Ogg FLAC, Ogg Vorbis, Ogg Opus, Ogg Speex, MPC, TrueAudio,
AIFF, MP4, MP3, ASF and Monkey's Audio.
- Audio CD playback
- Native desktop notifications
- Playlists in multiple formats
- Advanced audio output and device options
- Edit tags on music files
- Fetch tags from MusicBrainz
- Album cover art from Last.fm, Musicbrainz, Discogs, Musixmatch, Deezer, Tidal, Qobuz and Spotify
- Song lyrics from Lyrics.com, Genius, Musixmatch, ChartLyrics, lyrics.ovh and lololyrics.com
- Support for multiple backends
- Audio analyzer
- Equalizer
- Transfer music to iPod, MTP or mass-storage USB player
- Scrobbler with support for Last.fm, Libre.fm and ListenBrainz
- Subsonic streaming support
%prep
%setup -q
%build
%if 0%{?sle_version} == 150500 || 0%{?sle_version} == 150600
export CC="gcc-13"
export CXX="g++-13"
%endif
export CFLAGS="%{optflags} -fno-strict-aliasing"
export CXXFLAGS="$CFLAGS"
%cmake -DBUILD_WERROR=OFF \
-DQT_MAJOR_VERSION=6
%cmake_build
%install
%cmake_install
%suse_update_desktop_file org.strawberrymusicplayer.strawberry Qt AudioVideo Audio Player
%check
desktop-file-validate %{buildroot}%{_datadir}/applications/org.strawberrymusicplayer.strawberry.desktop
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.strawberrymusicplayer.strawberry.appdata.xml
%files
%doc README.md Changelog
%license COPYING
%{_bindir}/strawberry*
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/apps/strawberry.*
%{_datadir}/metainfo/*.appdata.xml
%{_mandir}/man1/%{name}.1%{?ext_man}
%{_mandir}/man1/%{name}-tagreader.1%{?ext_man}
%changelog