From b66a2716692cc3f3d619b3c87270172f43f00b58 Mon Sep 17 00:00:00 2001 From: Albert Schwarzkopf Date: Sat, 3 Dec 2022 21:20:03 +0100 Subject: [PATCH] spotify: Fix missing icon in KDE task manager Spotify onlys get a generic "X11" icon in the task manager. No window title is shown either. The template moves the "icons" folder provided by spotify to /usr/share/spotify. However, it appears that spotify searches for the icons in /usr/libexec/spotify. Create a symlink to /usr/share/spotify/icons so spotify finds the icons again. This makes the spotify icon appear in the KDE taskbar. It also sets the title of the spotify window. Fixes: #36615 --- srcpkgs/spotify/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/spotify/template b/srcpkgs/spotify/template index 50c28fc7672f..3d4098133113 100644 --- a/srcpkgs/spotify/template +++ b/srcpkgs/spotify/template @@ -1,7 +1,7 @@ # Template file for 'spotify' pkgname=spotify version=1.1.84 -revision=3 +revision=4 archs="x86_64" create_wrksrc=yes hostmakedepends="curl w3m libcurl" @@ -38,6 +38,7 @@ do_install() { # move icons to /usr/share mv "${DESTDIR}/usr/libexec/spotify/icons" "${DESTDIR}/usr/share/spotify/" + ln -s "/usr/share/spotify/icons" "${DESTDIR}/usr/libexec/spotify/icons" # install icons for _s in 16 22 24 32 48 64 128 256 512; do