From f903fd145c265446e3ce59772221067d191c961083867207ef059708eee93486 Mon Sep 17 00:00:00 2001 From: "Jens K." Date: Fri, 20 Dec 2024 13:48:40 +0000 Subject: [PATCH] - 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 --- spotify-qt.changes | 6 ++++++ spotify-qt.spec | 12 +++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/spotify-qt.changes b/spotify-qt.changes index 3888533..3cb8b31 100644 --- a/spotify-qt.changes +++ b/spotify-qt.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Dec 20 13:48:28 UTC 2024 - Jens K. + +- Add checks for SUSE Version +- Switch suggestion from spotifyd to librespot + ------------------------------------------------------------------- Sat Dec 14 22:54:05 UTC 2024 - Jens K. diff --git a/spotify-qt.spec b/spotify-qt.spec index db39dbd..7838f07 100644 --- a/spotify-qt.spec +++ b/spotify-qt.spec @@ -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.