Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Ports
cantata
cantata.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cantata.spec of Package cantata
# # spec file for package cantata # # 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. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: cantata Version: 2.3.0 Release: 0 Summary: Client for the Music Player Daemon (MPD) License: GPL-3.0-only Group: Productivity/Multimedia/Sound/Players Url: https://github.com/CDrummond/cantata/ Source0: %{name}-%{version}.tar.gz # PATCH-FIX-OPENSUSE fix-translations-with-qt5.diff -- Make sure that it finds the right lrelease and lconvert binaries with Qt5 Patch1: fix-translations-with-qt5.diff Patch2: install-libsolidlite.diff # PATCH-FIX-UPSTREAM Patch3: fix-no-return-in-nonvoid-function.diff #Source0: https://github.com/CDrummond/cantata/archive/v%{version}.tar.gz BuildRequires: fdupes BuildRequires: media-player-info BuildRequires: cmake(Qt5LinguistTools) BuildRequires: pkgconfig(Qt5Concurrent) BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Multimedia) BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5Sql) BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Xml) BuildRequires: pkgconfig(libavcodec) BuildRequires: pkgconfig(libavformat) BuildRequires: pkgconfig(libavutil) BuildRequires: pkgconfig(libcddb) BuildRequires: pkgconfig(libcdio_paranoia) BuildRequires: pkgconfig(libmpg123) BuildRequires: pkgconfig(libmtp) BuildRequires: pkgconfig(libmusicbrainz5) BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(libvlc) BuildRequires: pkgconfig(taglib) BuildRequires: pkgconfig(taglib-extras) BuildRequires: pkgconfig(udisks2) BuildRequires: pkgconfig(zlib) Requires(post): hicolor-icon-theme Requires(post): update-desktop-files Requires(postun): hicolor-icon-theme Requires(postun): update-desktop-files Requires: media-player-info Recommends: mpd Recommends: %{name}-lang = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %lang_package %description Cantata is a graphical client for MPD, supporting the following features: * Multiple MPD collections. * Customisable layout. * Songs grouped by album in play queue. * Context view to show artist, album, and song information of current track. * Tag editor. * File organizer - use tags to organize files and folders. * Ability to calculate ReplyGain tags * Dynamic playlists. * Online services; Jamendo, Magnatune, SoundCloud, and Podcasts. * Radio stream support - with the ability to search for streams via TuneIn, ShoutCast, or Dirble. * USB-Mass-Storage and MTP device support * Audio CD ripping and playback * Playback of non-MPD songs - via simple in-built HTTP server if connected to MPD via a standard socket, otherwise filepath is sent to MPD. * MPRISv2 DBUS interface. * Basic support for touch-style interface (views are made 'flickable'). * Scrobbling. * Ratings support. Cantata started off as a fork of QtMPC, however, the code (and user interface) is now very different to that of QtMPC. For more detailed information, please refer to the main README. %prep %setup -q %patch1 -p0 %patch2 -p0 %patch3 -p1 %build # TODO: an dbus service is used to access remote device through sshfs or sambar # This needs an audit (https://en.opensuse.org/openSUSE:Package_security_guidelines#DBus_Services) %cmake -DENABLE_REMOTE_DEVICES=OFF %make_jobs %install %cmake_install %suse_update_desktop_file %{name} %find_lang %name --without-kde --with-qt --all-name --without-mo %fdupes %{buildroot} %post %desktop_database_post %icon_theme_cache_post %postun %desktop_database_postun %icon_theme_cache_postun %files %defattr(-,root,root) %{_bindir}/%{name} %{_libexecdir}/%{name}/ %{_libdir}/libsolidlite.so %{_datadir}/%{name} %exclude %{_datadir}/%{name}/translations/ %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/ %doc AUTHORS ChangeLog README README.md TODO %if 0%{?suse_version} < 1500 %doc LICENSE %else %license LICENSE %endif %files lang -f %{name}.lang %defattr(-,root,root) %dir %{_datadir}/%{name}/translations %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor