2018-05-09 11:24:20 +02:00
|
|
|
#
|
|
|
|
# spec file for package strawberry
|
|
|
|
#
|
2022-01-08 15:29:56 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2018-05-09 11:24:20 +02: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-15 20:23:14 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-05-09 11:24:20 +02:00
|
|
|
#
|
|
|
|
|
2018-09-15 20:23:14 +02:00
|
|
|
|
2018-05-09 11:24:20 +02:00
|
|
|
Name: strawberry
|
2022-03-24 21:31:46 +01:00
|
|
|
Version: 1.0.3
|
2018-05-09 11:24:20 +02:00
|
|
|
Release: 0
|
2019-09-25 14:08:11 +02:00
|
|
|
Summary: A music player and music collection organizer
|
2018-09-15 20:23:14 +02:00
|
|
|
License: GPL-3.0-or-later
|
2018-05-09 11:24:20 +02:00
|
|
|
Group: Productivity/Multimedia/Sound/Players
|
2019-09-25 14:08:11 +02:00
|
|
|
URL: https://www.strawberrymusicplayer.org/
|
2020-08-15 00:54:08 +02:00
|
|
|
Source: https://files.strawberrymusicplayer.org/%{name}-%{version}.tar.xz
|
2018-05-09 11:24:20 +02:00
|
|
|
|
2018-11-02 20:20:45 +01:00
|
|
|
BuildRequires: appstream-glib
|
2018-05-09 11:24:20 +02:00
|
|
|
BuildRequires: cmake
|
2018-11-02 20:20:45 +01:00
|
|
|
BuildRequires: desktop-file-utils
|
2018-05-09 11:24:20 +02:00
|
|
|
BuildRequires: gcc-c++
|
2019-04-02 01:10:04 +02:00
|
|
|
BuildRequires: gettext
|
2018-09-15 20:23:14 +02:00
|
|
|
BuildRequires: git
|
2018-05-09 11:24:20 +02:00
|
|
|
BuildRequires: hicolor-icon-theme
|
2018-09-15 20:23:14 +02:00
|
|
|
BuildRequires: libboost_headers-devel
|
2018-05-09 11:24:20 +02:00
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: pkgconfig
|
2018-09-15 20:23:14 +02:00
|
|
|
BuildRequires: update-desktop-files
|
2020-12-23 09:17:49 +01:00
|
|
|
%if 0%{?suse_version} > 1530
|
|
|
|
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)
|
|
|
|
%else
|
|
|
|
BuildRequires: cmake(Qt5Concurrent)
|
|
|
|
BuildRequires: cmake(Qt5Core)
|
|
|
|
BuildRequires: cmake(Qt5DBus)
|
|
|
|
BuildRequires: cmake(Qt5Gui)
|
2019-04-02 01:10:04 +02:00
|
|
|
BuildRequires: cmake(Qt5LinguistTools)
|
2020-12-23 09:17:49 +01:00
|
|
|
BuildRequires: cmake(Qt5Network)
|
|
|
|
BuildRequires: cmake(Qt5Sql)
|
|
|
|
BuildRequires: cmake(Qt5Test)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
|
|
|
BuildRequires: cmake(Qt5X11Extras)
|
|
|
|
%endif
|
2018-09-15 20:23:14 +02:00
|
|
|
BuildRequires: pkgconfig(alsa)
|
|
|
|
BuildRequires: pkgconfig(dbus-1)
|
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
2019-05-05 20:09:43 +02:00
|
|
|
BuildRequires: pkgconfig(gnutls)
|
2018-05-09 11:24:20 +02:00
|
|
|
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)
|
2018-09-15 20:23:14 +02:00
|
|
|
BuildRequires: pkgconfig(gthread-2.0)
|
2018-05-21 22:48:05 +02:00
|
|
|
BuildRequires: pkgconfig(libcdio)
|
2018-09-15 20:23:14 +02:00
|
|
|
BuildRequires: pkgconfig(libchromaprint)
|
2018-05-09 11:24:20 +02:00
|
|
|
BuildRequires: pkgconfig(libgpod-1.0)
|
|
|
|
BuildRequires: pkgconfig(libmtp)
|
2018-07-03 20:55:41 +02:00
|
|
|
BuildRequires: pkgconfig(libnotify)
|
|
|
|
BuildRequires: pkgconfig(libpulse)
|
|
|
|
BuildRequires: pkgconfig(libudf)
|
2018-09-15 20:23:14 +02:00
|
|
|
BuildRequires: pkgconfig(libvlc)
|
|
|
|
BuildRequires: pkgconfig(protobuf)
|
2019-08-03 13:44:18 +02:00
|
|
|
BuildRequires: pkgconfig(sqlite3) >= 3.9
|
2018-11-29 00:15:02 +01:00
|
|
|
BuildRequires: pkgconfig(taglib) >= 1.11.1
|
2018-05-09 11:24:20 +02:00
|
|
|
|
2020-12-23 09:43:44 +01:00
|
|
|
%if 0%{?suse_version} > 1530
|
|
|
|
Requires: qt6-sql-sqlite
|
|
|
|
%else
|
2018-11-11 00:11:52 +01:00
|
|
|
Requires: libQt5Sql5-sqlite
|
2020-12-23 09:43:44 +01:00
|
|
|
%endif
|
2018-11-11 00:11:52 +01:00
|
|
|
|
2018-05-09 11:24:20 +02:00
|
|
|
%description
|
2019-09-25 14:08:11 +02:00
|
|
|
Strawberry is a music player and music collection organizer.
|
2018-05-09 11:24:20 +02:00
|
|
|
It is a fork of Clementine. The name is inspired by the band Strawbs.
|
|
|
|
|
|
|
|
Features:
|
|
|
|
- Play and organize music
|
2019-09-25 14:08:11 +02:00
|
|
|
- Supports WAV, FLAC, WavPack, DSF, DSDIFF, Ogg FLAC, Ogg Vorbis, Ogg Opus, Ogg Speex, MPC, TrueAudio,
|
|
|
|
AIFF, MP4, MP3, ASF and Monkey's Audio.
|
2018-09-15 20:23:14 +02:00
|
|
|
- Audio CD playback
|
2018-05-09 11:24:20 +02:00
|
|
|
- Native desktop notifications
|
|
|
|
- Playlists in multiple formats
|
2018-11-29 00:15:02 +01:00
|
|
|
- Advanced audio output and device options
|
2018-05-16 22:50:00 +02:00
|
|
|
- Edit tags on music files
|
2018-05-09 11:24:20 +02:00
|
|
|
- Fetch tags from MusicBrainz
|
2020-05-16 14:51:06 +02:00
|
|
|
- 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
|
2018-05-09 11:24:20 +02:00
|
|
|
- Support for multiple backends
|
2018-09-15 20:23:14 +02:00
|
|
|
- Audio analyzer
|
|
|
|
- Equalizer
|
2020-08-15 00:54:08 +02:00
|
|
|
- Transfer music to iPod, MTP or mass-storage USB player
|
2019-01-12 16:29:35 +01:00
|
|
|
- Scrobbler with support for Last.fm, Libre.fm and ListenBrainz
|
2020-04-09 03:29:53 +02:00
|
|
|
- Subsonic streaming support
|
2018-05-09 11:24:20 +02:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
|
|
|
export CXXFLAGS="$CFLAGS"
|
2021-03-13 16:15:07 +01:00
|
|
|
%cmake -DBUILD_WERROR=OFF \
|
2020-12-23 09:17:49 +01:00
|
|
|
%if 0%{?suse_version} > 1530
|
|
|
|
-DQT_MAJOR_VERSION=6
|
|
|
|
%else
|
|
|
|
-DQT_MAJOR_VERSION=5
|
|
|
|
%endif
|
|
|
|
%cmake_build
|
2018-05-09 11:24:20 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
%cmake_install
|
|
|
|
|
2019-09-25 14:08:11 +02:00
|
|
|
%suse_update_desktop_file org.strawberrymusicplayer.strawberry Qt AudioVideo Audio Player
|
2018-05-09 11:24:20 +02:00
|
|
|
|
2018-11-02 20:20:45 +01:00
|
|
|
%check
|
2019-09-25 14:08:11 +02:00
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/org.strawberrymusicplayer.strawberry.desktop
|
|
|
|
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.strawberrymusicplayer.strawberry.appdata.xml
|
2018-11-02 20:20:45 +01:00
|
|
|
|
2018-05-09 11:24:20 +02:00
|
|
|
%files
|
2018-07-06 19:34:53 +02:00
|
|
|
%doc README.md Changelog
|
|
|
|
%license COPYING
|
2018-05-09 11:24:20 +02:00
|
|
|
%{_bindir}/strawberry*
|
2019-04-02 01:10:04 +02:00
|
|
|
%{_datadir}/applications/*.desktop
|
2018-05-09 11:24:20 +02:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/strawberry.*
|
2019-04-02 01:10:04 +02:00
|
|
|
%{_datadir}/metainfo/*.appdata.xml
|
2018-05-09 11:24:20 +02:00
|
|
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/%{name}-tagreader.1%{?ext_man}
|
|
|
|
|
|
|
|
%changelog
|