Tuesday, December 26, 2023

Re: NEW: audio/spotify-qt

On Wed 27/12/2023 03:58, Klemens Nanni wrote:
> On Wed, Dec 27, 2023 at 01:41:04AM +0000, Klemens Nanni wrote:
> > Qt6, search, playlists, album covers, synced lyrics, play/pause/seek,
> > sharing links to artists/albums/songs, etc. is all working great for me.
> >
> > You can also see (librespot) logs and go into developer mode with more
> > options and the ability to test arbitrary API requests -- in the GUI.
> >
> > Having librespot configured (instead of the unported spotifyd), there are
> > plaintext credentials in the process list:
> > 57711 /usr/local/bin/librespot --bitrate 320 --username [redacted] --password [redacted] --name spotify-qt (librespot) --initial-volume 100 --cache /home/kn/.cache/kraxarn/spotify-qt/librespot --autoplay
>
> Using spotifyd avoid this.
>
> > Alternatives are setting up spotifyd (WIP) or perhaps using the enabled
> > GNOME/KDE/whatever keychain support (I don't have that under Xfce, apparently):
> > [02:25:54] [wrn] Failed to get password: The name org.freedesktop.secrets was not provided by any .service files
> > [02:26:16] [wrn] Failed to set password: The name org.freedesktop.secrets was not provided by any .service files
>
> spotifyd works great and spotify-qt's GUI configuration is straight
> forward enough to set this up without having to explain anything in the
> package, imho, so new port attached that now RUN_DEPENDS on audio/spotifyd
> instead of audio/librespot.
>
> Feedback? OK?
> ---
> Information for inst:spotify-qt-3.10
>
> Comment:
> lightweight Spotify client using Qt
>
> Description:
> An unofficial Spotify client using Qt as a simpler, lighter alternative to the
> official client.
>
> Maintainer: Klemens Nanni <kn@openbsd.org>
>
> WWW: https://github.com/kraxarn/spotify-qt

portcheck(1) complains with:

missing RUN_DEPENDS+=x11/gtk+4,-guic
missing RUN_DEPENDS+=devel/desktop-file-utils

Diff below fixes this.

Run tested with spotifyd on amd64. Works for me.

OK bket@


diff --git Makefile Makefile
index f299b03d500..c62dfb93293 100644
--- Makefile
+++ Makefile
@@ -18,7 +18,9 @@ LIB_DEPENDS = devel/glib2 \
x11/gnome/libsecret \
x11/qt6/qtsvg

-RUN_DEPENDS = audio/spotifyd
+RUN_DEPENDS = audio/spotifyd \
+ devel/desktop-file-utils \
+ x11/gtk+4,-guic

# devel/kf5/kcrash is qt5-only
CONFIGURE_ARGS = -DUSE_QT6=ON \

No comments:

Post a Comment