- Add checks for SUSE Version

- Switch suggestion from spotifyd to librespot

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/spotify-qt?expand=0&rev=17
This commit is contained in:
Jens K. 2024-12-20 13:48:40 +00:00 committed by Git OBS Bridge
parent fc6c3ac34d
commit f903fd145c
2 changed files with 17 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Dec 20 13:48:28 UTC 2024 - Jens K. <karatekhd@opensuse.org>
- Add checks for SUSE Version
- Switch suggestion from spotifyd to librespot
-------------------------------------------------------------------
Sat Dec 14 22:54:05 UTC 2024 - Jens K. <karatekhd@opensuse.org>

View File

@ -27,12 +27,22 @@ Group: Productivity/Multimedia/Sound/Players
BuildRequires: gcc-c++
BuildRequires: libsecret
BuildRequires: make
%if 0%{?suse_version} == 1699 && 0%{?is_opensuse}
BuildRequires: kf6-kcrash-devel
BuildRequires: cmake(Qt6Core)
BuildRequires: cmake(Qt6DBus)
BuildRequires: cmake(Qt6Network)
BuildRequires: cmake(Qt6Svg)
%else
BuildRequires: cmake(Qt5Core)
BuildRequires: cmake(Qt5DBus)
BuildRequires: cmake(Qt5Network)
BuildRequires: cmake(Qt5Svg)
%endif
Suggests: libsecret
Suggests: spotifyd
%if 0%{?suse_version} == 1699 && 0%{?is_opensuse}
Suggests: librespot
%endif
%description
An unofficial Spotify client using Qt as a simpler, lighter alternative to the official client, inspired by spotify-tui. Much like spotify-tui, you need an actual Spotify client running, for example spotifyd, which can be configured from within the app. Also like other clients, controlling music playback requires Spotify Premium.