strawberry/strawberry.spec
Jonas Kvinge a4e300dd4c - Update to version 0.8.4:
* Bugfixes:
 + Fix preventing session logout when window is maxmimized.
 + Fix empty space in organize window when copying songs/playlists to devices.
 + Fix crash when opening about dialog in a wayland session.
 + Fix stretched fancy/side tabbar style issue with adwaita style (Fedora/Gnome).
 + Fix centering star icon on playlist tabbar.
 + Fix network proxy settings for streaming.
 + Fix copy URL to clipboard to handle non-ASCII characters.
 + Fix HiDPI scaling for glow animation and drag over playlist.
 + Fix smart playlist search by filename.
 + Fix single letter collection nodes showing before dividers.
 * Enhancements:
 + Add support for native global shortcuts on KDE.
 + Add track progress in system tray icon as an option.
 + Only strip problematic characters in suggested filename when saving a playlist to file.
 + Change star/unstar playlist to doubleclick instead of singleclick.
 + Don't edit playlist name on doubleclick in playlists view.
 + Make context view top label text selectable.
 + Add setting to change Qt style.
 + Clear ID3v3 tags that are empty, and clear ID3v1 tags when setting ID3v3 tags.
 + Remove remaining uses of QTextCodec.
 + Remove Core5Compat dependency.

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/strawberry?expand=0&rev=84
2020-11-14 23:38:51 +00:00

127 lines
4.3 KiB
RPMSpec

#
# spec file for package strawberry
#
# Copyright (c) 2020 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: 0.8.4
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
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(Qt5Test)
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)
BuildRequires: pkgconfig(libvlc)
BuildRequires: pkgconfig(protobuf)
BuildRequires: pkgconfig(sqlite3) >= 3.9
BuildRequires: pkgconfig(taglib) >= 1.11.1
Requires: libQt5Sql5-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 AudD, 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
export CFLAGS="%{optflags} -fno-strict-aliasing"
export CXXFLAGS="$CFLAGS"
%cmake -DBUILD_WERROR=OFF -DUSE_SYSTEM_TAGLIB=ON
make %{?_smp_mflags}
%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