Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:AndnoVember:LXQt:Qt6
qomp
qomp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qomp.spec of Package qomp
# # spec file for package qomp # # Copyright (c) 2024 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: qomp Version: @SERVICE@ Release: 0 Summary: Online Music Player License: GPL-2.0-only Group: Productivity/Multimedia/Sound/Players URL: https://github.com/qomp/qomp Source0: %{name}-%{version}.tar.xz Patch1: 001-class_QObject.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme BuildRequires: pkgconfig BuildRequires: qt6-core-private-devel BuildRequires: update-desktop-files BuildRequires: cmake(Qt6Concurrent) BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6Core5Compat) BuildRequires: cmake(Qt6DBus) BuildRequires: cmake(Qt6LinguistTools) BuildRequires: cmake(Qt6Multimedia) BuildRequires: cmake(Qt6Network) BuildRequires: cmake(Qt6Widgets) BuildRequires: cmake(Qt6Xml) BuildRequires: pkgconfig(libcue) BuildRequires: pkgconfig(taglib) BuildRequires: pkgconfig(x11) Requires: gstreamer-plugins-base Requires: gstreamer-plugins-good Requires: gstreamer-plugins-ugly Recommends: %{name}-lang %description Quick(Qt) Online Music Player - one player for different online music hostings. Features - search and play music from several online music hostings (Yandex.Music, cuteRadio) - play music from local filesystem - Last.fm scrobbling - MPRIS support(Linux only) - CUE SHEET support(*.cue files) - system tray integration - proxy-server support - playlists support - themes support - crossplatform (Windows, OS X, Linux, Android) %package plugins Summary: Plugins for qomp Group: Metapackages Requires: %{name}-plugin-cuteradio Requires: %{name}-plugin-filesystem #equires: %%{name}-plugin-lastfm Requires: %{name}-plugin-mpris #equires: %%{name}-plugin-myzukaru Requires: %{name}-plugin-notifications #equires: %%{name}-plugin-poiskm Requires: %{name}-plugin-tunetofile Requires: %{name}-plugin-url #equires: %%{name}-plugin-yandexmusic BuildArch: noarch %package plugin-cuteradio Summary: CuteRadio plugin for qomp Group: Productivity/Multimedia/Sound/Players Requires: %{name} %package plugin-filesystem Summary: File System plugin for qomp Group: Productivity/Multimedia/Sound/Players Requires: %{name} %package plugin-lastfm Summary: LastFm plugin for qomp Group: Productivity/Multimedia/Sound/Players Requires: %{name} %package plugin-mpris Summary: MPRIS plugin for qomp Group: Productivity/Multimedia/Sound/Players Requires: %{name} %package plugin-myzukaru Summary: Myzuka.ru plugin for qomp Group: Productivity/Multimedia/Sound/Players Requires: %{name} %package plugin-notifications Summary: Notifications plugin for qomp Group: Productivity/Multimedia/Sound/Players Requires: %{name} %package plugin-poiskm Summary: Poiskm plugin for qomp Group: Productivity/Multimedia/Sound/Players Requires: %{name} %package plugin-tunetofile Summary: Tune to File plugin for qomp Group: Productivity/Multimedia/Sound/Players Requires: %{name} %package plugin-url Summary: Url plugin for qomp Group: Productivity/Multimedia/Sound/Players Requires: %{name} %package plugin-yandexmusic Summary: Yandex.Music plugin for qomp Group: Productivity/Multimedia/Sound/Players Requires: %{name} %description plugins No comments %description plugin-cuteradio Listen to the music from cuteRadio. %description plugin-filesystem Open music from filesystem. %description plugin-lastfm LastFm scrobbling. %description plugin-mpris Interface to MPRIS. %description plugin-myzukaru Listen to the music from Myzuka.ru. %description plugin-notifications Shows baloon notifications about current track. %description plugin-poiskm Listen to the music from Poiskm.me. %description plugin-tunetofile Store current tune into file. Useful for publishing tune in status. %description plugin-url Open custom URL. %description plugin-yandexmusic Listening to the music from Yandex.Music. %lang_package %prep %autosetup -p1 %build %cmake_qt6 \ -DLIB_INSTALL_DIR=%{_libdir} \ -DBUILD_THEMES=ON \ -DUSE_QT6=ON %qt6_build %install %qt6_install mkdir -p %{buildroot}%{_sysconfdir}/xdg/%{name} cat > %{buildroot}%{_sysconfdir}/xdg/%{name}/%{name}.ini << EOF [General] main.theme=native_linux EOF %find_lang %{name} --with-qt %ldconfig_scriptlets %files %doc CHANGELOG.md README %dir %{_sysconfdir}/xdg/%{name} %config(noreplace) %{_sysconfdir}/xdg/%{name}/%{name}.ini %{_bindir}/%{name} %{_libdir}/lib%{name}.so.* %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.??g %{_datadir}/%{name} %exclude %{_datadir}/%{name}/translations %license LICENSE.txt %files plugins %files plugin-cuteradio %dir %{_libdir}/%{name} %dir %{_libdir}/%{name}/plugins %{_libdir}/%{name}/plugins/libcuteradioplugin.so %files plugin-filesystem %dir %{_libdir}/%{name} %dir %{_libdir}/%{name}/plugins %{_libdir}/%{name}/plugins/libfilesystemplugin.so %files plugin-lastfm %dir %{_libdir}/%{name} %dir %{_libdir}/%{name}/plugins %{_libdir}/%{name}/plugins/liblastfmplugin.so %files plugin-mpris %dir %{_libdir}/%{name} %dir %{_libdir}/%{name}/plugins %{_libdir}/%{name}/plugins/libmprisplugin.so %files plugin-myzukaru %dir %{_libdir}/%{name} %dir %{_libdir}/%{name}/plugins %{_libdir}/%{name}/plugins/libmyzukaruplugin.so %files plugin-notifications %dir %{_libdir}/%{name} %dir %{_libdir}/%{name}/plugins %{_libdir}/%{name}/plugins/libnotificationsplugin.so %files plugin-poiskm %dir %{_libdir}/%{name} %dir %{_libdir}/%{name}/plugins %{_libdir}/%{name}/plugins/libpoiskmplugin.so %files plugin-tunetofile %dir %{_libdir}/%{name} %dir %{_libdir}/%{name}/plugins %{_libdir}/%{name}/plugins/libtunetofileplugin.so %files plugin-url %dir %{_libdir}/%{name} %dir %{_libdir}/%{name}/plugins %{_libdir}/%{name}/plugins/liburlplugin.so %files plugin-yandexmusic %dir %{_libdir}/%{name} %dir %{_libdir}/%{name}/plugins %{_libdir}/%{name}/plugins/libyandexmusicplugin.so %files lang -f %{name}.lang %dir %{_datadir}/%{name} %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