5a815c5968
+ Compare artist and album case-insensitive when generating score for album covers. + Fixed broken return value of sendMessage() in SingleApplication causing application to be started twice. + Improved error handling in local redirectserver. + Added new tabs view with search and favorites to Tidal. + Fixed gst_pad_send_event lock in gstreamer pipeline. + Made Xine analyzer optional to fix compilation with newer Xine. + Implemented offset and queue to all Tidal requests. + Added new artist, album and song ids to songs schemas to add/remove favorites. + Improved lyrics searcher. + Fixed disabling fading option in backend settings when volume control is disabled. + Added x-scheme-handler/tidal to desktop file to handle tidal songs and allow OAuth redirect url. + Added love button for scrobblers. + Fixed gapless playback when using url handler. + Fixed enabling/disabling fading options in backend settings. + Added support for Subsonic streaming. + Added support for Qobuz streaming. + Added confirmation box for opening songs in file browser to avoid users accidentally opening too many songs. + Added OSD notification on playback resume option. + Fixed MusicBrainz tag fetcher to respect rate limiting when fetching tags. + Fixed hardcoded systemtray icon. + Added live scanning and option to rescan songs. + Added playlist background image stretch option to zoom image with cutting the height. + Replaced use of QDesktopWidget with QDesktop + Replaced all uses of QSignalMapper with lambda expressions + Fixed collection album covers stuck to old ones when new album covers are fetched + Fixed all Json services to check HttpStatusCodeAttribute in addition to checking network errors + Fixed track change hang + Fixed playlist sorting to ignore articles + Fixed MessageReply crash in tagreader OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/strawberry?expand=0&rev=43
152 lines
4.7 KiB
RPMSpec
152 lines
4.7 KiB
RPMSpec
#
|
|
# spec file for package strawberry
|
|
#
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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: 0.6.1
|
|
Release: 0
|
|
Summary: A audio player and music collection organizer
|
|
License: GPL-3.0-or-later
|
|
Group: Productivity/Multimedia/Sound/Players
|
|
URL: http://www.strawbs.org/
|
|
Source: http://files.jkvinge.net/packages/strawberry/%{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: appstream-glib
|
|
BuildRequires: cmake
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: gettext
|
|
BuildRequires: git
|
|
BuildRequires: hicolor-icon-theme
|
|
BuildRequires: libboost_headers-devel
|
|
BuildRequires: make
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: cmake(Qt5LinguistTools)
|
|
BuildRequires: pkgconfig(Qt5Concurrent)
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
BuildRequires: pkgconfig(Qt5DBus)
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
|
BuildRequires: pkgconfig(Qt5Network)
|
|
BuildRequires: pkgconfig(Qt5Sql)
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
|
BuildRequires: pkgconfig(alsa)
|
|
BuildRequires: pkgconfig(dbus-1)
|
|
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(libcdio)
|
|
BuildRequires: pkgconfig(libchromaprint)
|
|
BuildRequires: pkgconfig(libgpod-1.0)
|
|
BuildRequires: pkgconfig(libmtp)
|
|
BuildRequires: pkgconfig(libnotify)
|
|
BuildRequires: pkgconfig(libpulse)
|
|
BuildRequires: pkgconfig(libudf)
|
|
%if 0%{?suse_version} >= 1500
|
|
BuildRequires: pkgconfig(libvlc)
|
|
%endif
|
|
BuildRequires: pkgconfig(libxine)
|
|
BuildRequires: pkgconfig(protobuf)
|
|
BuildRequires: pkgconfig(sqlite3) >= 3.9
|
|
BuildRequires: pkgconfig(taglib) >= 1.11.1
|
|
%if 0%{?suse_version} < 1500
|
|
Requires(post): update-desktop-files
|
|
Requires(post): gtk3-tools
|
|
Requires(postun): update-desktop-files
|
|
Requires(postun): gtk3-tools
|
|
%endif
|
|
|
|
Requires: libQt5Sql5-sqlite
|
|
|
|
%description
|
|
Strawberry is a audio 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 Vorbis, Speex, MPC, TrueAudio, AIFF, MP4, MP3 and ASF
|
|
- 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, Deezer and Tidal
|
|
- Song lyrics from AudD
|
|
- Support for multiple backends
|
|
- Audio analyzer
|
|
- Equalizer
|
|
- Transfer music to iPod, iPhone, MTP or mass-storage USB player
|
|
- Streaming support for Tidal, Qobuz and Subsonic
|
|
- Scrobbler with support for Last.fm, Libre.fm and ListenBrainz
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
|
export CXXFLAGS="$CFLAGS"
|
|
%cmake -DBUILD_WERROR=OFF -DUSE_SYSTEM_TAGLIB=ON
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%cmake_install
|
|
|
|
%if 0%{?suse_version} < 1500
|
|
rm -f %{buildroot}%{_datadir}/metainfo/org.strawbs.strawberry.appdata.xml
|
|
%endif
|
|
|
|
%suse_update_desktop_file org.strawbs.strawberry Qt AudioVideo Audio Player
|
|
|
|
%if 0%{?suse_version} < 1500
|
|
%post
|
|
%desktop_database_post
|
|
%icon_theme_cache_post
|
|
|
|
%postun
|
|
%desktop_database_postun
|
|
%icon_theme_cache_postun
|
|
%endif
|
|
|
|
%check
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/org.strawbs.strawberry.desktop
|
|
%if 0%{?suse_version} >= 1500
|
|
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.strawbs.strawberry.appdata.xml
|
|
%endif
|
|
|
|
%files
|
|
%doc README.md Changelog
|
|
%license COPYING
|
|
%{_bindir}/strawberry*
|
|
%{_datadir}/applications/*.desktop
|
|
%{_datadir}/icons/hicolor/*/apps/strawberry.*
|
|
%if 0%{?suse_version} >= 1500
|
|
%{_datadir}/metainfo/*.appdata.xml
|
|
%endif
|
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
|
%{_mandir}/man1/%{name}-tagreader.1%{?ext_man}
|
|
|
|
%changelog
|