2018-05-09 11:24:20 +02:00
|
|
|
#
|
|
|
|
# spec file for package strawberry
|
|
|
|
#
|
|
|
|
# Copyright (c) 2018 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.
|
|
|
|
|
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
|
2018-09-24 21:11:17 +02:00
|
|
|
Version: 0.3.3
|
2018-05-09 11:24:20 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: A audio 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
|
|
|
|
URL: http://www.strawbs.org/
|
|
|
|
Source: http://files.jkvinge.net/packages/strawberry/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: gcc-c++
|
2018-09-15 20:23:14 +02:00
|
|
|
BuildRequires: git
|
2018-05-09 11:24:20 +02:00
|
|
|
BuildRequires: hicolor-icon-theme
|
|
|
|
BuildRequires: libQt5Gui-private-headers-devel
|
2018-09-15 20:23:14 +02:00
|
|
|
BuildRequires: libboost_headers-devel
|
2018-05-09 11:24:20 +02:00
|
|
|
BuildRequires: liblastfm-qt5-devel
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: pkgconfig
|
2018-09-15 20:23:14 +02:00
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: pkgconfig(Qt5Concurrent)
|
2018-05-09 11:24:20 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Core)
|
2018-09-15 20:23:14 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5DBus)
|
2018-05-09 11:24:20 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
|
|
|
BuildRequires: pkgconfig(Qt5Network)
|
2018-09-15 20:23:14 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5OpenGL)
|
2018-05-09 11:24:20 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Sql)
|
2018-09-15 20:23:14 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
2018-05-09 11:24:20 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
2018-09-15 20:23:14 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Xml)
|
|
|
|
BuildRequires: pkgconfig(alsa)
|
|
|
|
BuildRequires: pkgconfig(dbus-1)
|
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
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(libxine)
|
|
|
|
BuildRequires: pkgconfig(protobuf)
|
2018-05-09 11:24:20 +02:00
|
|
|
BuildRequires: pkgconfig(sqlite3) >= 3.7
|
2018-05-16 23:45:00 +02:00
|
|
|
BuildRequires: pkgconfig(taglib) >= 1.11
|
2018-07-06 19:34:53 +02:00
|
|
|
%if 0%{?suse_version} < 1500
|
|
|
|
Requires(post): update-desktop-files
|
|
|
|
Requires(post): gtk3-tools
|
|
|
|
Requires(postun): update-desktop-files
|
|
|
|
Requires(postun): gtk3-tools
|
|
|
|
%endif
|
2018-05-09 11:24:20 +02:00
|
|
|
|
|
|
|
%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
|
2018-09-15 20:23:14 +02:00
|
|
|
- Supports WAV, FLAC, WavPack, DSF, DSDIFF, Ogg Vorbis, Speex, MPC, TrueAudio, AIFF, MP4, MP3 and ASF
|
|
|
|
- Audio CD playback
|
2018-05-09 11:24:20 +02:00
|
|
|
- Native desktop notifications
|
|
|
|
- Playlists in multiple formats
|
2018-09-15 20:23:14 +02:00
|
|
|
- Advanced output and device options with support for bit perfect playback on Linux
|
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
|
2018-09-15 20:23:14 +02:00
|
|
|
- Album cover art from Last.fm, Musicbrainz and Discogs
|
|
|
|
- Song lyrics from AudD and API Seeds
|
2018-05-09 11:24:20 +02:00
|
|
|
- Support for multiple backends
|
2018-09-15 20:23:14 +02:00
|
|
|
- Audio analyzer
|
|
|
|
- Equalizer
|
|
|
|
- Transfer music to iPod, iPhone, MTP or mass-storage USB player
|
|
|
|
- Integrated Tidal support
|
2018-05-09 11:24:20 +02:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
|
|
|
export CXXFLAGS="$CFLAGS"
|
|
|
|
%cmake -DBUILD_WERROR=OFF
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
%suse_update_desktop_file strawberry Qt AudioVideo Audio Player
|
|
|
|
|
|
|
|
%if 0%{?suse_version} < 1500
|
2018-07-06 19:59:11 +02:00
|
|
|
%post
|
2018-05-09 11:24:20 +02:00
|
|
|
%desktop_database_post
|
|
|
|
%icon_theme_cache_post
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%desktop_database_postun
|
|
|
|
%icon_theme_cache_postun
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%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*
|
|
|
|
%{_datadir}/applications/strawberry.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/strawberry.*
|
|
|
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/%{name}-tagreader.1%{?ext_man}
|
|
|
|
|
|
|
|
%changelog
|