strawberry/strawberry.spec

152 lines
4.7 KiB
RPMSpec
Raw Normal View History

#
# 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.5.5
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++
- Update to version 0.5.3 + Changed default tagging to albumartist in organise dialog + Removed support for older taglib in tagreader + Made lyrics selectable in context + Added boom and rainbow analyzers + Made it possible to use enter in shortcuts + Replaced "no album cover" image + Capitalized Strawberry in OSD and tooltip + Added artist search to Tidal + Created systray tooltip workaround for KDE + Changed defaults for backend fade setting + Changed backend settings to allow setting device back to automatic when a custom device is active + Hide ALSA options on non-ALSA systems + Showing errors in dialog when editing tags fails + Update database immediately when saving tags were successful + Show Strawberry icon in OSD when stopping track + Added support for translations + Renamed desktop and appdata files to follow freedesktop specifications + No longer allowing X11 shortcuts on Wayland + Fixed handling of UNC paths in gstreamer engine + Added option to disable volume control + Removed Deezer support (SDK discontinued and streams are encrypted) + Added Norwegian and Spanish translations + Added setting to allow automatically saving album covers directly to album directory + Updated mimetypes + Added basic support for system and custom icons + Moved loading of device icons to device model + Added better support for APE tags + Fixed problems identifying song as collection songs when loading playlist files + Fixed problems loading Tidal URLs from playlist files OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/strawberry?expand=0&rev=37
2019-04-01 23:10:04 +00:00
BuildRequires: gettext
BuildRequires: git
BuildRequires: hicolor-icon-theme
BuildRequires: libboost_headers-devel
BuildRequires: make
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
- Update to version 0.5.3 + Changed default tagging to albumartist in organise dialog + Removed support for older taglib in tagreader + Made lyrics selectable in context + Added boom and rainbow analyzers + Made it possible to use enter in shortcuts + Replaced "no album cover" image + Capitalized Strawberry in OSD and tooltip + Added artist search to Tidal + Created systray tooltip workaround for KDE + Changed defaults for backend fade setting + Changed backend settings to allow setting device back to automatic when a custom device is active + Hide ALSA options on non-ALSA systems + Showing errors in dialog when editing tags fails + Update database immediately when saving tags were successful + Show Strawberry icon in OSD when stopping track + Added support for translations + Renamed desktop and appdata files to follow freedesktop specifications + No longer allowing X11 shortcuts on Wayland + Fixed handling of UNC paths in gstreamer engine + Added option to disable volume control + Removed Deezer support (SDK discontinued and streams are encrypted) + Added Norwegian and Spanish translations + Added setting to allow automatically saving album covers directly to album directory + Updated mimetypes + Added basic support for system and custom icons + Moved loading of device icons to device model + Added better support for APE tags + Fixed problems identifying song as collection songs when loading playlist files + Fixed problems loading Tidal URLs from playlist files OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/strawberry?expand=0&rev=37
2019-04-01 23:10:04 +00:00
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)
- Update to version 0.5.4 + Changed description for offline mode scrobbling for less confusion + Fixed scrobbler to not send "playing now" when in offline mode + Added common RPM spec file for openSUSE, Fedora, RedHat, CentOS and Mageia + Improved cover manager score system + Added Deezer and Tidal cover providers + Added ChartLyrics lyrics provider + Added HTTPS workaround for Last.Fm OAuth to solve redirect https to http (localhost) problems + Added Moodbar + Fixed incorrect desktop file returned by mpris2 + Fixed mpris2 CanPlay + Fixed updating play and skip count properly + Fixed track seeking with mouse wheel + Fixed CDDA tracks being invalidated (greyed) in the playlist + Fixed problems using transcoder when other engines were selected + Improved song loader error handling + Fixed enabling equalizer having no affect + Disable notification art setting when tray icon notification is selected + Applying settings immediately when pressing Apply in settings dialog instead of just saving + Disable scroll over icon to change track setting on non-X11 systems and KDE + Removed nvidia workaround on exit which is no longer needed + Fixed chromaprinter unref buffer crash when using complete tags automatically + Fixed crash on exit using VLC engine when using static taglib caused by tagblib linking collision + Fixed context background to follow base colors instead of always white + Fixed fancy tabbar small sidebar mode width + Added some missing taglib configure checks + Saving geometry, tabbar, playlist column settings on exit only to reduce wear on SSD's and fix sluggish resizing with non-SSD + Fixed and improved snap including upgrading to core18 and adding proper alsa support + Fixed resume playback on startup not working for other than the first playlist OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/strawberry?expand=0&rev=40
2019-05-05 18:09:43 +00:00
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.7
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
- Update to version 0.5.4 + Changed description for offline mode scrobbling for less confusion + Fixed scrobbler to not send "playing now" when in offline mode + Added common RPM spec file for openSUSE, Fedora, RedHat, CentOS and Mageia + Improved cover manager score system + Added Deezer and Tidal cover providers + Added ChartLyrics lyrics provider + Added HTTPS workaround for Last.Fm OAuth to solve redirect https to http (localhost) problems + Added Moodbar + Fixed incorrect desktop file returned by mpris2 + Fixed mpris2 CanPlay + Fixed updating play and skip count properly + Fixed track seeking with mouse wheel + Fixed CDDA tracks being invalidated (greyed) in the playlist + Fixed problems using transcoder when other engines were selected + Improved song loader error handling + Fixed enabling equalizer having no affect + Disable notification art setting when tray icon notification is selected + Applying settings immediately when pressing Apply in settings dialog instead of just saving + Disable scroll over icon to change track setting on non-X11 systems and KDE + Removed nvidia workaround on exit which is no longer needed + Fixed chromaprinter unref buffer crash when using complete tags automatically + Fixed crash on exit using VLC engine when using static taglib caused by tagblib linking collision + Fixed context background to follow base colors instead of always white + Fixed fancy tabbar small sidebar mode width + Added some missing taglib configure checks + Saving geometry, tabbar, playlist column settings on exit only to reduce wear on SSD's and fix sluggish resizing with non-SSD + Fixed and improved snap including upgrading to core18 and adding proper alsa support + Fixed resume playback on startup not working for other than the first playlist OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/strawberry?expand=0&rev=40
2019-05-05 18:09:43 +00:00
- Album cover art from Last.fm, Musicbrainz, Discogs, Deezer and Tidal
- Song lyrics from AudD and ChartLyrics
- Support for multiple backends
- Audio analyzer
- Equalizer
- Transfer music to iPod, iPhone, MTP or mass-storage USB player
- Integrated Tidal support
- 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
- Update to version 0.5.3 + Changed default tagging to albumartist in organise dialog + Removed support for older taglib in tagreader + Made lyrics selectable in context + Added boom and rainbow analyzers + Made it possible to use enter in shortcuts + Replaced "no album cover" image + Capitalized Strawberry in OSD and tooltip + Added artist search to Tidal + Created systray tooltip workaround for KDE + Changed defaults for backend fade setting + Changed backend settings to allow setting device back to automatic when a custom device is active + Hide ALSA options on non-ALSA systems + Showing errors in dialog when editing tags fails + Update database immediately when saving tags were successful + Show Strawberry icon in OSD when stopping track + Added support for translations + Renamed desktop and appdata files to follow freedesktop specifications + No longer allowing X11 shortcuts on Wayland + Fixed handling of UNC paths in gstreamer engine + Added option to disable volume control + Removed Deezer support (SDK discontinued and streams are encrypted) + Added Norwegian and Spanish translations + Added setting to allow automatically saving album covers directly to album directory + Updated mimetypes + Added basic support for system and custom icons + Moved loading of device icons to device model + Added better support for APE tags + Fixed problems identifying song as collection songs when loading playlist files + Fixed problems loading Tidal URLs from playlist files OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/strawberry?expand=0&rev=37
2019-04-01 23:10:04 +00:00
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
- Update to version 0.5.3 + Changed default tagging to albumartist in organise dialog + Removed support for older taglib in tagreader + Made lyrics selectable in context + Added boom and rainbow analyzers + Made it possible to use enter in shortcuts + Replaced "no album cover" image + Capitalized Strawberry in OSD and tooltip + Added artist search to Tidal + Created systray tooltip workaround for KDE + Changed defaults for backend fade setting + Changed backend settings to allow setting device back to automatic when a custom device is active + Hide ALSA options on non-ALSA systems + Showing errors in dialog when editing tags fails + Update database immediately when saving tags were successful + Show Strawberry icon in OSD when stopping track + Added support for translations + Renamed desktop and appdata files to follow freedesktop specifications + No longer allowing X11 shortcuts on Wayland + Fixed handling of UNC paths in gstreamer engine + Added option to disable volume control + Removed Deezer support (SDK discontinued and streams are encrypted) + Added Norwegian and Spanish translations + Added setting to allow automatically saving album covers directly to album directory + Updated mimetypes + Added basic support for system and custom icons + Moved loading of device icons to device model + Added better support for APE tags + Fixed problems identifying song as collection songs when loading playlist files + Fixed problems loading Tidal URLs from playlist files OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/strawberry?expand=0&rev=37
2019-04-01 23:10:04 +00:00
desktop-file-validate %{buildroot}%{_datadir}/applications/org.strawbs.strawberry.desktop
%if 0%{?suse_version} >= 1500
- Update to version 0.5.3 + Changed default tagging to albumartist in organise dialog + Removed support for older taglib in tagreader + Made lyrics selectable in context + Added boom and rainbow analyzers + Made it possible to use enter in shortcuts + Replaced "no album cover" image + Capitalized Strawberry in OSD and tooltip + Added artist search to Tidal + Created systray tooltip workaround for KDE + Changed defaults for backend fade setting + Changed backend settings to allow setting device back to automatic when a custom device is active + Hide ALSA options on non-ALSA systems + Showing errors in dialog when editing tags fails + Update database immediately when saving tags were successful + Show Strawberry icon in OSD when stopping track + Added support for translations + Renamed desktop and appdata files to follow freedesktop specifications + No longer allowing X11 shortcuts on Wayland + Fixed handling of UNC paths in gstreamer engine + Added option to disable volume control + Removed Deezer support (SDK discontinued and streams are encrypted) + Added Norwegian and Spanish translations + Added setting to allow automatically saving album covers directly to album directory + Updated mimetypes + Added basic support for system and custom icons + Moved loading of device icons to device model + Added better support for APE tags + Fixed problems identifying song as collection songs when loading playlist files + Fixed problems loading Tidal URLs from playlist files OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/strawberry?expand=0&rev=37
2019-04-01 23:10:04 +00:00
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.strawbs.strawberry.appdata.xml
%endif
%files
%doc README.md Changelog
%license COPYING
%{_bindir}/strawberry*
- Update to version 0.5.3 + Changed default tagging to albumartist in organise dialog + Removed support for older taglib in tagreader + Made lyrics selectable in context + Added boom and rainbow analyzers + Made it possible to use enter in shortcuts + Replaced "no album cover" image + Capitalized Strawberry in OSD and tooltip + Added artist search to Tidal + Created systray tooltip workaround for KDE + Changed defaults for backend fade setting + Changed backend settings to allow setting device back to automatic when a custom device is active + Hide ALSA options on non-ALSA systems + Showing errors in dialog when editing tags fails + Update database immediately when saving tags were successful + Show Strawberry icon in OSD when stopping track + Added support for translations + Renamed desktop and appdata files to follow freedesktop specifications + No longer allowing X11 shortcuts on Wayland + Fixed handling of UNC paths in gstreamer engine + Added option to disable volume control + Removed Deezer support (SDK discontinued and streams are encrypted) + Added Norwegian and Spanish translations + Added setting to allow automatically saving album covers directly to album directory + Updated mimetypes + Added basic support for system and custom icons + Moved loading of device icons to device model + Added better support for APE tags + Fixed problems identifying song as collection songs when loading playlist files + Fixed problems loading Tidal URLs from playlist files OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/strawberry?expand=0&rev=37
2019-04-01 23:10:04 +00:00
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/apps/strawberry.*
%if 0%{?suse_version} >= 1500
- Update to version 0.5.3 + Changed default tagging to albumartist in organise dialog + Removed support for older taglib in tagreader + Made lyrics selectable in context + Added boom and rainbow analyzers + Made it possible to use enter in shortcuts + Replaced "no album cover" image + Capitalized Strawberry in OSD and tooltip + Added artist search to Tidal + Created systray tooltip workaround for KDE + Changed defaults for backend fade setting + Changed backend settings to allow setting device back to automatic when a custom device is active + Hide ALSA options on non-ALSA systems + Showing errors in dialog when editing tags fails + Update database immediately when saving tags were successful + Show Strawberry icon in OSD when stopping track + Added support for translations + Renamed desktop and appdata files to follow freedesktop specifications + No longer allowing X11 shortcuts on Wayland + Fixed handling of UNC paths in gstreamer engine + Added option to disable volume control + Removed Deezer support (SDK discontinued and streams are encrypted) + Added Norwegian and Spanish translations + Added setting to allow automatically saving album covers directly to album directory + Updated mimetypes + Added basic support for system and custom icons + Moved loading of device icons to device model + Added better support for APE tags + Fixed problems identifying song as collection songs when loading playlist files + Fixed problems loading Tidal URLs from playlist files OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/strawberry?expand=0&rev=37
2019-04-01 23:10:04 +00:00
%{_datadir}/metainfo/*.appdata.xml
%endif
%{_mandir}/man1/%{name}.1%{?ext_man}
%{_mandir}/man1/%{name}-tagreader.1%{?ext_man}
%changelog